diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ApiManagementTestBase.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ApiManagementTestBase.cs index d12aa484a930..46e3621a62c6 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ApiManagementTestBase.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ApiManagementTestBase.cs @@ -27,7 +27,7 @@ public class ApiManagementTestBase : TestBase private const string LocationKey = "Location"; private const string TestCertificateKey = "TestCertificate"; private const string TestCertificatePasswordKey = "TestCertificatePassword"; - + public string location { get; set; } public string subscriptionId { get; set; } public ApiManagementClient client { get; set; } @@ -59,38 +59,48 @@ private void Initialize() if (HttpMockServer.Mode == HttpRecorderMode.Record) { - this.serviceName = testEnv.ConnectionString.KeyValuePairs[ServiceNameKey]; - if (string.IsNullOrEmpty(this.serviceName)) + if (!testEnv.ConnectionString.KeyValuePairs.TryGetValue(ServiceNameKey, out string apimServiceName)) { this.serviceName = TestUtilities.GenerateName("sdktestapim"); } + else + { + this.serviceName = apimServiceName; + } - this.location = testEnv.ConnectionString.KeyValuePairs[LocationKey]; - if (string.IsNullOrEmpty(this.location)) + if (!testEnv.ConnectionString.KeyValuePairs.TryGetValue(LocationKey, out string apimLocation)) { this.location = GetLocation(); } + else + { + this.location = apimLocation; + } - this.rgName = testEnv.ConnectionString.KeyValuePairs[ResourceGroupNameKey]; - if (string.IsNullOrEmpty(this.rgName)) + if (!testEnv.ConnectionString.KeyValuePairs.TryGetValue(ResourceGroupNameKey, out string resourceGroupName)) { rgName = TestUtilities.GenerateName("sdktestrg"); resourcesClient.ResourceGroups.CreateOrUpdate(rgName, new ResourceGroup { Location = this.location }); } - - this.base64EncodedTestCertificateData = testEnv.ConnectionString.KeyValuePairs[TestCertificateKey]; - if (!string.IsNullOrEmpty(this.base64EncodedTestCertificateData)) + else + { + this.rgName = resourceGroupName; + } + + if (testEnv.ConnectionString.KeyValuePairs.TryGetValue(TestCertificateKey, out string base64EncodedCertificate)) { + this.base64EncodedTestCertificateData = base64EncodedCertificate; HttpMockServer.Variables[TestCertificateKey] = base64EncodedTestCertificateData; } - this.testCertificatePassword = testEnv.ConnectionString.KeyValuePairs[TestCertificatePasswordKey]; - if(!string.IsNullOrEmpty(this.testCertificatePassword)) + + if (testEnv.ConnectionString.KeyValuePairs.TryGetValue(TestCertificatePasswordKey, out string testCertificatePassword)) { + this.testCertificatePassword = testCertificatePassword; HttpMockServer.Variables[TestCertificatePasswordKey] = testCertificatePassword; } - + this.subscriptionId = testEnv.SubscriptionId; - HttpMockServer.Variables[SubIdKey] = subscriptionId; + HttpMockServer.Variables[SubIdKey] = subscriptionId; HttpMockServer.Variables[ServiceNameKey] = this.serviceName; HttpMockServer.Variables[LocationKey] = this.location; HttpMockServer.Variables[ResourceGroupNameKey] = this.rgName; @@ -102,17 +112,17 @@ private void Initialize() rgName = HttpMockServer.Variables[ResourceGroupNameKey]; serviceName = HttpMockServer.Variables[ServiceNameKey]; location = HttpMockServer.Variables[LocationKey]; - HttpMockServer.Variables.TryGetValue(TestCertificateKey, out var testcertificate); - if(!string.IsNullOrEmpty(testcertificate)) + HttpMockServer.Variables.TryGetValue(TestCertificateKey, out var testcertificate); + if (!string.IsNullOrEmpty(testcertificate)) { this.base64EncodedTestCertificateData = testcertificate; } HttpMockServer.Variables.TryGetValue(TestCertificatePasswordKey, out var testCertificatePwd); - if(!string.IsNullOrEmpty(testCertificatePwd)) + if (!string.IsNullOrEmpty(testCertificatePwd)) { this.testCertificatePassword = testCertificatePwd; } - } + } tags = new Dictionary { { "tag1", "value1" }, { "tag2", "value2" }, { "tag3", "value3" } }; @@ -154,5 +164,91 @@ public string GetLocation(string regionIn = "US") } ).First().Locations.Where(l => l.Contains(regionIn)).FirstOrDefault(); } + + public static byte[] RandomBytes(int length) + { + if (HttpMockServer.Mode == HttpRecorderMode.Record) + { + var bytes = new byte[length]; + Random rnd = new Random(); + rnd.NextBytes(bytes); + HttpMockServer.Variables["RandomBytes"] = Convert.ToBase64String(bytes); + return bytes; + } + else + { + return Convert.FromBase64String(HttpMockServer.Variables["RandomBytes"]); + } + } + + public OperationContract CreateOperationContract(string httpMethod) + { + return new OperationContract + { + DisplayName = "operation_" + TestUtilities.GenerateName(), + Description = "description_" + TestUtilities.GenerateName(), + UrlTemplate = "template_" + TestUtilities.GenerateName(), + Method = httpMethod, + Request = new RequestContract + { + Description = "description_" + TestUtilities.GenerateName(), + Headers = new[] + { + new ParameterContract + { + Name = "param_" + TestUtilities.GenerateName(), + Description = "description_" + TestUtilities.GenerateName(), + Type = "int", + DefaultValue = "b", + Required = true, + Values = new[] { "a", "b", "c" } + }, + new ParameterContract + { + Name = "param_" + TestUtilities.GenerateName(), + Description = "description_" + TestUtilities.GenerateName(), + Type = "bool", + DefaultValue = "e", + Required = false, + Values = new[] { "d", "e", "f" } + } + }, + Representations = new[] + { + new RepresentationContract + { + ContentType = "text/plain", + Sample = "sample_" + TestUtilities.GenerateName(), + }, + new RepresentationContract + { + ContentType = "application/xml", + Sample = "sample_" + TestUtilities.GenerateName(), + } + } + }, + Responses = new[] + { + new ResponseContract + { + StatusCode = 200, + Description = "description_" + TestUtilities.GenerateName(), + Representations = new[] + { + new RepresentationContract + { + ContentType = "application/json", + Sample = "sample_" + TestUtilities.GenerateName() + }, + new RepresentationContract + { + ContentType = "application/xml", + Sample = "sample_" + TestUtilities.GenerateName() + } + } + } + } + }; + } } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/Helpers/Extensions.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/Helpers/Extensions.cs index d74cbb91713c..6e858e606b69 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/Helpers/Extensions.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/Helpers/Extensions.cs @@ -37,5 +37,13 @@ public static Stream ToStream(this XDocument doc) stream.Position = 0; return stream; } + + public static IEnumerable ToIEnumerable(this IEnumerator enumerator) + { + while (enumerator.MoveNext()) + { + yield return enumerator.Current; + } + } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiExportImportTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiExportImportTests.cs new file mode 100644 index 000000000000..2de990065acd --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiExportImportTests.cs @@ -0,0 +1,222 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using System; +using System.IO; +using System.Threading.Tasks; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Xunit; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class ApiExportImportTests : TestBase + { + [Fact] + public async Task SwaggerTest() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + const string swaggerPath = "./Resources/SwaggerPetStoreV2.json"; + const string path = "swaggerApi"; + string swaggerApi = TestUtilities.GenerateName("aid"); + + try + { + // import API + string swaggerApiContent; + using (StreamReader reader = File.OpenText(swaggerPath)) + { + swaggerApiContent = reader.ReadToEnd(); + } + + var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() + { + Path = path, + ContentFormat = ContentFormat.SwaggerJson, + ContentValue = swaggerApiContent + }; + + var swaggerApiResponse = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + swaggerApi, + apiCreateOrUpdate); + + Assert.NotNull(swaggerApiResponse); + + // get the api to check it was created + var getResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, swaggerApi); + + Assert.NotNull(getResponse); + Assert.Equal(swaggerApi, getResponse.Name); + Assert.Equal(path, getResponse.Path); + Assert.Equal("Swagger Petstore Extensive", getResponse.DisplayName); + Assert.Equal("http://petstore.swagger.wordnik.com/api", getResponse.ServiceUrl); + + ApiExportResult swaggerExport = testBase.client.ApiExport.Get(testBase.rgName, testBase.serviceName, swaggerApi, ExportFormat.Swagger); + + Assert.NotNull(swaggerExport); + Assert.NotNull(swaggerExport.Link); + } + finally + { + // remove the API + testBase.client.Api.Delete(testBase.rgName, testBase.serviceName, swaggerApi, "*"); + } + + } + } + + [Fact] + public async Task WadlTest() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + const string wadlPath = "./Resources/WADLYahoo.xml"; + const string path = "yahooWadl"; + string wadlApi = TestUtilities.GenerateName("aid"); + + try + { + // import API + string wadlApiContent; + using (StreamReader reader = File.OpenText(wadlPath)) + { + wadlApiContent = reader.ReadToEnd(); + } + + var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() + { + Path = path, + ContentFormat = ContentFormat.WadlXml, + ContentValue = wadlApiContent + }; + + var wadlApiResponse = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + wadlApi, + apiCreateOrUpdate); + + Assert.NotNull(wadlApiResponse); + + // get the api to check it was created + var getResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, wadlApi); + + Assert.NotNull(getResponse); + Assert.Equal(wadlApi, getResponse.Name); + Assert.Equal(path, getResponse.Path); + Assert.Equal("Yahoo News Search", getResponse.DisplayName); + Assert.Equal("http://api.search.yahoo.com/NewsSearchService/V1/", getResponse.ServiceUrl); + Assert.True(getResponse.IsCurrent); + Assert.True(getResponse.Protocols.Contains(Protocol.Https)); + Assert.Equal("1", getResponse.ApiRevision); + + ApiExportResult wadlExport = testBase.client.ApiExport.Get(testBase.rgName, testBase.serviceName, wadlApi, ExportFormat.Wadl); + + Assert.NotNull(wadlExport); + Assert.NotNull(wadlExport.Link); + } + finally + { + // remove the API + testBase.client.Api.Delete(testBase.rgName, testBase.serviceName, wadlApi, "*"); + } + } + } + + [Fact] + public async Task WsdlTest() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + const string wsdlPath = "./Resources/Weather.wsdl"; + const string path = "weatherapi"; + string wsdlApi = TestUtilities.GenerateName("aid"); + + try + { + // import API + string wsdlApiContent; + using (StreamReader reader = File.OpenText(wsdlPath)) + { + wsdlApiContent = reader.ReadToEnd(); + } + + // Exporting WSDL is only supported for Soap PassThrough APIs (Apis of Type:soap) + // Creating one. + var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() + { + Path = path, + ContentFormat = ContentFormat.Wsdl, + ContentValue = wsdlApiContent, + SoapApiType = SoapApiType.Soap, // create Soap Pass through API + WsdlSelector = new ApiCreateOrUpdatePropertiesWsdlSelector() + { + WsdlServiceName = "Weather", + WsdlEndpointName = "WeatherSoap" + } + }; + + var wsdlApiResponse = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + wsdlApi, + apiCreateOrUpdate); + + Assert.NotNull(wsdlApiResponse); + Assert.Equal(SoapApiType.Soap, wsdlApiResponse.ApiType); + + // get the api to check it was created + var apiContract = testBase.client.Api.Get( + testBase.rgName, + testBase.serviceName, + wsdlApi); + + Assert.NotNull(apiContract); + Assert.Equal(wsdlApi, apiContract.Name); + Assert.Equal(path, apiContract.Path); + Assert.Equal("Weather", apiContract.DisplayName); + Assert.Equal("http://wsf.cdyne.com/WeatherWS/Weather.asmx", apiContract.ServiceUrl); + Assert.True(apiContract.IsCurrent); + Assert.True(apiContract.Protocols.Contains(Protocol.Https)); + Assert.Equal("1", apiContract.ApiRevision); + + ApiExportResult wsdlExport = testBase.client.ApiExport.Get( + testBase.rgName, + testBase.serviceName, + wsdlApi, + ExportFormat.Wsdl); + + Assert.NotNull(wsdlExport); + Assert.NotNull(wsdlExport.Link); + } + finally + { + // remove the API + testBase.client.Api.Delete( + testBase.rgName, + testBase.serviceName, + wsdlApi, + "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiOperationTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiOperationTests.cs index 681427d37282..70f4dbcea7d6 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiOperationTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiOperationTests.cs @@ -3,14 +3,14 @@ // license information. // using ApiManagement.Management.Tests; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Linq; +using System.Net; +using System.Threading.Tasks; using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; -using System.Linq; -using System.Threading.Tasks; -using System; -using System.Net; namespace ApiManagement.Tests.ManagementApiTests { @@ -31,6 +31,7 @@ public async Task CreateListUpdateDelete() testBase.rgName, testBase.serviceName); + Assert.Single(apis); var api = apis.Single(); // list operations @@ -171,7 +172,7 @@ public async Task CreateListUpdateDelete() } }; - var createResponse = testBase.client.ApiOperation.CreateOrUpdate( + OperationContract createResponse = testBase.client.ApiOperation.CreateOrUpdate( testBase.rgName, testBase.serviceName, api.Name, @@ -181,7 +182,7 @@ public async Task CreateListUpdateDelete() Assert.NotNull(createResponse); // get the operation to check it was created - var apiOperationResponse = await testBase.client.ApiOperation.GetWithHttpMessagesAsync( + OperationContract apiOperationResponse = await testBase.client.ApiOperation.GetAsync( testBase.rgName, testBase.serviceName, api.Name, @@ -189,49 +190,59 @@ public async Task CreateListUpdateDelete() Assert.NotNull(getResponse); - Assert.Equal(api.Name, apiOperationResponse.Body.ApiIdentifier); - Assert.Equal(newOperationId, apiOperationResponse.Body.Name); - Assert.Equal(newOperationName, apiOperationResponse.Body.DisplayName); - Assert.Equal(newOperationMethod, apiOperationResponse.Body.Method); - Assert.Equal(newperationUrlTemplate, apiOperationResponse.Body.UrlTemplate); - Assert.Equal(newOperationDescription, apiOperationResponse.Body.Description); - - Assert.NotNull(apiOperationResponse.Body.Request); - Assert.Equal(newOperationRequestDescription, apiOperationResponse.Body.Request.Description); - - Assert.NotNull(apiOperationResponse.Body.Request.Headers); - Assert.Equal(1, apiOperationResponse.Body.Request.Headers.Count); - Assert.Equal(newOperationRequestHeaderParamName, apiOperationResponse.Body.Request.Headers[0].Name); - Assert.Equal(newOperationRequestHeaderParamDescr, apiOperationResponse.Body.Request.Headers[0].Description); - Assert.Equal(newOperationRequestHeaderParamIsRequired, apiOperationResponse.Body.Request.Headers[0].Required); - Assert.Equal(newOperationRequestHeaderParamDefaultValue, apiOperationResponse.Body.Request.Headers[0].DefaultValue); - Assert.Equal(newOperationRequestHeaderParamType, apiOperationResponse.Body.Request.Headers[0].Type); - Assert.NotNull(apiOperationResponse.Body.Request.Headers[0].Values); - Assert.Equal(4, apiOperationResponse.Body.Request.Headers[0].Values.Count); - Assert.True(newOperation.Request.Headers[0].Values.All(value => apiOperationResponse.Body.Request.Headers[0].Values.Contains(value))); - - Assert.NotNull(apiOperationResponse.Body.Request.QueryParameters); - Assert.Equal(1, apiOperationResponse.Body.Request.QueryParameters.Count); - Assert.Equal(newOperationRequestParmName, apiOperationResponse.Body.Request.QueryParameters[0].Name); - Assert.Equal(newOperationRequestParamDescr, apiOperationResponse.Body.Request.QueryParameters[0].Description); - Assert.Equal(newOperationRequestParamIsRequired, apiOperationResponse.Body.Request.QueryParameters[0].Required); - Assert.Equal(newOperationRequestParamDefaultValue, apiOperationResponse.Body.Request.QueryParameters[0].DefaultValue); - Assert.Equal(newOperationRequestParamType, apiOperationResponse.Body.Request.QueryParameters[0].Type); - Assert.True(newOperation.Request.QueryParameters[0].Values.All(value => apiOperationResponse.Body.Request.QueryParameters[0].Values.Contains(value))); - - Assert.NotNull(apiOperationResponse.Body.Request.Representations); - Assert.Equal(1, apiOperationResponse.Body.Request.Representations.Count); - Assert.Equal(newOperationRequestRepresentationContentType, apiOperationResponse.Body.Request.Representations[0].ContentType); - Assert.Equal(newOperationRequestRepresentationSample, apiOperationResponse.Body.Request.Representations[0].Sample); - - Assert.NotNull(apiOperationResponse.Body.Responses); - Assert.Equal(1, apiOperationResponse.Body.Responses.Count); - Assert.Equal(newOperationResponseDescription, apiOperationResponse.Body.Responses[0].Description); - Assert.Equal(newOperationResponseStatusCode, apiOperationResponse.Body.Responses[0].StatusCode); - Assert.NotNull(apiOperationResponse.Body.Responses[0].Representations); - Assert.Equal(1, apiOperationResponse.Body.Responses[0].Representations.Count); - Assert.Equal(newOperationResponseRepresentationContentType, apiOperationResponse.Body.Responses[0].Representations[0].ContentType); - Assert.Equal(newOperationResponseRepresentationSample, apiOperationResponse.Body.Responses[0].Representations[0].Sample); + Assert.Equal(api.Name, apiOperationResponse.ApiIdentifier); + Assert.Equal(newOperationId, apiOperationResponse.Name); + Assert.Equal(newOperationName, apiOperationResponse.DisplayName); + Assert.Equal(newOperationMethod, apiOperationResponse.Method); + Assert.Equal(newperationUrlTemplate, apiOperationResponse.UrlTemplate); + Assert.Equal(newOperationDescription, apiOperationResponse.Description); + + Assert.NotNull(apiOperationResponse.Request); + Assert.Equal(newOperationRequestDescription, apiOperationResponse.Request.Description); + + Assert.NotNull(apiOperationResponse.Request.Headers); + Assert.Equal(1, apiOperationResponse.Request.Headers.Count); + Assert.Equal(newOperationRequestHeaderParamName, apiOperationResponse.Request.Headers[0].Name); + Assert.Equal(newOperationRequestHeaderParamDescr, apiOperationResponse.Request.Headers[0].Description); + Assert.Equal(newOperationRequestHeaderParamIsRequired, apiOperationResponse.Request.Headers[0].Required); + Assert.Equal(newOperationRequestHeaderParamDefaultValue, apiOperationResponse.Request.Headers[0].DefaultValue); + Assert.Equal(newOperationRequestHeaderParamType, apiOperationResponse.Request.Headers[0].Type); + Assert.NotNull(apiOperationResponse.Request.Headers[0].Values); + Assert.Equal(4, apiOperationResponse.Request.Headers[0].Values.Count); + Assert.True(newOperation.Request.Headers[0].Values.All(value => apiOperationResponse.Request.Headers[0].Values.Contains(value))); + + Assert.NotNull(apiOperationResponse.Request.QueryParameters); + Assert.Equal(1, apiOperationResponse.Request.QueryParameters.Count); + Assert.Equal(newOperationRequestParmName, apiOperationResponse.Request.QueryParameters[0].Name); + Assert.Equal(newOperationRequestParamDescr, apiOperationResponse.Request.QueryParameters[0].Description); + Assert.Equal(newOperationRequestParamIsRequired, apiOperationResponse.Request.QueryParameters[0].Required); + Assert.Equal(newOperationRequestParamDefaultValue, apiOperationResponse.Request.QueryParameters[0].DefaultValue); + Assert.Equal(newOperationRequestParamType, apiOperationResponse.Request.QueryParameters[0].Type); + Assert.True(newOperation.Request.QueryParameters[0].Values.All(value => apiOperationResponse.Request.QueryParameters[0].Values.Contains(value))); + + Assert.NotNull(apiOperationResponse.Request.Representations); + Assert.Equal(1, apiOperationResponse.Request.Representations.Count); + Assert.Equal(newOperationRequestRepresentationContentType, apiOperationResponse.Request.Representations[0].ContentType); + Assert.Equal(newOperationRequestRepresentationSample, apiOperationResponse.Request.Representations[0].Sample); + + Assert.NotNull(apiOperationResponse.Responses); + Assert.Equal(1, apiOperationResponse.Responses.Count); + Assert.Equal(newOperationResponseDescription, apiOperationResponse.Responses[0].Description); + Assert.Equal(newOperationResponseStatusCode, apiOperationResponse.Responses[0].StatusCode); + Assert.NotNull(apiOperationResponse.Responses[0].Representations); + Assert.Equal(1, apiOperationResponse.Responses[0].Representations.Count); + Assert.Equal(newOperationResponseRepresentationContentType, apiOperationResponse.Responses[0].Representations[0].ContentType); + Assert.Equal(newOperationResponseRepresentationSample, apiOperationResponse.Responses[0].Representations[0].Sample); + + // get the Api Operation Etag + ApiOperationGetEntityTagHeaders operationTag = await testBase.client.ApiOperation.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + newOperationId); + + Assert.NotNull(operationTag); + Assert.NotNull(operationTag.ETag); // patch the operation string patchedName = TestUtilities.GenerateName("patchedName"); @@ -249,7 +260,7 @@ public async Task CreateListUpdateDelete() Description = patchedDescription, Method = patchedMethod }, - apiOperationResponse.Headers.ETag); + operationTag.ETag); // get the operation to check it was patched @@ -305,13 +316,22 @@ public async Task CreateListUpdateDelete() Assert.Equal(newOperationResponseRepresentationContentType, getResponse.Responses[0].Representations[0].ContentType); Assert.Equal(newOperationResponseRepresentationSample, getResponse.Responses[0].Representations[0].Sample); + // get the tag again + operationTag = await testBase.client.ApiOperation.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + newOperationId); + Assert.NotNull(operationTag); + Assert.NotNull(operationTag.ETag); + // delete the operation testBase.client.ApiOperation.Delete( testBase.rgName, testBase.serviceName, api.Name, newOperationId, - "*"); + operationTag.ETag); // get the deleted operation to make sure it was deleted try diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiProductTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiProductTests.cs index 52c70a568627..64c2ed8f822a 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiProductTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiProductTests.cs @@ -3,13 +3,13 @@ // license information. // using ApiManagement.Management.Tests; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Linq; +using System.Threading.Tasks; using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using Xunit; -using System.Linq; -using System.Threading.Tasks; -using System; namespace ApiManagement.Tests.ManagementApiTests { @@ -54,20 +54,27 @@ public async Task CreateListUpdateDelete() new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.Equal("Starter", listResponse.First().DisplayName); Assert.NotEmpty(listResponse.NextPageLink); - var listByApiResponse = await testBase.client.ApiProduct.ListByApisWithHttpMessagesAsync( + // check the next link returned from above query works + var pagedApiProducts = await testBase.client.ApiProduct.ListByApisNextAsync(listResponse.NextPageLink); + Assert.NotNull(pagedApiProducts); + Assert.Single(pagedApiProducts); + Assert.Equal("Unlimited", pagedApiProducts.First().DisplayName); + + // try list with Skip Odata parameter + var listByApiResponse = await testBase.client.ApiProduct.ListByApisAsync( testBase.rgName, testBase.serviceName, api.Name, new Microsoft.Rest.Azure.OData.ODataQuery { Skip = 1 }); Assert.NotNull(listByApiResponse); - Assert.Equal(1, listByApiResponse.Body.Count()); - Assert.Equal("Unlimited", listByApiResponse.Body.First().DisplayName); - Assert.NotNull(listByApiResponse.Body.NextPageLink); + Assert.Single(listByApiResponse); + Assert.Equal("Unlimited", listByApiResponse.First().DisplayName); + Assert.Empty(listByApiResponse.NextPageLink); } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiRevisionTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiRevisionTests.cs new file mode 100644 index 000000000000..c5020fba84cc --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiRevisionTests.cs @@ -0,0 +1,271 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using System; +using System.IO; +using System.Linq; +using System.Net; +using System.Threading.Tasks; +using ApiManagementManagement.Tests.Helpers; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Rest.Azure; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Xunit; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class ApiRevisionTests : TestBase + { + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // add new api + const string swaggerPath = "./Resources/SwaggerPetStoreV2.json"; + const string path = "swaggerApi"; + + string newApiId = TestUtilities.GenerateName("apiid"); + string newReleaseId = TestUtilities.GenerateName("apireleaseid"); + + try + { + // import API + string swaggerApiContent; + using (StreamReader reader = File.OpenText(swaggerPath)) + { + swaggerApiContent = reader.ReadToEnd(); + } + + var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() + { + Path = path, + ContentFormat = ContentFormat.SwaggerJson, + ContentValue = swaggerApiContent + }; + + var swaggerApiResponse = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + newApiId, + apiCreateOrUpdate); + + Assert.NotNull(swaggerApiResponse); + + // get new api to check it was added + var petstoreApiContract = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, newApiId); + + Assert.NotNull(petstoreApiContract); + Assert.Equal(path, petstoreApiContract.Path); + Assert.Equal("Swagger Petstore Extensive", petstoreApiContract.DisplayName); + Assert.Equal("http://petstore.swagger.wordnik.com/api", petstoreApiContract.ServiceUrl); + + // test the number of operations it has + var petstoreApiOperations = testBase.client.ApiOperation.ListByApi( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.NotNull(petstoreApiOperations); + Assert.NotEmpty(petstoreApiOperations); + + // get the API Entity Tag + ApiGetEntityTagHeaders apiTag = testBase.client.Api.GetEntityTag( + testBase.rgName, + testBase.serviceName, + newApiId); + + Assert.NotNull(apiTag); + Assert.NotNull(apiTag.ETag); + + // add an api revision + string revisionNumber = "2"; + + // create a revision of Petstore + var petstoreRevisionContract = new ApiCreateOrUpdateParameter() + { + Path = petstoreApiContract.Path + revisionNumber, + DisplayName = petstoreApiContract.DisplayName + revisionNumber, + ServiceUrl = petstoreApiContract.ServiceUrl + revisionNumber, + Protocols = petstoreApiContract.Protocols, + SubscriptionKeyParameterNames = petstoreApiContract.SubscriptionKeyParameterNames, + AuthenticationSettings = petstoreApiContract.AuthenticationSettings, + Description = petstoreApiContract.Description + }; + + var petStoreSecondRevision = await testBase.client.Api.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId.ApiRevisionIdentifier(revisionNumber), + petstoreRevisionContract); + Assert.NotNull(petStoreSecondRevision); + Assert.Equal(petstoreRevisionContract.Path, petStoreSecondRevision.Path); + Assert.Equal(petstoreRevisionContract.ServiceUrl, petStoreSecondRevision.ServiceUrl); + Assert.Equal(revisionNumber, petStoreSecondRevision.ApiRevision); + + // add couple of operation to this revision + var newOperationId = TestUtilities.GenerateName("firstOpRev"); + var firstOperationContract = testBase.CreateOperationContract("POST"); + var firstOperation = await testBase.client.ApiOperation.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId.ApiRevisionIdentifier(revisionNumber), + newOperationId, + firstOperationContract); + Assert.NotNull(firstOperation); + Assert.Equal("POST", firstOperation.Method); + + var secondOperationId = TestUtilities.GenerateName("secondOpName"); + var secondOperationContract = testBase.CreateOperationContract("GET"); + var secondOperation = await testBase.client.ApiOperation.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId.ApiRevisionIdentifier(revisionNumber), + secondOperationId, + secondOperationContract); + Assert.NotNull(secondOperation); + Assert.Equal("GET", secondOperation.Method); + + // now test out list operation on the revision api + var firstOperationOfSecondRevision = await testBase.client.ApiOperation.ListByApiAsync( + testBase.rgName, + testBase.serviceName, + newApiId.ApiRevisionIdentifier(revisionNumber), + new Microsoft.Rest.Azure.OData.ODataQuery + { + Top = 1 + }); + Assert.NotNull(firstOperationOfSecondRevision); + Assert.Single(firstOperationOfSecondRevision); + Assert.NotEmpty(firstOperationOfSecondRevision.NextPageLink); + + // now test whether the next page link works + var secondOperationOfSecondRevision = await testBase.client.ApiOperation.ListByApiNextAsync( + firstOperationOfSecondRevision.NextPageLink); + Assert.NotNull(secondOperationOfSecondRevision); + Assert.Single(secondOperationOfSecondRevision); + Assert.Empty(secondOperationOfSecondRevision.NextPageLink); + + // list apiRevision + IPage apiRevisions = await testBase.client.ApiRevisions.ListAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.NotNull(apiRevisions); + Assert.Equal(2, apiRevisions.GetEnumerator().ToIEnumerable().Count()); + Assert.Single(apiRevisions.GetEnumerator().ToIEnumerable().Where(a => a.IsCurrent.HasValue && a.IsCurrent.Value)); // there is only one revision which is current + + // get the etag of the revision + var apiSecondRevisionTag = await testBase.client.Api.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newApiId.ApiRevisionIdentifier(revisionNumber)); + + var apiOnlineRevisionTag = await testBase.client.Api.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + + Assert.NotNull(apiSecondRevisionTag); + Assert.NotNull(apiOnlineRevisionTag); + Assert.NotEqual(apiOnlineRevisionTag.ETag, apiSecondRevisionTag.ETag); + + //there should be no release intially + var apiReleases = await testBase.client.ApiRelease.ListAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.Empty(apiReleases); + + // lets create a release now + var apiReleaseContract = new ApiReleaseContract() + { + ApiId = newApiId.ApiRevisionIdentifierFullPath(revisionNumber), + Notes = TestUtilities.GenerateName("revision_description") + }; + var newapiBackendRelease = await testBase.client.ApiRelease.CreateAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newReleaseId, + apiReleaseContract); + Assert.NotNull(newapiBackendRelease); + Assert.Equal(newReleaseId, newapiBackendRelease.Name); + Assert.Equal(apiReleaseContract.Notes, newapiBackendRelease.Notes); + + // get the release eta + var releaseTag = await testBase.client.ApiRelease.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newReleaseId); + Assert.NotNull(releaseTag); + + // update the release details + apiReleaseContract.Notes = TestUtilities.GenerateName("update_desc"); + await testBase.client.ApiRelease.UpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newReleaseId, + apiReleaseContract, + releaseTag.ETag); + + // get the release detaild + newapiBackendRelease = await testBase.client.ApiRelease.GetAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newReleaseId); + Assert.NotNull(newapiBackendRelease); + Assert.Equal(newapiBackendRelease.Notes, apiReleaseContract.Notes); + + // list the revision + apiReleases = await testBase.client.ApiRelease.ListAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.NotNull(apiReleases); + Assert.Single(apiReleases); + + // find the revision which is not online + + // delete the api + await testBase.client.Api.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + "*", + deleteRevisions: true); + + // get the deleted api to make sure it was deleted + try + { + testBase.client.Api.Get(testBase.rgName, testBase.serviceName, newApiId); + throw new Exception("This code should not have been executed."); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + } + finally + { + // delete authorization server + testBase.client.Api.Delete( + testBase.rgName, + testBase.serviceName, + newApiId, + "*", + deleteRevisions: true); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs new file mode 100644 index 000000000000..da2e20e7d47e --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs @@ -0,0 +1,210 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System.Collections.Generic; +using System; +using System.Net; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class ApiSchemaTests : TestBase + { + public static string JsonSchemaString1 = @"{ + ""pet"": { + ""required"": [""id"", + ""name""], + ""externalDocs"": { + ""description"": ""findmoreinfohere"", + ""url"": ""https: //helloreverb.com/about"" + }, + ""properties"": { + ""id"": { + ""type"": ""integer"", + ""format"": ""int64"" + }, + ""name"": { + ""type"": ""string"" + }, + ""tag"": { + ""type"": ""string"" + } + } + }, + ""newPet"": { + ""allOf"": [{ + ""$ref"": ""pet"" + }, + { + ""required"": [""name""], + ""id"": { + ""properties"": { + ""type"": ""integer"", + ""format"": ""int64"" + } + } + }] + }, + ""errorModel"": { + ""required"": [""code"", + ""message""], + ""properties"": { + ""code"": { + ""type"": ""integer"", + ""format"": ""int32"" + }, + ""message"": { + ""type"": ""string"" + } + } + } + }"; + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // add new api + string newApiId = TestUtilities.GenerateName("apiid"); + string newSchemaId = TestUtilities.GenerateName("schemaid"); + + try + { + string newApiName = TestUtilities.GenerateName("apiname"); + string newApiDescription = TestUtilities.GenerateName("apidescription"); + string newApiPath = "newapiPath"; + string newApiServiceUrl = "http://newechoapi.cloudapp.net/api"; + string subscriptionKeyParametersHeader = TestUtilities.GenerateName("header"); + string subscriptionKeyQueryStringParamName = TestUtilities.GenerateName("query"); + + var createdApiContract = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + newApiId, + new ApiCreateOrUpdateParameter + { + DisplayName = newApiName, + Description = newApiDescription, + Path = newApiPath, + ServiceUrl = newApiServiceUrl, + Protocols = new List { Protocol.Https, Protocol.Http }, + SubscriptionKeyParameterNames = new SubscriptionKeyParameterNamesContract + { + Header = subscriptionKeyParametersHeader, + Query = subscriptionKeyQueryStringParamName + } + }); + + // get new api to check it was added + var apiGetResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, newApiId); + + Assert.NotNull(apiGetResponse); + Assert.Equal(newApiId, apiGetResponse.Name); + Assert.Equal(newApiName, apiGetResponse.DisplayName); + Assert.Equal(newApiDescription, apiGetResponse.Description); + Assert.Equal(newApiPath, apiGetResponse.Path); + Assert.Equal(newApiServiceUrl, apiGetResponse.ServiceUrl); + Assert.Equal(subscriptionKeyParametersHeader, apiGetResponse.SubscriptionKeyParameterNames.Header); + Assert.Equal(subscriptionKeyQueryStringParamName, apiGetResponse.SubscriptionKeyParameterNames.Query); + Assert.Equal(2, apiGetResponse.Protocols.Count); + Assert.True(apiGetResponse.Protocols.Contains(Protocol.Http)); + Assert.True(apiGetResponse.Protocols.Contains(Protocol.Https)); + + var schemaContractParams = new SchemaContract() + { + ContentType = "application/vnd.ms-azure-apim.swagger.definitions+json", + Value = JsonSchemaString1 + }; + + var schemaContract = await testBase.client.ApiSchema.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newSchemaId, + schemaContractParams); + Assert.NotNull(schemaContract); + Assert.Equal(schemaContractParams.ContentType, schemaContract.ContentType); + + // list the schemas attached to the api + var schemasList = await testBase.client.ApiSchema.ListByApiAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.NotNull(schemasList); + Assert.Single(schemasList); + Assert.Equal(schemaContractParams.ContentType, schemasList.First().ContentType); + + // get the schema tag + var schemaTag = await testBase.client.ApiSchema.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newSchemaId); + Assert.NotNull(schemaTag); + Assert.NotNull(schemaTag.ETag); + + // delete the schema + await testBase.client.ApiSchema.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newSchemaId, + schemaTag.ETag); + Assert.NotNull(schemaContract); + Assert.Equal(schemaContractParams.ContentType, schemaContract.ContentType); + + // check the entity is deleted + Assert.Throws(() + => testBase.client.ApiSchema.Get(testBase.rgName, testBase.serviceName, newApiId, newSchemaId)); + + // delete the api + testBase.client.Api.Delete( + testBase.rgName, + testBase.serviceName, + newApiId, + "*"); + + // get the deleted api to make sure it was deleted + try + { + testBase.client.Api.Get(testBase.rgName, testBase.serviceName, newApiId); + throw new Exception("This code should not have been executed."); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + } + finally + { + // delete the apischema + await testBase.client.ApiSchema.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newSchemaId, + "*"); + + + // delete the api + testBase.client.Api.Delete( + testBase.rgName, + testBase.serviceName, + newApiId, + "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiTests.cs index 375b58edef5f..f5dc38de7bc5 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiTests.cs @@ -12,7 +12,6 @@ using System.Collections.Generic; using System; using System.Net; -using System.IO; namespace ApiManagement.Tests.ManagementApiTests { @@ -33,7 +32,7 @@ public async Task CreateListUpdateDelete() testBase.serviceName, null); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); var echoApi = listResponse.First(); @@ -78,9 +77,9 @@ public async Task CreateListUpdateDelete() AuthorizationEndpoint = "https://contoso.com/auth", TokenEndpoint = "https://contoso.com/token", ClientRegistrationEndpoint = "https://contoso.com/clients/reg", - GrantTypes = new List { GrantType.AuthorizationCode, GrantType.Implicit }, + GrantTypes = new List { GrantType.AuthorizationCode, GrantType.Implicit }, AuthorizationMethods = new List { AuthorizationMethod.POST, AuthorizationMethod.GET }, - BearerTokenSendingMethods = new List { BearerTokenSendingMethod.AuthorizationHeader, BearerTokenSendingMethod.Query }, + BearerTokenSendingMethods = new List { BearerTokenSendingMethod.AuthorizationHeader, BearerTokenSendingMethod.Query }, ClientId = TestUtilities.GenerateName("clientid") }; @@ -143,6 +142,15 @@ public async Task CreateListUpdateDelete() Assert.NotNull(apiGetResponse.AuthenticationSettings.OAuth2); Assert.Equal(newApiAuthorizationServerId, apiGetResponse.AuthenticationSettings.OAuth2.AuthorizationServerId); + // get the API Entity Tag + ApiGetEntityTagHeaders apiTag = testBase.client.Api.GetEntityTag( + testBase.rgName, + testBase.serviceName, + newApiId); + + Assert.NotNull(apiTag); + Assert.NotNull(apiTag.ETag); + // patch added api string patchedName = TestUtilities.GenerateName("patchedname"); string patchedDescription = TestUtilities.GenerateName("patchedDescription"); @@ -162,7 +170,7 @@ public async Task CreateListUpdateDelete() OAuth2 = null } }, - "*"); + apiTag.ETag); // get patched api to check it was patched apiGetResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, newApiId); @@ -186,13 +194,13 @@ public async Task CreateListUpdateDelete() new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); listResponse = testBase.client.Api.ListByServiceNext(listResponse.NextPageLink); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.Empty(listResponse.NextPageLink); // delete the api @@ -230,117 +238,5 @@ public async Task CreateListUpdateDelete() } } } - - [Fact] - public async Task ImportFromSwaggerDocument() - { - Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); - using (MockContext context = MockContext.Start(this.GetType().FullName)) - { - var testBase = new ApiManagementTestBase(context); - testBase.TryCreateApiManagementService(); - - const string swaggerPath = "./Resources/SwaggerPetStoreV2.json"; - const string path = "swaggerApi"; - string swaggerApi = TestUtilities.GenerateName("aid"); - - try - { - // import API - string swaggerApiContent; - using (StreamReader reader = File.OpenText(swaggerPath)) - { - swaggerApiContent = reader.ReadToEnd(); - } - - var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() - { - Path = path, - ContentFormat = ContentFormat.SwaggerJson, - ContentValue = swaggerApiContent - }; - - var swaggerApiResponse = testBase.client.Api.CreateOrUpdate( - testBase.rgName, - testBase.serviceName, - swaggerApi, - apiCreateOrUpdate); - - Assert.NotNull(swaggerApiResponse); - - // get the api to check it was created - var getResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, swaggerApi); - - Assert.NotNull(getResponse); - Assert.Equal(swaggerApi, getResponse.Name); - Assert.Equal(path, getResponse.Path); - Assert.Equal("Swagger Petstore Extensive", getResponse.DisplayName); - Assert.Equal("http://petstore.swagger.wordnik.com/api", getResponse.ServiceUrl); - } - finally - { - // remove the API - testBase.client.Api.Delete(testBase.rgName, testBase.serviceName, swaggerApi, "*"); - } - - } - } - - [Fact] - public async Task ImportFromWadlDocument() - { - Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); - using (MockContext context = MockContext.Start(this.GetType().FullName)) - { - var testBase = new ApiManagementTestBase(context); - testBase.TryCreateApiManagementService(); - - const string wadlPath = "./Resources/WADLYahoo.xml"; - const string path = "yahooWadl"; - string wadlApi = TestUtilities.GenerateName("aid"); - - try - { - // import API - string wadlApiContent; - using (StreamReader reader = File.OpenText(wadlPath)) - { - wadlApiContent = reader.ReadToEnd(); - } - - var apiCreateOrUpdate = new ApiCreateOrUpdateParameter() - { - Path = path, - ContentFormat = ContentFormat.WadlXml, - ContentValue = wadlApiContent - }; - - var wadlApiResponse = testBase.client.Api.CreateOrUpdate( - testBase.rgName, - testBase.serviceName, - wadlApi, - apiCreateOrUpdate); - - Assert.NotNull(wadlApiResponse); - - // get the api to check it was created - var getResponse = testBase.client.Api.Get(testBase.rgName, testBase.serviceName, wadlApi); - - Assert.NotNull(getResponse); - Assert.Equal(wadlApi, getResponse.Name); - Assert.Equal(path, getResponse.Path); - Assert.Equal("Yahoo News Search", getResponse.DisplayName); - Assert.Equal("http://api.search.yahoo.com/NewsSearchService/V1/", getResponse.ServiceUrl); - Assert.True(getResponse.IsCurrent); - Assert.True(getResponse.Protocols.Contains(Protocol.Https)); - Assert.Equal("1", getResponse.ApiRevision); - } - finally - { - // remove the API - testBase.client.Api.Delete(testBase.rgName, testBase.serviceName, wadlApi, "*"); - } - } - } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiVersionSetTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiVersionSetTests.cs new file mode 100644 index 000000000000..455bc4ff6618 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiVersionSetTests.cs @@ -0,0 +1,127 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Threading.Tasks; +using System; +using System.Net; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class ApiVersionSetTests : TestBase + { + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // there is no api-version-set initially + var versionSetlistResponse = await testBase.client.ApiVersionSet.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(versionSetlistResponse); + Assert.Empty(versionSetlistResponse); + Assert.NotNull(versionSetlistResponse.NextPageLink); + + string newversionsetid = TestUtilities.GenerateName("apiversionsetid"); + const string paramName = "x-ms-sdk-version"; + + try + { + var createVersionSetContract = new ApiVersionSetContract() + { + DisplayName = TestUtilities.GenerateName("versionset"), + Description = TestUtilities.GenerateName("versionsetdescript"), + VersioningScheme = VersioningScheme.Header, + VersionHeaderName = paramName + }; + var versionSetContract = await testBase.client.ApiVersionSet.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid, + createVersionSetContract); + Assert.NotNull(versionSetContract); + Assert.Equal(createVersionSetContract.DisplayName, versionSetContract.DisplayName); + Assert.Equal(createVersionSetContract.Description, versionSetContract.Description); + Assert.Equal(createVersionSetContract.VersioningScheme, VersioningScheme.Header); + Assert.Equal(createVersionSetContract.VersionHeaderName, versionSetContract.VersionHeaderName); + Assert.Null(versionSetContract.VersionQueryName); + + // get the etag + var versionSetTag = await testBase.client.ApiVersionSet.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid); + Assert.NotNull(versionSetTag); + Assert.NotNull(versionSetTag.ETag); + + // update the version set contract to change versioning scheme + var versionSetUpdateParams = new ApiVersionSetUpdateParameters() + { + VersioningScheme = VersioningScheme.Query, + VersionQueryName = paramName, + VersionHeaderName = null + }; + await testBase.client.ApiVersionSet.UpdateAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid, + versionSetUpdateParams, + versionSetTag.ETag); + + // do a get on the contract + versionSetContract = await testBase.client.ApiVersionSet.GetAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid); + Assert.NotNull(versionSetContract); + Assert.Equal(VersioningScheme.Query, versionSetContract.VersioningScheme); + Assert.Equal(paramName, versionSetContract.VersionQueryName); + + // get the etag again + versionSetTag = await testBase.client.ApiVersionSet.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid); + Assert.NotNull(versionSetTag); + Assert.NotNull(versionSetTag.ETag); + + // now delete it + await testBase.client.ApiVersionSet.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid, + versionSetTag.ETag); + + // get the deleted apiversionset to make sure it was deleted + try + { + testBase.client.ApiVersionSet.Get(testBase.rgName, testBase.serviceName, newversionsetid); + throw new Exception("This code should not have been executed."); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + } + finally + { + await testBase.client.ApiVersionSet.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newversionsetid, + "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/AuthorizationServerTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/AuthorizationServerTests.cs index 9ad8620bdf0d..f79e4401f885 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/AuthorizationServerTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/AuthorizationServerTests.cs @@ -33,7 +33,7 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listResponse); - Assert.Equal(0, listResponse.Count()); + Assert.Empty(listResponse); // create server string authsid = TestUtilities.GenerateName("authsid"); @@ -46,12 +46,12 @@ public async Task CreateListUpdateDelete() AuthorizationEndpoint = "https://contoso.com/auth", TokenEndpoint = "https://contoso.com/token", ClientRegistrationEndpoint = "https://contoso.com/clients/reg", - GrantTypes = new List { GrantType.AuthorizationCode, GrantType.Implicit, GrantType.ResourceOwnerPassword }, + GrantTypes = new List { GrantType.AuthorizationCode, GrantType.Implicit, GrantType.ResourceOwnerPassword }, AuthorizationMethods = new List { AuthorizationMethod.POST, AuthorizationMethod.GET }, - BearerTokenSendingMethods = new List { BearerTokenSendingMethod.AuthorizationHeader, BearerTokenSendingMethod.Query }, + BearerTokenSendingMethods = new List { BearerTokenSendingMethod.AuthorizationHeader, BearerTokenSendingMethod.Query }, ClientId = TestUtilities.GenerateName("clientid"), Description = TestUtilities.GenerateName("authdescription"), - ClientAuthenticationMethod = new List { ClientAuthenticationMethod.Basic }, + ClientAuthenticationMethod = new List { ClientAuthenticationMethod.Basic }, ClientSecret = TestUtilities.GenerateName("authclientsecret"), ResourceOwnerPassword = TestUtilities.GenerateName("authresourceownerpwd"), ResourceOwnerUsername = TestUtilities.GenerateName("authresourceownerusername"), @@ -112,12 +112,12 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); // update var updateParameters = new AuthorizationServerUpdateContract { - GrantTypes = new List { GrantType.AuthorizationCode, GrantType.ResourceOwnerPassword } + GrantTypes = new List { GrantType.AuthorizationCode, GrantType.ResourceOwnerPassword } }; testBase.client.AuthorizationServer.Update( diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/BackendTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/BackendTests.cs index e4dedd9c33b2..88a9f6f5dd63 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/BackendTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/BackendTests.cs @@ -59,21 +59,19 @@ public async Task CreateListUpdateDelete() Assert.NotNull(backendResponse); // get to check it was created - var getResponse = await testBase.client.Backend.GetWithHttpMessagesAsync(testBase.rgName, testBase.serviceName, backendId); - - Assert.NotNull(getResponse); - Assert.NotNull(getResponse.Body); - Assert.NotNull(getResponse.Headers); - Assert.Equal(backendId, getResponse.Body.Name); - Assert.NotNull(getResponse.Body.Description); - Assert.NotNull(getResponse.Body.Credentials.Authorization); - Assert.NotNull(getResponse.Body.Credentials.Query); - Assert.NotNull(getResponse.Body.Credentials.Header); - Assert.Equal(BackendProtocol.Http, getResponse.Body.Protocol); - Assert.Equal(1, getResponse.Body.Credentials.Query.Keys.Count); - Assert.Equal(1, getResponse.Body.Credentials.Header.Keys.Count); - Assert.NotNull(getResponse.Body.Credentials.Authorization); - Assert.Equal("basic", getResponse.Body.Credentials.Authorization.Scheme); + BackendContract backendContract = await testBase.client.Backend.GetAsync(testBase.rgName, testBase.serviceName, backendId); + + Assert.NotNull(backendContract); + Assert.Equal(backendId, backendContract.Name); + Assert.NotNull(backendContract.Description); + Assert.NotNull(backendContract.Credentials.Authorization); + Assert.NotNull(backendContract.Credentials.Query); + Assert.NotNull(backendContract.Credentials.Header); + Assert.Equal(BackendProtocol.Http, backendContract.Protocol); + Assert.Equal(1, backendContract.Credentials.Query.Keys.Count); + Assert.Equal(1, backendContract.Credentials.Header.Keys.Count); + Assert.NotNull(backendContract.Credentials.Authorization); + Assert.Equal("basic", backendContract.Credentials.Authorization.Scheme); var listBackends = testBase.client.Backend.ListByService(testBase.rgName, testBase.serviceName, null); @@ -82,6 +80,14 @@ public async Task CreateListUpdateDelete() // there should be one user Assert.True(listBackends.Count() >= 1); + // get the backend etag + var backendTag = await testBase.client.Backend.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + backendId); + Assert.NotNull(backendTag); + Assert.NotNull(backendTag.ETag); + // patch backend string patchedDescription = TestUtilities.GenerateName("patchedDescription"); testBase.client.Backend.Update( @@ -92,21 +98,30 @@ public async Task CreateListUpdateDelete() { Description = patchedDescription }, - getResponse.Headers.ETag); + backendTag.ETag); // get to check it was patched - var backendGetResponse = await testBase.client.Backend.GetWithHttpMessagesAsync(testBase.rgName, testBase.serviceName, backendId); + backendContract = await testBase.client.Backend.GetAsync( + testBase.rgName, + testBase.serviceName, + backendId); - Assert.NotNull(backendGetResponse); - Assert.Equal(backendId, backendGetResponse.Body.Name); - Assert.Equal(patchedDescription, backendGetResponse.Body.Description); + Assert.NotNull(backendContract); + Assert.Equal(backendId, backendContract.Name); + Assert.Equal(patchedDescription, backendContract.Description); + + // get the etag + backendTag = await testBase.client.Backend.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + backendId); // delete the backend testBase.client.Backend.Delete( testBase.rgName, testBase.serviceName, backendId, - backendGetResponse.Headers.ETag); + backendTag.ETag); // get the deleted backend to make sure it was deleted try @@ -156,8 +171,7 @@ public async Task ServiceFabricCreateUpdateDelete() Assert.NotNull(createResponse); Assert.Equal(certificateId, createResponse.Name); - - + string backendName = TestUtilities.GenerateName("backendName"); string urlParameter = new UriBuilder("https", backendName, 443).Uri.ToString(); @@ -172,35 +186,40 @@ public async Task ServiceFabricCreateUpdateDelete() backendCreateParameters.Properties.ServiceFabricCluster.ServerX509Names = new List(); backendCreateParameters.Properties.ServiceFabricCluster.ServerX509Names.Add(new X509CertificateName("serverCommonName1", "issuerThumbprint1")); - var backendResponse = testBase.client.Backend.CreateOrUpdate( + var backendContract = testBase.client.Backend.CreateOrUpdate( testBase.rgName, testBase.serviceName, backendId, backendCreateParameters); - Assert.NotNull(backendResponse); - - // get to check it was created - var getResponse = await testBase.client.Backend.GetWithHttpMessagesAsync(testBase.rgName, testBase.serviceName, backendId); - - Assert.NotNull(getResponse); - Assert.NotNull(getResponse.Body); - Assert.NotNull(getResponse.Headers); - Assert.Equal(backendId, getResponse.Body.Name); - Assert.NotNull(getResponse.Body.Description); - Assert.NotNull(getResponse.Body.Properties.ServiceFabricCluster); - Assert.Equal(BackendProtocol.Http, getResponse.Body.Protocol); - Assert.Equal(1, getResponse.Body.Properties.ServiceFabricCluster.ServerX509Names.Count); - Assert.Equal(1, getResponse.Body.Properties.ServiceFabricCluster.ManagementEndpoints.Count); - Assert.Equal(5, getResponse.Body.Properties.ServiceFabricCluster.MaxPartitionResolutionRetries); + Assert.NotNull(backendContract); + Assert.Equal(backendId, backendContract.Name); + Assert.NotNull(backendContract.Description); + Assert.NotNull(backendContract.Properties.ServiceFabricCluster); + Assert.Equal(BackendProtocol.Http, backendContract.Protocol); + Assert.Equal(1, backendContract.Properties.ServiceFabricCluster.ServerX509Names.Count); + Assert.Equal(1, backendContract.Properties.ServiceFabricCluster.ManagementEndpoints.Count); + Assert.Equal(5, backendContract.Properties.ServiceFabricCluster.MaxPartitionResolutionRetries); var listBackends = testBase.client.Backend.ListByService(testBase.rgName, testBase.serviceName, null); Assert.NotNull(listBackends); - // there should be one user + // there should be atleast one backend Assert.True(listBackends.Count() >= 1); + // reconnect backend + var backendReconnectParams = new BackendReconnectContract() + { + After = TimeSpan.FromMinutes(5d) + }; + + await testBase.client.Backend.ReconnectAsync( + testBase.rgName, + testBase.serviceName, + backendId, + backendReconnectParams); + // patch backend string patchedDescription = TestUtilities.GenerateName("patchedDescription"); testBase.client.Backend.Update( @@ -211,21 +230,32 @@ public async Task ServiceFabricCreateUpdateDelete() { Description = patchedDescription }, - getResponse.Headers.ETag); + "*"); // get to check it was patched - var backendGetResponse = await testBase.client.Backend.GetWithHttpMessagesAsync(testBase.rgName, testBase.serviceName, backendId); - - Assert.NotNull(backendGetResponse); - Assert.Equal(backendId, backendGetResponse.Body.Name); - Assert.Equal(patchedDescription, backendGetResponse.Body.Description); + backendContract = await testBase.client.Backend.GetAsync( + testBase.rgName, + testBase.serviceName, + backendId); + + Assert.NotNull(backendContract); + Assert.Equal(backendId, backendContract.Name); + Assert.Equal(patchedDescription, backendContract.Description); + + // get the etag + var backendTag = await testBase.client.Backend.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + backendId); + Assert.NotNull(backendTag); + Assert.NotNull(backendTag.ETag); // delete the backend testBase.client.Backend.Delete( testBase.rgName, testBase.serviceName, backendId, - backendGetResponse.Headers.ETag); + backendTag.ETag); // get the deleted backend to make sure it was deleted try diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/CertificateTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/CertificateTests.cs index 6a7905a7cb45..e46db35cacb1 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/CertificateTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/CertificateTests.cs @@ -7,7 +7,6 @@ using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; using Xunit; -using System.Linq; using System.Threading.Tasks; using System; using System.Security.Cryptography.X509Certificates; @@ -32,7 +31,7 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listResponse); - Assert.Equal(0, listResponse.Count()); + Assert.Empty(listResponse); // create new certificate string certificateId = TestUtilities.GenerateName("certificateId"); @@ -74,7 +73,7 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); // remove the certificate testBase.client.Certificate.Delete( @@ -90,7 +89,7 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listResponse); - Assert.Equal(0, listResponse.Count()); + Assert.Empty(listResponse); } finally { diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DelegationSettingTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DelegationSettingTests.cs new file mode 100644 index 000000000000..cbb9127b893f --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DelegationSettingTests.cs @@ -0,0 +1,97 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class DelegationSettingTests : TestBase + { + [Fact] + public async Task CreateUpdateReset() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var intialPortalDelegationSettings = await testBase.client.DelegationSettings.GetAsync( + testBase.rgName, + testBase.serviceName); + + try + { + string delegationServer = TestUtilities.GenerateName("delegationServer"); + string urlParameter = new UriBuilder("https", delegationServer, 443).Uri.ToString(); + + var portalDelegationSettingsParams = new PortalDelegationSettings() + { + Subscriptions = new SubscriptionsDelegationSettingsProperties(true), + UserRegistration = new RegistrationDelegationSettingsProperties(true), + Url = urlParameter, + ValidationKey = PortalDelegationSettings.GenerateValidationKey() + }; + var portalDelegationSettings = testBase.client.DelegationSettings.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + portalDelegationSettingsParams); + Assert.NotNull(portalDelegationSettings); + Assert.Equal(urlParameter, portalDelegationSettings.Url); + // this is bug in the api, where the validation key is coming out as encrypted. + // https://msazure.visualstudio.com/DefaultCollection/One/_workitems/edit/2202008 + //Assert.Equal(testBase.base64EncodedTestCertificateData, portalDelegationSettings.ValidationKey); + Assert.True(portalDelegationSettings.UserRegistration.Enabled); + Assert.True(portalDelegationSettings.Subscriptions.Enabled); + + // check settings + var delegationsTag = await testBase.client.DelegationSettings.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(delegationsTag); + Assert.NotNull(delegationsTag.ETag); + + // update the delegation settings + portalDelegationSettings.Subscriptions.Enabled = false; + portalDelegationSettings.UserRegistration.Enabled = false; + portalDelegationSettings.Url = null; + portalDelegationSettings.ValidationKey = null; + + await testBase.client.DelegationSettings.UpdateAsync( + testBase.rgName, + testBase.serviceName, + portalDelegationSettings, + delegationsTag.ETag); + + // get the delegation settings + portalDelegationSettings = await testBase.client.DelegationSettings.GetAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(portalDelegationSettings); + //Assert.Null(portalDelegationSettings.Url); + //Assert.Null(portalDelegationSettings.ValidationKey); + Assert.False(portalDelegationSettings.UserRegistration.Enabled); + Assert.False(portalDelegationSettings.Subscriptions.Enabled); + } + finally + { + // due to bug in the api + intialPortalDelegationSettings.ValidationKey = null; + testBase.client.DelegationSettings.Update( + testBase.rgName, + testBase.serviceName, + intialPortalDelegationSettings, + "*"); + + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DiagnosticTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DiagnosticTests.cs new file mode 100644 index 000000000000..0023e0ab6ed5 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/DiagnosticTests.cs @@ -0,0 +1,149 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; +using System.Collections.Generic; +using ApiManagementManagement.Tests.Helpers; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class DiagnosticTests : TestBase + { + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // list diagnostics: there should be none + var diagnostics = testBase.client.Diagnostic.ListByService( + testBase.rgName, + testBase.serviceName, + null); + + Assert.NotNull(diagnostics); + Assert.Empty(diagnostics); + + // create new diagnostic + string diagnosticId = TestUtilities.GenerateName("diagnoticId"); + string loggerId = TestUtilities.GenerateName("appInsights"); + + try + { + // create a diagnostic entity + var diagnosticContractParams = new DiagnosticContract() + { + Enabled = true + }; + var diagnosticContract = await testBase.client.Diagnostic.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId, + diagnosticContractParams); + Assert.NotNull(diagnosticContract); + Assert.Equal(diagnosticId, diagnosticContract.Name); + Assert.Equal(diagnosticContractParams.Enabled, diagnosticContract.Enabled); + + // create a logger + Guid applicationInsightsGuid = TestUtilities.GenerateGuid("appInsights"); + var credentials = new Dictionary(); + credentials.Add("instrumentationKey", applicationInsightsGuid.ToString()); + + var loggerCreateParameters = new LoggerContract(LoggerType.ApplicationInsights, credentials); + var loggerContract = await testBase.client.Logger.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + loggerId, + loggerCreateParameters); + Assert.NotNull(loggerContract); + Assert.Equal(loggerId, loggerContract.Name); + Assert.Equal(LoggerType.ApplicationInsights, loggerContract.LoggerType); + Assert.NotNull(loggerContract.Credentials); + Assert.Equal(1, loggerContract.Credentials.Keys.Count); + + // create a diagnostic logger + loggerContract = await testBase.client.DiagnosticLogger.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId, + loggerId); + Assert.NotNull(loggerContract); + Assert.Equal(loggerId, loggerContract.Name); + Assert.Equal(LoggerType.ApplicationInsights, loggerContract.LoggerType); + + //list diagnostic loggers + var loggerContractList = await testBase.client.DiagnosticLogger.ListByServiceAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId); + Assert.NotNull(loggerContractList); + Assert.Single(loggerContractList); + Assert.Equal(loggerId, loggerContractList.GetEnumerator().ToIEnumerable().First().Name); + Assert.Equal(LoggerType.ApplicationInsights, loggerContractList.GetEnumerator().ToIEnumerable().First().LoggerType); + + // delete the diagnostic logger relationship + await testBase.client.DiagnosticLogger.DeleteAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId, + loggerId); + + var entitystatus = testBase.client.DiagnosticLogger.CheckEntityExists(testBase.rgName, testBase.serviceName, diagnosticId, loggerId); + Assert.False(entitystatus); + + // check the diagnostic entity etag + var diagnosticTag = await testBase.client.Diagnostic.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId); + Assert.NotNull(diagnosticTag); + Assert.NotNull(diagnosticTag.ETag); + + // delete the diagnostic entity + await testBase.client.Diagnostic.DeleteAsync( + testBase.rgName, + testBase.serviceName, + diagnosticId, + diagnosticTag.ETag); + + Assert.Throws(() + => testBase.client.Diagnostic.GetEntityTag(testBase.rgName, testBase.serviceName, diagnosticId)); + + // check the logger entity etag + var loggerTag = await testBase.client.Logger.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + loggerId); + Assert.NotNull(loggerTag); + Assert.NotNull(loggerTag.ETag); + + // delete the logger entity + await testBase.client.Logger.DeleteAsync( + testBase.rgName, + testBase.serviceName, + loggerId, + loggerTag.ETag); + + Assert.Throws(() + => testBase.client.Logger.GetEntityTag(testBase.rgName, testBase.serviceName, loggerId)); + } + finally + { + testBase.client.Logger.Delete(testBase.rgName, testBase.serviceName, loggerId, "*"); + testBase.client.Diagnostic.Delete(testBase.rgName, testBase.serviceName, diagnosticId, "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupTests.cs index dd23c1e68fbe..3c1c0c6e6479 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupTests.cs @@ -3,13 +3,14 @@ // license information. // using ApiManagement.Management.Tests; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using ApiManagementManagement.Tests.Helpers; using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; -using Xunit; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; using System.Linq; using System.Threading.Tasks; -using System; +using Xunit; namespace ApiManagement.Tests.ManagementApiTests { @@ -30,8 +31,8 @@ public async Task CreateListUpdateDelete() testBase.serviceName, null); - Assert.True(groupsList.IsAny()); - Assert.Equal(3, groupsList.Count()); + Assert.NotEmpty(groupsList); + Assert.Equal(3, groupsList.GetEnumerator().ToIEnumerable().Count()); Assert.NotNull(groupsList.NextPageLink); // list by paging using ODATA query @@ -44,7 +45,7 @@ public async Task CreateListUpdateDelete() }); Assert.NotNull(groupsList); - Assert.Equal(1, groupsList.Count()); + Assert.Single(groupsList); Assert.NotNull(groupsList.NextPageLink); // create a new group @@ -58,28 +59,24 @@ public async Task CreateListUpdateDelete() Description = "Group created from Sdk client" }; - var createResponse = testBase.client.Group.CreateOrUpdate( + var groupContract = testBase.client.Group.CreateOrUpdate( testBase.rgName, testBase.serviceName, newGroupId, parameters); - Assert.NotNull(createResponse); - Assert.Equal(newGroupDisplayName, createResponse.DisplayName); - Assert.Equal(false, createResponse.BuiltIn); - Assert.NotNull(createResponse.Description); - Assert.Equal(GroupType.Custom, createResponse.GroupContractType); + Assert.NotNull(groupContract); + Assert.Equal(newGroupDisplayName, groupContract.DisplayName); + Assert.False(groupContract.BuiltIn); + Assert.NotNull(groupContract.Description); + Assert.Equal(GroupType.Custom, groupContract.GroupContractType); - // get the group - var getResponse = await testBase.client.Group.GetWithHttpMessagesAsync( + // get the group tag + var groupTag= await testBase.client.Group.GetEntityTagAsync( testBase.rgName, testBase.serviceName, newGroupId); - Assert.NotNull(getResponse); - Assert.Equal(newGroupDisplayName, getResponse.Body.DisplayName); - Assert.Equal(false, getResponse.Body.BuiltIn); - Assert.NotNull(getResponse.Body.Description); - Assert.Equal(GroupType.Custom, getResponse.Body.GroupContractType); - Assert.NotNull(getResponse.Headers.ETag); + Assert.NotNull(groupTag); + Assert.NotNull(groupTag.ETag); // update the group var updateParameters = new GroupUpdateParameters() @@ -92,28 +89,33 @@ public async Task CreateListUpdateDelete() testBase.serviceName, newGroupId, updateParameters, - getResponse.Headers.ETag); + groupTag.ETag); // get the updatedGroup - var updatedResponse = await testBase.client.Group.GetWithHttpMessagesAsync( + var updatedResponse = await testBase.client.Group.GetAsync( testBase.rgName, testBase.serviceName, newGroupId); Assert.NotNull(updatedResponse); - Assert.Equal(newGroupDisplayName, updatedResponse.Body.DisplayName); - Assert.Equal(false, updatedResponse.Body.BuiltIn); - Assert.NotNull(updatedResponse.Body.Description); - Assert.Equal(updateParameters.Description, updatedResponse.Body.Description); - Assert.Equal(GroupType.Custom, updatedResponse.Body.GroupContractType); - Assert.NotNull(updatedResponse.Headers.ETag); - Assert.NotEqual(getResponse.Headers.ETag, updatedResponse.Headers.ETag); + Assert.Equal(newGroupDisplayName, updatedResponse.DisplayName); + Assert.False(updatedResponse.BuiltIn); + Assert.NotNull(updatedResponse.Description); + Assert.Equal(updateParameters.Description, updatedResponse.Description); + Assert.Equal(GroupType.Custom, updatedResponse.GroupContractType); + + groupTag = await testBase.client.Group.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newGroupId); + Assert.NotNull(groupTag); + Assert.NotNull(groupTag.ETag); // delete the group testBase.client.Group.Delete( testBase.rgName, testBase.serviceName, newGroupId, - updatedResponse.Headers.ETag); + groupTag.ETag); Assert.Throws(() => { diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupUserTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupUserTests.cs index 022778d79ccf..b71c36f18fce 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupUserTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/GroupUserTests.cs @@ -3,13 +3,14 @@ // license information. // using ApiManagement.Management.Tests; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using ApiManagementManagement.Tests.Helpers; using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; -using Xunit; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; using System.Linq; using System.Threading.Tasks; -using System; +using Xunit; namespace ApiManagement.Tests.ManagementApiTests { @@ -37,16 +38,16 @@ public async Task CreateListUpdateDelete() Description = "Group created from Sdk client" }; - var createResponse = testBase.client.Group.CreateOrUpdate( + var groupContract = await testBase.client.Group.CreateOrUpdateAsync( testBase.rgName, testBase.serviceName, newGroupId, parameters); - Assert.NotNull(createResponse); - Assert.Equal(newGroupDisplayName, createResponse.DisplayName); - Assert.Equal(false, createResponse.BuiltIn); - Assert.NotNull(createResponse.Description); - Assert.Equal(GroupType.Custom, createResponse.GroupContractType); + Assert.NotNull(groupContract); + Assert.Equal(newGroupDisplayName, groupContract.DisplayName); + Assert.False(groupContract.BuiltIn); + Assert.NotNull(groupContract.Description); + Assert.Equal(GroupType.Custom, groupContract.GroupContractType); // list all group users var listResponse = testBase.client.GroupUser.List( @@ -55,7 +56,7 @@ public async Task CreateListUpdateDelete() newGroupId, null); Assert.NotNull(listResponse); - Assert.Equal(0, listResponse.Count()); + Assert.Empty(listResponse); // create a new user and add to the group var createParameters = new UserCreateParameters() @@ -80,9 +81,9 @@ public async Task CreateListUpdateDelete() testBase.serviceName, newGroupId, userId); - Assert.NotNull(addUserContract); - Assert.Equal(userContract.Id, addUserContract.Id); + Assert.Equal(userContract.Email, addUserContract.Email); + Assert.Equal(userContract.FirstName, addUserContract.FirstName); // list group user var listgroupResponse = testBase.client.GroupUser.List( @@ -90,8 +91,16 @@ public async Task CreateListUpdateDelete() testBase.serviceName, newGroupId); Assert.NotNull(listgroupResponse); - Assert.Equal(1, listgroupResponse.Count()); - Assert.Equal(addUserContract.Id, listgroupResponse.First().Id); + Assert.Single(listgroupResponse); + Assert.Equal(addUserContract.Email, listgroupResponse.GetEnumerator().ToIEnumerable().First().Email); + + // check entity exists + var entityStatus = await testBase.client.GroupUser.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + newGroupId, + userId); + Assert.True(entityStatus); // remove user from group testBase.client.GroupUser.Delete( @@ -101,12 +110,12 @@ public async Task CreateListUpdateDelete() userId); // make sure user is removed - listgroupResponse = testBase.client.GroupUser.List( - testBase.rgName, - testBase.serviceName, - newGroupId); - Assert.NotNull(listgroupResponse); - Assert.Equal(0, listgroupResponse.Count()); + entityStatus = await testBase.client.GroupUser.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + newGroupId, + userId); + Assert.False(entityStatus); } finally { diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/IdentityProviderTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/IdentityProviderTests.cs index 04644215b057..d66dceb73a40 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/IdentityProviderTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/IdentityProviderTests.cs @@ -3,13 +3,15 @@ // license information. // using ApiManagement.Management.Tests; -using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using ApiManagementManagement.Tests.Helpers; using Microsoft.Azure.Management.ApiManagement; using Microsoft.Azure.Management.ApiManagement.Models; -using Xunit; -using System.Threading.Tasks; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; using System; +using System.Linq; using System.Net; +using System.Threading.Tasks; +using Xunit; namespace ApiManagement.Tests.ManagementApiTests { @@ -32,34 +34,33 @@ public async Task CreateListUpdateDelete() var identityProviderCreateParameters = new IdentityProviderContract(clientId, clientSecret); - var createResponse = testBase.client.IdentityProvider.CreateOrUpdate( + var identityProviderContract = testBase.client.IdentityProvider.CreateOrUpdate( testBase.rgName, testBase.serviceName, IdentityProviderType.Facebook, identityProviderCreateParameters); - Assert.NotNull(createResponse); - - // get to check it was created - var getResponse = await testBase.client.IdentityProvider.GetWithHttpMessagesAsync( - testBase.rgName, - testBase.serviceName, - IdentityProviderType.Facebook); - - Assert.NotNull(getResponse); - Assert.Equal(IdentityProviderType.Facebook, getResponse.Body.IdentityProviderContractType); - Assert.NotNull(getResponse.Body.ClientId); - Assert.NotNull(getResponse.Body.ClientSecret); - Assert.Equal(clientId, getResponse.Body.ClientId); - Assert.Equal(clientSecret, getResponse.Body.ClientSecret); - Assert.Equal(IdentityProviderType.Facebook, getResponse.Body.IdentityProviderContractType); + Assert.NotNull(identityProviderContract); + Assert.Equal(IdentityProviderType.Facebook, identityProviderContract.IdentityProviderContractType); + Assert.NotNull(identityProviderContract.ClientId); + Assert.NotNull(identityProviderContract.ClientSecret); + Assert.Equal(clientId, identityProviderContract.ClientId); + Assert.Equal(clientSecret, identityProviderContract.ClientSecret); + Assert.Equal(IdentityProviderType.Facebook, identityProviderContract.IdentityProviderContractType); + // list var listIdentityProviders = testBase.client.IdentityProvider.ListByService(testBase.rgName, testBase.serviceName); Assert.NotNull(listIdentityProviders); + Assert.True(listIdentityProviders.GetEnumerator().ToIEnumerable().Count() >= 1); - // there should be one identity Provider - Assert.True(listIdentityProviders.Value.Count >= 1); + // get the entity tag + var identityProviderTag = await testBase.client.IdentityProvider.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + IdentityProviderType.Facebook); + Assert.NotNull(identityProviderTag); + Assert.NotNull(identityProviderTag.ETag); // patch identity provider string patchedSecret = TestUtilities.GenerateName("clientSecret"); @@ -71,22 +72,31 @@ public async Task CreateListUpdateDelete() { ClientSecret = patchedSecret }, - getResponse.Headers.ETag); + identityProviderTag.ETag); // get to check it was patched - getResponse = await testBase.client.IdentityProvider.GetWithHttpMessagesAsync(testBase.rgName, testBase.serviceName, IdentityProviderType.Facebook); + identityProviderContract = await testBase.client.IdentityProvider.GetAsync( + testBase.rgName, + testBase.serviceName, + IdentityProviderType.Facebook); + + Assert.NotNull(identityProviderContract); + Assert.Equal(IdentityProviderType.Facebook, identityProviderContract.IdentityProviderContractType); + Assert.Equal(patchedSecret, identityProviderContract.ClientSecret); + Assert.Equal(clientId, identityProviderContract.ClientId); - Assert.NotNull(getResponse); - Assert.Equal(IdentityProviderType.Facebook, getResponse.Body.IdentityProviderContractType); - Assert.Equal(patchedSecret, getResponse.Body.ClientSecret); - Assert.Equal(clientId, getResponse.Body.ClientId); + // get the tag again + identityProviderTag = await testBase.client.IdentityProvider.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + IdentityProviderType.Facebook); // delete the identity provider testBase.client.IdentityProvider.Delete( testBase.rgName, testBase.serviceName, IdentityProviderType.Facebook, - getResponse.Headers.ETag); + identityProviderTag.ETag); // get the deleted identity provider to make sure it was deleted try diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/LoggerTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/LoggerTests.cs index 1fa8c941b945..b42ec2218612 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/LoggerTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/LoggerTests.cs @@ -20,7 +20,7 @@ namespace ApiManagement.Tests.ManagementApiTests public class LoggerTests : TestBase { [Fact] - public async Task CreateListUpdateDelete() + public async Task CreateListUpdateDeleteEventHub() { Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) @@ -33,7 +33,7 @@ public async Task CreateListUpdateDelete() string eventHubName = TestUtilities.GenerateName("eventhubname"); try - { + { // first create the event hub namespace var eventHubNamespace = testBase.eventHubClient.Namespaces.CreateOrUpdate( testBase.rgName, @@ -68,40 +68,139 @@ public async Task CreateListUpdateDelete() eventHubNameSpaceName, eventHubName, sendPolicy); - + // now create logger using the eventhub var credentials = new Dictionary(); credentials.Add("name", eventHubName); credentials.Add("connectionString", eventHubKeys.PrimaryConnectionString); - var loggerCreateParameters = new LoggerContract(credentials); + var loggerCreateParameters = new LoggerContract(LoggerType.AzureEventHub, credentials); // create new group with default parameters string loggerDescription = TestUtilities.GenerateName("newloggerDescription"); loggerCreateParameters.Description = loggerDescription; - var createResponse = testBase.client.Logger.CreateOrUpdate( + var loggerContract = testBase.client.Logger.CreateOrUpdate( testBase.rgName, testBase.serviceName, newloggerId, loggerCreateParameters); - Assert.NotNull(createResponse); - Assert.Equal(newloggerId, createResponse.Name); - Assert.Equal(true, createResponse.IsBuffered); - Assert.NotNull(createResponse.Credentials); + Assert.NotNull(loggerContract); + Assert.Equal(newloggerId, loggerContract.Name); + Assert.True(loggerContract.IsBuffered); + Assert.Equal(LoggerType.AzureEventHub, loggerContract.LoggerType); + Assert.NotNull(loggerContract.Credentials); + Assert.Equal(2, loggerContract.Credentials.Keys.Count); + + var listLoggers = testBase.client.Logger.ListByService( + testBase.rgName, + testBase.serviceName, + null); + + Assert.NotNull(listLoggers); + // there should be one user + Assert.True(listLoggers.Count() >= 1); + + // get the logger tag + var loggerTag = await testBase.client.Logger.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newloggerId); + Assert.NotNull(loggerTag); + Assert.NotNull(loggerTag.ETag); + + // patch logger + string patchedDescription = TestUtilities.GenerateName("patchedDescription"); + testBase.client.Logger.Update( + testBase.rgName, + testBase.serviceName, + newloggerId, + new LoggerUpdateContract(LoggerType.AzureEventHub) + { + Description = patchedDescription + }, + loggerTag.ETag); + + // get to check it was patched + loggerContract = await testBase.client.Logger.GetAsync( + testBase.rgName, + testBase.serviceName, + newloggerId); + + Assert.NotNull(loggerContract); + Assert.Equal(newloggerId, loggerContract.Name); + Assert.Equal(patchedDescription, loggerContract.Description); + Assert.NotNull(loggerContract.Credentials); - // get to check it was created - var getResponse = await testBase.client.Logger.GetWithHttpMessagesAsync( + // get the logger tag + loggerTag = await testBase.client.Logger.GetEntityTagAsync( testBase.rgName, testBase.serviceName, newloggerId); + Assert.NotNull(loggerTag); + Assert.NotNull(loggerTag.ETag); + + // delete the logger + testBase.client.Logger.Delete( + testBase.rgName, + testBase.serviceName, + newloggerId, + loggerTag.ETag); + + // get the deleted logger to make sure it was deleted + try + { + testBase.client.Logger.Get(testBase.rgName, testBase.serviceName, newloggerId); + throw new Exception("This code should not have been executed."); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + } + finally + { + testBase.client.Logger.Delete(testBase.rgName, testBase.serviceName, newloggerId, "*"); + testBase.eventHubClient.EventHubs.Delete(testBase.rgName, eventHubNameSpaceName, eventHubName); + testBase.eventHubClient.Namespaces.Delete(testBase.rgName, eventHubNameSpaceName); + } + } + } + + [Fact] + public async Task CreateListUpdateDeleteApplicationInsights() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + string newloggerId = TestUtilities.GenerateName("applicationInsight"); + + try + { + // now create logger using the event + Guid applicationInsightsGuid = TestUtilities.GenerateGuid("appInsights"); + var credentials = new Dictionary(); + credentials.Add("instrumentationKey", applicationInsightsGuid.ToString()); + + var loggerCreateParameters = new LoggerContract(LoggerType.ApplicationInsights, credentials); + // create new group with default parameters + string loggerDescription = TestUtilities.GenerateName("newloggerDescription"); + loggerCreateParameters.Description = loggerDescription; + + var loggerContract = testBase.client.Logger.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + newloggerId, + loggerCreateParameters); - Assert.NotNull(getResponse); - Assert.NotNull(getResponse.Body); - Assert.Equal(newloggerId, getResponse.Body.Name); - Assert.NotNull(getResponse.Body.Description); - Assert.NotNull(getResponse.Body.Credentials); - Assert.Equal(2, getResponse.Body.Credentials.Keys.Count); + Assert.NotNull(loggerContract); + Assert.Equal(newloggerId, loggerContract.Name); + Assert.Equal(LoggerType.ApplicationInsights, loggerContract.LoggerType); + Assert.NotNull(loggerContract.Credentials); + Assert.Equal(1, loggerContract.Credentials.Keys.Count); var listLoggers = testBase.client.Logger.ListByService( testBase.rgName, @@ -109,39 +208,54 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listLoggers); - // there should be one user + // there should be atleast one logger Assert.True(listLoggers.Count() >= 1); + // get the logger tag + var loggerTag = await testBase.client.Logger.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newloggerId); + Assert.NotNull(loggerTag); + Assert.NotNull(loggerTag.ETag); + // patch logger string patchedDescription = TestUtilities.GenerateName("patchedDescription"); testBase.client.Logger.Update( testBase.rgName, testBase.serviceName, newloggerId, - new LoggerUpdateContract(LoggerType.AzureEventHub) + new LoggerUpdateContract(LoggerType.ApplicationInsights) { Description = patchedDescription }, - getResponse.Headers.ETag); + loggerTag.ETag); // get to check it was patched - getResponse = await testBase.client.Logger.GetWithHttpMessagesAsync( + loggerContract = await testBase.client.Logger.GetAsync( testBase.rgName, testBase.serviceName, newloggerId); - Assert.NotNull(getResponse); - Assert.NotNull(getResponse.Body); - Assert.Equal(newloggerId, getResponse.Body.Name); - Assert.Equal(patchedDescription, getResponse.Body.Description); - Assert.NotNull(getResponse.Body.Credentials); + Assert.NotNull(loggerContract); + Assert.Equal(newloggerId, loggerContract.Name); + Assert.Equal(patchedDescription, loggerContract.Description); + Assert.NotNull(loggerContract.Credentials); + + // get the logger tag + loggerTag = await testBase.client.Logger.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newloggerId); + Assert.NotNull(loggerTag); + Assert.NotNull(loggerTag.ETag); // delete the logger testBase.client.Logger.Delete( testBase.rgName, testBase.serviceName, newloggerId, - getResponse.Headers.ETag); + loggerTag.ETag); // get the deleted logger to make sure it was deleted try @@ -156,9 +270,7 @@ public async Task CreateListUpdateDelete() } finally { - testBase.client.Logger.Delete(testBase.rgName, testBase.serviceName, newloggerId, "*"); - testBase.eventHubClient.EventHubs.Delete(testBase.rgName, eventHubNameSpaceName, eventHubName); - testBase.eventHubClient.Namespaces.Delete(testBase.rgName, eventHubNameSpaceName); + testBase.client.Logger.Delete(testBase.rgName, testBase.serviceName, newloggerId, "*"); } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/NotificationTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/NotificationTests.cs new file mode 100644 index 000000000000..e9f84dfde297 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/NotificationTests.cs @@ -0,0 +1,174 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class NotificationTests : TestBase + { + [Fact] + public async Task UpdateDeleteRecipientEmail() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var notifications = testBase.client.Notification.ListByService(testBase.rgName, testBase.serviceName); + + Assert.NotNull(notifications); + Assert.Equal(7, notifications.Count()); + + var firstNotification = notifications.First(); + Assert.NotNull(firstNotification); + Assert.NotNull(firstNotification.Title); + Assert.NotNull(firstNotification.Recipients); + Assert.Empty(firstNotification.Recipients.Emails); + Assert.Empty(firstNotification.Recipients.Users); + Assert.NotNull(firstNotification.Description); + + try + { + // add a recipient to the notification + string userEmail = "contoso@microsoft.com"; + var recipientEmailContract = await testBase.client.NotificationRecipientEmail.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + userEmail); + + Assert.NotNull(recipientEmailContract); + Assert.Equal(userEmail, recipientEmailContract.Email); + + // check the recipient exists + var entityStatus = await testBase.client.NotificationRecipientEmail.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + userEmail); + Assert.True(entityStatus); + + // get the notification details + var notificationContract = await testBase.client.Notification.GetAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name); + Assert.NotNull(notificationContract); + Assert.NotNull(notificationContract.Recipients); + Assert.Empty(notificationContract.Recipients.Users); + Assert.Single(notificationContract.Recipients.Emails); + + // delete the recipient email + await testBase.client.NotificationRecipientEmail.DeleteAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + userEmail); + + entityStatus = await testBase.client.NotificationRecipientEmail.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + userEmail); + Assert.False(entityStatus); + } + finally + { + + } + } + } + + [Fact] + public async Task UpdateDeleteRecipientUser() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var notifications = testBase.client.Notification.ListByService(testBase.rgName, testBase.serviceName); + + Assert.NotNull(notifications); + Assert.Equal(7, notifications.Count()); + + var firstNotification = notifications.First(); + Assert.NotNull(firstNotification); + Assert.NotNull(firstNotification.Title); + Assert.NotNull(firstNotification.Recipients); + Assert.Empty(firstNotification.Recipients.Users); + Assert.Empty(firstNotification.Recipients.Emails); + Assert.NotNull(firstNotification.Description); + + var listUsersResponse = testBase.client.User.ListByService( + testBase.rgName, + testBase.serviceName, + null); + + Assert.NotNull(listUsersResponse); + Assert.Single(listUsersResponse); + + try + { + // add a recipient to the notification + var recipientUserContract = await testBase.client.NotificationRecipientUser.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + listUsersResponse.First().Name); + + Assert.NotNull(recipientUserContract); + Assert.Equal(listUsersResponse.First().Id, recipientUserContract.UserId); + + // check the recipient exists + var entityStatus = await testBase.client.NotificationRecipientUser.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + listUsersResponse.First().Name); + Assert.True(entityStatus); + + // get the notification details + var notificationContract = await testBase.client.Notification.GetAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name); + Assert.NotNull(notificationContract); + Assert.NotNull(notificationContract.Recipients); + Assert.Single(notificationContract.Recipients.Users); + Assert.Empty(notificationContract.Recipients.Emails); + + // delete the recipient email + await testBase.client.NotificationRecipientUser.DeleteAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + listUsersResponse.First().Name); + + entityStatus = await testBase.client.NotificationRecipientUser.CheckEntityExistsAsync( + testBase.rgName, + testBase.serviceName, + firstNotification.Name, + listUsersResponse.First().Name); + Assert.False(entityStatus); + } + finally + { + + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/OpenIdConnectProviderTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/OpenIdConnectProviderTests.cs index ce16a3ad1ec3..47bad4bbbd32 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/OpenIdConnectProviderTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/OpenIdConnectProviderTests.cs @@ -48,21 +48,19 @@ public async Task CreateListUpdateDelete() Assert.Equal(openIdNoSecret, createResponse.Name); // get to check it was created - var getResponse = await testBase.client.OpenIdConnectProvider.GetWithHttpMessagesAsync( + var openIdConnectProviderContract = await testBase.client.OpenIdConnectProvider.GetAsync( testBase.rgName, testBase.serviceName, openIdNoSecret); - Assert.NotNull(getResponse); - Assert.NotNull(getResponse.Body); - Assert.NotNull(getResponse.Headers.ETag); - - Assert.Equal(openIdProviderName, getResponse.Body.DisplayName); - Assert.Equal(metadataEndpoint, getResponse.Body.MetadataEndpoint); - Assert.Equal(clientId, getResponse.Body.ClientId); - Assert.Equal(openIdNoSecret, getResponse.Body.Name); - Assert.Null(getResponse.Body.ClientSecret); - Assert.Null(getResponse.Body.Description); + Assert.NotNull(openIdConnectProviderContract); + + Assert.Equal(openIdProviderName, openIdConnectProviderContract.DisplayName); + Assert.Equal(metadataEndpoint, openIdConnectProviderContract.MetadataEndpoint); + Assert.Equal(clientId, openIdConnectProviderContract.ClientId); + Assert.Equal(openIdNoSecret, openIdConnectProviderContract.Name); + Assert.Null(openIdConnectProviderContract.ClientSecret); + Assert.Null(openIdConnectProviderContract.Description); // create a Secret property string openIdProviderName2 = TestUtilities.GenerateName("openIdName"); @@ -112,17 +110,23 @@ public async Task CreateListUpdateDelete() new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); + // get the openid connect provider tag + var openIdConnectProviderTag = await testBase.client.OpenIdConnectProvider.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + openIdNoSecret); + Assert.NotNull(openIdConnectProviderTag); + Assert.NotNull(openIdConnectProviderTag.ETag); + // delete a OpenId Connect Provider - var deleteResponse = await testBase.client.OpenIdConnectProvider.DeleteWithHttpMessagesAsync( + await testBase.client.OpenIdConnectProvider.DeleteAsync( testBase.rgName, testBase.serviceName, openIdNoSecret, - getResponse.Headers.ETag); - Assert.NotNull(deleteResponse); - Assert.Equal(HttpStatusCode.NoContent, deleteResponse.Response.StatusCode); + openIdConnectProviderTag.ETag); // get the deleted openId Connect Provider to make sure it was deleted try @@ -135,6 +139,14 @@ public async Task CreateListUpdateDelete() Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); } + // get the etag of openId2 + openIdConnectProviderTag = await testBase.client.OpenIdConnectProvider.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + openId2); + Assert.NotNull(openIdConnectProviderTag); + Assert.NotNull(openIdConnectProviderTag.ETag); + // patch the openId Connect Provider string updateMetadataEndpoint = GetHttpsUrl(); string updatedClientId = TestUtilities.GenerateName("updatedClient"); @@ -147,7 +159,7 @@ public async Task CreateListUpdateDelete() MetadataEndpoint = updateMetadataEndpoint, ClientId = updatedClientId }, - "*"); + openIdConnectProviderTag.ETag); // get to check it was patched var getResponseOpendId2 = await testBase.client.OpenIdConnectProvider.GetWithHttpMessagesAsync( diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyTests.cs index abb2acdecfcf..990c983cbe1a 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyTests.cs @@ -88,19 +88,25 @@ public async Task CreateListUpdateDelete() Assert.NotNull(globalPolicyResponse); // get policy to check it was added - var getPolicyResponse = await testBase.client.Policy.GetWithHttpMessagesAsync( + var getPolicyResponse = await testBase.client.Policy.GetAsync( testBase.rgName, testBase.serviceName); Assert.NotNull(getPolicyResponse); - Assert.NotNull(getPolicyResponse.Body.PolicyContent); - Assert.NotNull(getPolicyResponse.Headers.ETag); + Assert.NotNull(getPolicyResponse.PolicyContent); + + // get the policy etag + var globalPolicyTag = await testBase.client.Policy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(globalPolicyTag); + Assert.NotNull(globalPolicyTag.ETag); // remove policy testBase.client.Policy.Delete( testBase.rgName, testBase.serviceName, - getPolicyResponse.Headers.ETag); + globalPolicyTag.ETag); // get policy to check it was removed try @@ -158,21 +164,28 @@ public async Task CreateListUpdateDelete() Assert.NotNull(setResponse); // get policy to check it was added - var getApiPolicyResponse = await testBase.client.ApiPolicy.GetWithHttpMessagesAsync( + var getApiPolicy = await testBase.client.ApiPolicy.GetAsync( testBase.rgName, testBase.serviceName, api.Name); - Assert.NotNull(getApiPolicyResponse); - Assert.NotNull(getApiPolicyResponse.Body.PolicyContent); - Assert.NotNull(getApiPolicyResponse.Headers.ETag); + Assert.NotNull(getApiPolicy); + Assert.NotNull(getApiPolicy.PolicyContent); + + // get the api policy tag + var apiPolicyTag = await testBase.client.ApiPolicy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + api.Name); + Assert.NotNull(apiPolicyTag); + Assert.NotNull(apiPolicyTag.ETag); // remove policy testBase.client.ApiPolicy.Delete( testBase.rgName, testBase.serviceName, api.Name, - getApiPolicyResponse.Headers.ETag); + apiPolicyTag.ETag); // get policy to check it was removed try @@ -223,15 +236,23 @@ public async Task CreateListUpdateDelete() Assert.NotNull(setResponse); // get policy to check it was added - var getOperationPolicyResponse = await testBase.client.ApiOperationPolicy.GetWithHttpMessagesAsync( + var getOperationPolicy = await testBase.client.ApiOperationPolicy.GetAsync( testBase.rgName, testBase.serviceName, api.Name, operation.Name); - Assert.NotNull(getOperationPolicyResponse); - Assert.NotNull(getOperationPolicyResponse.Body.PolicyContent); - Assert.NotNull(getOperationPolicyResponse.Headers.ETag); + Assert.NotNull(getOperationPolicy); + Assert.NotNull(getOperationPolicy.PolicyContent); + + // get operation policy tag + var operationPolicyTag = await testBase.client.ApiOperationPolicy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + operation.Name); + Assert.NotNull(operationPolicyTag); + Assert.NotNull(operationPolicyTag.ETag); // remove policy testBase.client.ApiOperationPolicy.Delete( @@ -239,7 +260,7 @@ public async Task CreateListUpdateDelete() testBase.serviceName, api.Name, operation.Name, - getOperationPolicyResponse.Headers.ETag); + operationPolicyTag.ETag); // get policy to check it was removed try @@ -294,21 +315,28 @@ public async Task CreateListUpdateDelete() Assert.NotNull(setResponse); // get policy to check it was added - var getProductPolicyResponse = await testBase.client.ProductPolicy.GetWithHttpMessagesAsync( + var getProductPolicy = await testBase.client.ProductPolicy.GetAsync( testBase.rgName, testBase.serviceName, product.Name); - Assert.NotNull(getProductPolicyResponse); - Assert.NotNull(getProductPolicyResponse.Body.PolicyContent); - Assert.NotNull(getProductPolicyResponse.Headers.ETag); + Assert.NotNull(getProductPolicy); + Assert.NotNull(getProductPolicy.PolicyContent); + + // get product policy tag + var productPolicyTag = await testBase.client.ProductPolicy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + product.Name); + Assert.NotNull(productPolicyTag); + Assert.NotNull(productPolicyTag.ETag); // remove policy testBase.client.ProductPolicy.Delete( testBase.rgName, testBase.serviceName, product.Name, - getProductPolicyResponse.Headers.ETag); + productPolicyTag.ETag); // get policy to check it was removed try diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyUriTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyUriTests.cs new file mode 100644 index 000000000000..c18bd9e1f0ce --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PolicyUriTests.cs @@ -0,0 +1,177 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; +using System.Net; +using System.Collections.Generic; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class PolicyUriTests : TestBase + { + protected const string ApiValid = "https://raw.githubusercontent.com/Azure/api-management-samples/master/sdkClientResources/ApiPolicy.xml"; + + protected const string ProductValid = "https://raw.githubusercontent.com/Azure/api-management-samples/master/sdkClientResources/ProductPolicy.xml"; + + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // test tenant policy + var globalPolicy = testBase.client.Policy.Get(testBase.rgName, testBase.serviceName); + Assert.NotNull(globalPolicy); + + // test api policy + string newApiId = TestUtilities.GenerateName("policyapi"); + + try + { + var createdApiContract = testBase.client.Api.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + newApiId, + new ApiCreateOrUpdateParameter + { + DisplayName = TestUtilities.GenerateName("display"), + Description = TestUtilities.GenerateName("description"), + Path = TestUtilities.GenerateName("path"), + ServiceUrl = "https://echoapi.cloudapp.net/echo", + Protocols = new List { Protocol.Https, Protocol.Http } + }); + + Assert.NotNull(createdApiContract); + + var policyContract = new PolicyContract(); + policyContract.PolicyContent = ApiValid; + policyContract.ContentFormat = PolicyContentFormat.XmlLink; + + var apiPolicyContract = await testBase.client.ApiPolicy.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + policyContract); + Assert.NotNull(apiPolicyContract); + Assert.NotNull(apiPolicyContract.PolicyContent); + + // get policy tag + var apiPolicyTag = await testBase.client.ApiPolicy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + newApiId); + Assert.NotNull(apiPolicyTag); + Assert.NotNull(apiPolicyTag.ETag); + + // delete policy + await testBase.client.ApiPolicy.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + apiPolicyTag.ETag); + + Assert.Throws(() => + testBase.client.ApiPolicy.Get(testBase.rgName, testBase.serviceName, newApiId)); + } + finally + { + await testBase.client.Api.DeleteAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + "*", + deleteRevisions: true); + } + + // test product policy + + // get 'Unlimited' product + var getProductResponse = testBase.client.Product.ListByService( + testBase.rgName, + testBase.serviceName, + new Microsoft.Rest.Azure.OData.ODataQuery + { + Filter = "name eq 'Unlimited'" + }); + + var product = getProductResponse.Single(); + + // get product policy + try + { + testBase.client.ProductPolicy.Get( + testBase.rgName, + testBase.serviceName, + product.Name); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + + // create product policy contract + var productPolicyContract = new PolicyContract(); + productPolicyContract.PolicyContent = ProductValid; + productPolicyContract.ContentFormat = PolicyContentFormat.XmlLink; + + var productPolicyResponse = testBase.client.ProductPolicy.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + product.Name, + productPolicyContract); + + Assert.NotNull(productPolicyResponse); + Assert.NotNull(productPolicyResponse.PolicyContent); + Assert.Equal("policy", productPolicyResponse.Name); // there can be only one policy per product + + // get policy to check it was added + var getProductPolicy = await testBase.client.ProductPolicy.GetAsync( + testBase.rgName, + testBase.serviceName, + product.Name); + + Assert.NotNull(getProductPolicy); + Assert.NotNull(getProductPolicy.PolicyContent); + + // get product policy etag + var productPolicyTag = await testBase.client.ProductPolicy.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + product.Name); + Assert.NotNull(productPolicyTag); + Assert.NotNull(productPolicyTag.ETag); + + // remove policy + testBase.client.ProductPolicy.Delete( + testBase.rgName, + testBase.serviceName, + product.Name, + productPolicyTag.ETag); + + // get policy to check it was removed + try + { + testBase.client.ProductPolicy.Get( + testBase.rgName, + testBase.serviceName, + product.Name); + } + catch (ErrorResponseException ex) + { + Assert.Equal(HttpStatusCode.NotFound, ex.Response.StatusCode); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ProductTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ProductTests.cs index 9553b2dce078..ff46a771f64b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ProductTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ProductTests.cs @@ -71,11 +71,11 @@ public async Task CreateListUpdateDelete() Assert.Equal(productTerms, createResponse.Terms); //get async - var getResponse = await testBase.client.Product.GetWithHttpMessagesAsync( + var productTag = await testBase.client.Product.GetEntityTagAsync( testBase.rgName, testBase.serviceName, productId); - Assert.NotNull(getResponse); + Assert.NotNull(productTag); // update product string patchedName = TestUtilities.GenerateName("productName"); @@ -83,7 +83,7 @@ public async Task CreateListUpdateDelete() string patchedTerms = TestUtilities.GenerateName("productTerms"); var updateParameters = new ProductUpdateParameters { - Name = patchedName, + DisplayName = patchedName, Description = patchedDescription, Terms = patchedTerms }; @@ -92,10 +92,13 @@ public async Task CreateListUpdateDelete() testBase.serviceName, productId, updateParameters, - getResponse.Headers.ETag); + productTag.ETag); // get to check it was updated - var getUpdatedResponse = testBase.client.Product.Get(testBase.rgName, testBase.serviceName, productId); + var getUpdatedResponse = testBase.client.Product.Get( + testBase.rgName, + testBase.serviceName, + productId); Assert.NotNull(getUpdatedResponse); @@ -107,17 +110,55 @@ public async Task CreateListUpdateDelete() Assert.Equal(productSubscriptionsLimit, getUpdatedResponse.SubscriptionsLimit); Assert.Equal(patchedTerms, getUpdatedResponse.Terms); + // check product listing works + // list paged + var productList = await testBase.client.Product.ListByServiceAsync( + testBase.rgName, + testBase.serviceName, + new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); + + Assert.NotNull(productList); + Assert.Single(productList); + // first is the product in Test due to alphabetical order of name + Assert.Equal(patchedName, productList.First().DisplayName); + Assert.NotEmpty(productList.NextPageLink); + + // check the next link returned from above query works + var pagedProducts = await testBase.client.Product.ListByServiceNextAsync(productList.NextPageLink); + Assert.NotNull(pagedProducts); + Assert.Single(pagedProducts); + // next is the Starter product due to alphabetical order of name + Assert.Equal("Starter", pagedProducts.First().DisplayName); + + // check the nextlink to the next page link query works + pagedProducts = await testBase.client.Product.ListByServiceNextAsync(pagedProducts.NextPageLink); + Assert.NotNull(pagedProducts); + Assert.Single(pagedProducts); + // finally the Unlimited product due to alphabetical order of name + Assert.Equal("Unlimited", pagedProducts.First().DisplayName); + Assert.Empty(pagedProducts.NextPageLink); // it should be empty now. + + // get the entity tag + productTag = await testBase.client.Product.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + productId); + Assert.NotNull(productTag); + // delete the product testBase.client.Product.Delete( testBase.rgName, testBase.serviceName, productId, - "*", - true); + productTag.ETag, + deleteSubscriptions:true); - // get the deleted api to make sure it was deleted + // get the deleted product to make sure it was deleted Assert.Throws(() - => testBase.client.Product.Get(testBase.rgName, testBase.serviceName, productId)); + => testBase.client.Product.Get( + testBase.rgName, + testBase.serviceName, + productId)); } finally { @@ -152,7 +193,7 @@ public void ApisListAddRemove() }); Assert.NotNull(getProductsResponse); - Assert.Equal(1, getProductsResponse.Count()); + Assert.Single(getProductsResponse); var product = getProductsResponse.Single(); @@ -164,7 +205,7 @@ public void ApisListAddRemove() null); Assert.NotNull(listApisResponse); - Assert.Equal(1, listApisResponse.Count()); + Assert.Single(listApisResponse); // get api var getResponse = testBase.client.Api.Get( @@ -189,7 +230,7 @@ public void ApisListAddRemove() null); Assert.NotNull(listApisResponse); - Assert.Equal(0, listApisResponse.Count()); + Assert.Empty(listApisResponse); // add the api to product var addResponse = testBase.client.ProductApi.CreateOrUpdate( @@ -208,7 +249,7 @@ public void ApisListAddRemove() null); Assert.NotNull(listApisResponse); - Assert.Equal(1, listApisResponse.Count()); + Assert.Single(listApisResponse); } } @@ -233,7 +274,7 @@ public void GroupsListAddRemove() }); Assert.NotNull(getProductsResponse); - Assert.Equal(1, getProductsResponse.Count()); + Assert.Single(getProductsResponse); var product = getProductsResponse.Single(); @@ -295,7 +336,7 @@ public void GroupsListAddRemove() } [Fact] - public void SubscriptionsList() + public async Task SubscriptionsList() { Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); @@ -316,14 +357,14 @@ public void SubscriptionsList() var product = listProductsResponse.Single(); // list product's subscriptions - var listSubscriptionsResponse = testBase.client.ProductSubscriptions.List( + var listSubscriptionsResponse = await testBase.client.ProductSubscriptions.ListAsync( testBase.rgName, testBase.serviceName, product.Name, null); Assert.NotNull(listSubscriptionsResponse); - Assert.Equal(1, listSubscriptionsResponse.Count()); + Assert.Single(listSubscriptionsResponse); } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PropertiesTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PropertiesTests.cs index 627191aaff17..05c5f7b593e3 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PropertiesTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/PropertiesTests.cs @@ -84,6 +84,14 @@ public async Task CreateListUpdateDelete() Assert.Throws(() => testBase.client.Property.Get(testBase.rgName, testBase.serviceName, propertyId)); + // get the property etag + var propertyTag = await testBase.client.Property.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName, + secretPropertyId); + Assert.NotNull(propertyTag); + Assert.NotNull(propertyTag.ETag); + // patch the secret property var updateProperty = new PropertyUpdateParameters() { @@ -94,16 +102,16 @@ public async Task CreateListUpdateDelete() testBase.serviceName, secretPropertyId, updateProperty, - "*"); + propertyTag.ETag); // check it is patched - var secretResponse = await testBase.client.Property.GetWithHttpMessagesAsync( + var secretResponse = await testBase.client.Property.GetAsync( testBase.rgName, testBase.serviceName, secretPropertyId); ValidateProperty( - secretResponse.Body, + secretResponse, testBase, secretPropertyId, secretPropertyDisplayName, diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/RegionsTest.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/RegionsTest.cs new file mode 100644 index 000000000000..ae402823e143 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/RegionsTest.cs @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class RegionTests : TestBase + { + [Fact] + public async Task List() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var regions = await testBase.client.Regions.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + + Assert.NotNull(regions); + Assert.Single(regions); + Assert.Equal(testBase.location.ToLowerInvariant().Replace(" ",""), regions.First().Name.ToLowerInvariant().Replace(" ","")); + Assert.True(regions.First().IsMasterRegion); + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ReportTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ReportTests.cs index 4e2a1f334746..f9cf78111765 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ReportTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ReportTests.cs @@ -33,7 +33,7 @@ public async Task Query() testBase.serviceName); Assert.NotNull(byApiResponse); - Assert.Equal(1, byApiResponse.Count()); + Assert.Single(byApiResponse); Assert.NotNull(byApiResponse.First().ApiId); var byGeoResponse = testBase.client.Reports.ListByGeo( @@ -45,7 +45,7 @@ public async Task Query() }); Assert.NotNull(byGeoResponse); - Assert.Equal(0, byGeoResponse.Count()); + Assert.NotNull(byGeoResponse.First().Region); var byOperationResponse = testBase.client.Reports.ListByOperation( new Microsoft.Rest.Azure.OData.ODataQuery @@ -57,6 +57,7 @@ public async Task Query() Assert.NotNull(byOperationResponse); Assert.Equal(6, byOperationResponse.Count()); + Assert.NotNull(byOperationResponse.First().OperationId); var byProductResponse = testBase.client.Reports.ListByProduct( new Microsoft.Rest.Azure.OData.ODataQuery @@ -81,6 +82,7 @@ public async Task Query() Assert.NotNull(bySubscriptionResponse); Assert.Equal(2, bySubscriptionResponse.Count()); Assert.NotNull(bySubscriptionResponse.First().SubscriptionId); + Assert.NotNull(bySubscriptionResponse.First().ProductId); var byTimeResponse = testBase.client.Reports.ListByTime( testBase.rgName, @@ -91,8 +93,7 @@ public async Task Query() Filter = "timestamp ge datetime'2017-06-22T00:00:00'" }); - Assert.NotNull(byTimeResponse); - Assert.Equal(0, byTimeResponse.Count()); + Assert.NotNull(byTimeResponse); var byUserResponse = testBase.client.Reports.ListByUser( new Microsoft.Rest.Azure.OData.ODataQuery() @@ -115,8 +116,11 @@ public async Task Query() testBase.serviceName); Assert.NotNull(byRequestResponse); - Assert.Equal(2, byRequestResponse.Count()); + Assert.NotEmpty(byRequestResponse); Assert.NotNull(byRequestResponse.First().RequestId); + Assert.NotNull(byRequestResponse.First().ApiId); + Assert.NotNull(byRequestResponse.First().OperationId); + Assert.NotNull(byRequestResponse.First().ProductId); } } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignInSettingTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignInSettingTests.cs new file mode 100644 index 000000000000..a964e1dc8430 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignInSettingTests.cs @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Xunit; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class SignInSettingTests : TestBase + { + [Fact] + public async Task CreateUpdateReset() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + // get the existing settings on the service + var portalSignInSettings = await testBase.client.SignInSettings.GetAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(portalSignInSettings); + + // disable portal signIn + portalSignInSettings.Enabled = false; + portalSignInSettings = testBase.client.SignInSettings.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + portalSignInSettings); + + Assert.NotNull(portalSignInSettings); + Assert.False(portalSignInSettings.Enabled); + + // check settings + var signInTag = await testBase.client.SignInSettings.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(signInTag); + Assert.NotNull(signInTag.ETag); + + // reset the signIn settings + portalSignInSettings.Enabled = true; + await testBase.client.SignInSettings.UpdateAsync( + testBase.rgName, + testBase.serviceName, + portalSignInSettings, + signInTag.ETag); + + // get the delegation settings + portalSignInSettings = await testBase.client.SignInSettings.GetAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(portalSignInSettings); + Assert.True(portalSignInSettings.Enabled); + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignUpSettingTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignUpSettingTests.cs new file mode 100644 index 000000000000..fc76fd952076 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SignUpSettingTests.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. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class SignUpSettingTests : TestBase + { + [Fact] + public async Task CreateUpdateReset() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // get the existing settings on the service + PortalSignupSettings defaultSignupSettings = await testBase.client.SignUpSettings.GetAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(defaultSignupSettings); + + // check settings Etag + var signUpTag = await testBase.client.SignUpSettings.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(signUpTag); + Assert.NotNull(signUpTag.ETag); + + // disable portal signIn + var portalSignUpSettingParams = new PortalSignupSettings() + { + Enabled = false, + TermsOfService = defaultSignupSettings.TermsOfService + }; + var portalSignUpSettings = testBase.client.SignUpSettings.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + portalSignUpSettingParams); + Assert.NotNull(portalSignUpSettings); + Assert.False(portalSignUpSettings.Enabled); + + signUpTag = await testBase.client.SignUpSettings.GetEntityTagAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(signUpTag); + Assert.NotNull(signUpTag.ETag); + + // reset the signIn settings + portalSignUpSettings.Enabled = defaultSignupSettings.Enabled; + portalSignUpSettings.TermsOfService = defaultSignupSettings.TermsOfService; + await testBase.client.SignUpSettings.UpdateAsync( + testBase.rgName, + testBase.serviceName, + portalSignUpSettings, + signUpTag.ETag); + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SubscriptionTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SubscriptionTests.cs index 671a4f0e4ef3..c5af4d5a3962 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SubscriptionTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/SubscriptionTests.cs @@ -42,7 +42,7 @@ public async Task CreateListUpdateDelete() new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); // get first subscription @@ -185,7 +185,7 @@ public async Task CreateListUpdateDelete() Assert.NotNull(subscriptionResponse.Headers.ETag); Assert.NotEqual(patchedPk, subscriptionResponse.Body.PrimaryKey); Assert.NotEqual(patchedSk, subscriptionResponse.Body.SecondaryKey); - + // delete the subscription testBase.client.Subscription.Delete( testBase.rgName, diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagDescriptionTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagDescriptionTests.cs new file mode 100644 index 000000000000..91d671a3e334 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagDescriptionTests.cs @@ -0,0 +1,193 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class TagDescriptionTests : TestBase + { + [Fact] + public async Task CreateListUpdateDelete() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + // list all the APIs + var listResponse = testBase.client.Api.ListByService( + testBase.rgName, + testBase.serviceName, + null); + Assert.NotNull(listResponse); + Assert.Single(listResponse); + Assert.NotNull(listResponse.NextPageLink); + + var echoApi = listResponse.First(); + + string tagId = TestUtilities.GenerateName("apiTag"); + try + { + string tagDisplayName = TestUtilities.GenerateName("apiTag"); + var createParameters = new TagCreateUpdateParameters(); + createParameters.DisplayName = tagDisplayName; + + // create a tag + var tagContract = testBase.client.Tag.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + tagId, + createParameters); + + Assert.NotNull(tagContract); + Assert.Equal(tagDisplayName, tagContract.DisplayName); + + // associate the tag with the API + tagContract = await testBase.client.Tag.AssignToApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagContract); + + // list tag description + var tagDescriptionList = await testBase.client.TagDescription.ListByApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name); + + Assert.NotNull(tagDescriptionList); + Assert.Empty(tagDescriptionList); + + // create a tag description + var tagDescriptionCreateParams = new TagDescriptionCreateParameters() + { + Description = TestUtilities.GenerateName("somedescription"), + ExternalDocsUrl = "http://somelog.content" + }; + var tagDescriptionContract = await testBase.client.TagDescription.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + tagDescriptionCreateParams); + Assert.NotNull(tagDescriptionContract); + Assert.Equal(tagDisplayName, tagDescriptionContract.DisplayName); + Assert.Equal(tagDescriptionCreateParams.Description, tagDescriptionContract.Description); + + // get the tagdescription etag + var tagDescriptionTag = await testBase.client.TagDescription.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagDescriptionTag); + Assert.NotNull(tagDescriptionTag.ETag); + + // update the tag description + tagDescriptionCreateParams.Description = TestUtilities.GenerateName("tag_update"); + tagDescriptionContract = await testBase.client.TagDescription.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + tagDescriptionCreateParams, + tagDescriptionTag.ETag); + Assert.NotNull(tagDescriptionContract); + Assert.Equal(tagDisplayName, tagDescriptionContract.DisplayName); + Assert.Equal(tagDescriptionCreateParams.Description, tagDescriptionContract.Description); + + // get the entity + tagDescriptionTag = await testBase.client.TagDescription.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagDescriptionTag); + Assert.NotNull(tagDescriptionTag.ETag); + + // delete the tag description + await testBase.client.TagDescription.DeleteAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + tagDescriptionTag.ETag); + + // get the entity tag + var tagTag = await testBase.client.Tag.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + tagId); + Assert.NotNull(tagTag); + Assert.NotNull(tagTag.ETag); + + // detach from Api + await testBase.client.Tag.DetachFromApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + tagTag.ETag); + + // get the entity tag + tagTag = await testBase.client.Tag.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + tagId); + Assert.NotNull(tagTag); + Assert.NotNull(tagTag.ETag); + + // delete the tag + await testBase.client.Tag.DeleteAsync( + testBase.rgName, + testBase.serviceName, + tagId, + tagTag.ETag); + + // delete the tag description + Assert.Throws(() + => testBase.client.Tag.Get( + testBase.rgName, + testBase.serviceName, + tagId)); + } + finally + { + // detach from api + testBase.client.Tag.DetachFromApi( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + "*"); + + // delete the tag description + testBase.client.TagDescription.Delete( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + "*"); + + // delete the tag + testBase.client.Tag.Delete( + testBase.rgName, + testBase.serviceName, + tagId, + "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagTests.cs new file mode 100644 index 000000000000..6ba1656f0a98 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/TagTests.cs @@ -0,0 +1,449 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// using ApiManagement.Management.Tests; + +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Xunit; +using System.Linq; +using System.Threading.Tasks; +using System; +using ApiManagementManagement.Tests.Helpers; + +namespace ApiManagement.Tests.ManagementApiTests +{ + public class TagTest : TestBase + { + [Fact] + public async Task CreateListUpdateDeleteApiTags() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var tagsResources = await testBase.client.Tag.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.Empty(tagsResources); + + // list all the APIs + var listResponse = testBase.client.Api.ListByService( + testBase.rgName, + testBase.serviceName, + null); + Assert.NotNull(listResponse); + Assert.Single(listResponse); + Assert.NotNull(listResponse.NextPageLink); + + var echoApi = listResponse.First(); + + string tagId = TestUtilities.GenerateName("apiTag"); + try + { + string tagDisplayName = TestUtilities.GenerateName("apiTag"); + var createParameters = new TagCreateUpdateParameters(); + createParameters.DisplayName = tagDisplayName; + + // create a tag + var tagContract = testBase.client.Tag.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + tagId, + createParameters); + + Assert.NotNull(tagContract); + Assert.Equal(tagDisplayName, tagContract.DisplayName); + + // associate the tag with the API + tagContract = await testBase.client.Tag.AssignToApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagContract); + + // get APIs with Tags + var apisWithTags = await testBase.client.Api.ListByTagsAsync( + testBase.rgName, + testBase.serviceName, + new Microsoft.Rest.Azure.OData.ODataQuery + { + Top = 1 + }); + Assert.NotNull(apisWithTags); + Assert.Single(apisWithTags); + Assert.Equal(tagContract.DisplayName, apisWithTags.GetEnumerator().ToIEnumerable().First().Tag.Name); + + // Tag list by API + var tagsInApi = await testBase.client.Tag.ListByApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name); + Assert.NotNull(tagsInApi); + Assert.Single(tagsInApi); + Assert.Equal(tagDisplayName, tagsInApi.GetEnumerator().ToIEnumerable().First().DisplayName); + + // get the tag on the api + var tagOnApi = await testBase.client.Tag.GetByApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagOnApi); + Assert.Equal(tagDisplayName, tagOnApi.DisplayName); + + // get the tag Etag + var tagEtagByApi = await testBase.client.Tag.GetEntityStateByApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId); + Assert.NotNull(tagEtagByApi); + Assert.NotNull(tagEtagByApi.ETag); + + // get the tag resources for the service. + var tagResources = await testBase.client.TagResource.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(tagResources); + Assert.Single(tagResources); + Assert.Equal(tagDisplayName, tagResources.GetEnumerator().ToIEnumerable().First().Tag.Name); + Assert.NotNull(tagResources.GetEnumerator().ToIEnumerable().First().Api); + Assert.Equal(echoApi.DisplayName, tagResources.GetEnumerator().ToIEnumerable().First().Api.Name); + + // detach the tag + await testBase.client.Tag.DetachFromApiAsync( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId, + tagEtagByApi.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetByApi( + testBase.rgName, + testBase.serviceName, + echoApi.Name, + tagId)); + + var tagEtag = await testBase.client.Tag.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + tagId); + Assert.NotNull(tagEtag); + Assert.NotNull(tagEtag.ETag); + + //delete the tag + await testBase.client.Tag.DeleteAsync( + testBase.rgName, + testBase.serviceName, + tagId, + tagEtag.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetEntityState( + testBase.rgName, + testBase.serviceName, + tagId)); + } + finally + { + testBase.client.Tag.DetachFromApi( + testBase.rgName, testBase.serviceName, echoApi.Name, tagId, "*"); + testBase.client.Tag.Delete( + testBase.rgName, testBase.serviceName, tagId, "*"); + } + } + } + + [Fact] + public async Task CreateListUpdateDeleteProductTags() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var tagsResources = await testBase.client.Tag.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.Empty(tagsResources); + + // list all the Product + var listResponse = testBase.client.Product.ListByService( + testBase.rgName, + testBase.serviceName, + null); + Assert.NotNull(listResponse); + Assert.Equal(2, listResponse.GetEnumerator().ToIEnumerable().Count()); + Assert.NotNull(listResponse.NextPageLink); + + var starterProduct = listResponse.First(); + + string tagId = TestUtilities.GenerateName("productTag"); + try + { + string tagDisplayName = TestUtilities.GenerateName("productTag"); + var createParameters = new TagCreateUpdateParameters(); + createParameters.DisplayName = tagDisplayName; + + // create a tag + var tagContract = testBase.client.Tag.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + tagId, + createParameters); + + Assert.NotNull(tagContract); + Assert.Equal(tagDisplayName, tagContract.DisplayName); + + // associate the tag with the API + tagContract = await testBase.client.Tag.AssignToProductAsync( + testBase.rgName, + testBase.serviceName, + starterProduct.Name, + tagId); + Assert.NotNull(tagContract); + + // Tag list by Prod + var tagsInProduct = await testBase.client.Tag.ListByProductAsync( + testBase.rgName, + testBase.serviceName, + starterProduct.Name); + Assert.NotNull(tagsInProduct); + Assert.Single(tagsInProduct); + Assert.Equal(tagDisplayName, tagsInProduct.GetEnumerator().ToIEnumerable().First().DisplayName); + + // get the tag on the api + var tagOnProduct = await testBase.client.Tag.GetByProductAsync( + testBase.rgName, + testBase.serviceName, + starterProduct.Name, + tagId); + Assert.NotNull(tagOnProduct); + Assert.Equal(tagDisplayName, tagOnProduct.DisplayName); + + // get the tag resources for the service. + var tagResources = await testBase.client.TagResource.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(tagResources); + Assert.Single(tagResources); + Assert.Equal(tagDisplayName, tagResources.First().Tag.Name); + Assert.Null(tagResources.First().Api); + Assert.Null(tagResources.First().Operation); + Assert.NotNull(tagResources.First().Product); + Assert.Equal(starterProduct.DisplayName, tagResources.First().Product.Name); + + // get the tag Etag + var tagEtagByProduct = await testBase.client.Tag.GetEntityStateByProductAsync( + testBase.rgName, + testBase.serviceName, + starterProduct.Name, + tagId); + Assert.NotNull(tagEtagByProduct); + Assert.NotNull(tagEtagByProduct.ETag); + + // detach the tag + await testBase.client.Tag.DetachFromProductAsync( + testBase.rgName, + testBase.serviceName, + starterProduct.Name, + tagId, + tagEtagByProduct.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetByProduct( + testBase.rgName, + testBase.serviceName, + starterProduct.Name, + tagId)); + + var tagEtag = await testBase.client.Tag.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + tagId); + Assert.NotNull(tagEtag); + Assert.NotNull(tagEtag.ETag); + + //delete the tag + await testBase.client.Tag.DeleteAsync( + testBase.rgName, + testBase.serviceName, + tagId, + tagEtag.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetEntityState( + testBase.rgName, + testBase.serviceName, + tagId)); + } + finally + { + testBase.client.Tag.DetachFromProduct( + testBase.rgName, testBase.serviceName, starterProduct.Name, tagId, "*"); + testBase.client.Tag.Delete( + testBase.rgName, testBase.serviceName, tagId, "*"); + } + } + } + + [Fact] + public async Task CreateListUpdateDeleteOperationTags() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.TryCreateApiManagementService(); + + var tagsResources = await testBase.client.Tag.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.Empty(tagsResources); + + // there should be 'Echo API' which is created by default for every new instance of API Management + var apis = testBase.client.Api.ListByService( + testBase.rgName, + testBase.serviceName); + + Assert.Single(apis); + var api = apis.Single(); + + // list paged + var listResponse = testBase.client.ApiOperation.ListByApi( + testBase.rgName, + testBase.serviceName, + api.Name, + new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); + + var firstOperation = listResponse.First(); + + string tagId = TestUtilities.GenerateName("operationTag"); + try + { + string tagDisplayName = TestUtilities.GenerateName("opreationTag"); + var createParameters = new TagCreateUpdateParameters(); + createParameters.DisplayName = tagDisplayName; + + // create a tag + var tagContract = testBase.client.Tag.CreateOrUpdate( + testBase.rgName, + testBase.serviceName, + tagId, + createParameters); + + Assert.NotNull(tagContract); + Assert.Equal(tagDisplayName, tagContract.DisplayName); + + // associate the tag with the API Operation + tagContract = await testBase.client.Tag.AssignToOperationAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId); + Assert.NotNull(tagContract); + + // Tag list by Api Operation + var tagsInOperation = await testBase.client.Tag.ListByOperationAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name); + Assert.NotNull(tagsInOperation); + Assert.Single(tagsInOperation); + Assert.Equal(tagDisplayName, tagsInOperation.First().DisplayName); + + // get the tag on the api operation + var tagOnOperation = await testBase.client.Tag.GetByOperationAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId); + Assert.NotNull(tagOnOperation); + Assert.Equal(tagDisplayName, tagOnOperation.DisplayName); + + // get the tag resources for the service. + var tagResources = await testBase.client.TagResource.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(tagResources); + Assert.Single(tagResources); + Assert.Equal(tagDisplayName, tagResources.First().Tag.Name); + Assert.Null(tagResources.First().Api); + Assert.NotNull(tagResources.First().Operation); + Assert.Null(tagResources.First().Product); + Assert.Equal(firstOperation.DisplayName, tagResources.GetEnumerator().ToIEnumerable().First().Operation.Name, true); + Assert.Equal(firstOperation.Method, tagResources.GetEnumerator().ToIEnumerable().First().Operation.Method); + + // get the tag Etag + var tagEtagByOperation = await testBase.client.Tag.GetEntityStateByOperationAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId); + Assert.NotNull(tagEtagByOperation); + Assert.NotNull(tagEtagByOperation.ETag); + + // detach the tag + await testBase.client.Tag.DetachFromOperationAsync( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId, + tagEtagByOperation.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetByOperation( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId)); + + var tagEtag = await testBase.client.Tag.GetEntityStateAsync( + testBase.rgName, + testBase.serviceName, + tagId); + Assert.NotNull(tagEtag); + Assert.NotNull(tagEtag.ETag); + + //delete the tag + await testBase.client.Tag.DeleteAsync( + testBase.rgName, + testBase.serviceName, + tagId, + tagEtag.ETag); + + Assert.Throws(() + => testBase.client.Tag.GetEntityState( + testBase.rgName, + testBase.serviceName, + tagId)); + } + finally + { + testBase.client.Tag.DetachFromOperation( + testBase.rgName, + testBase.serviceName, + api.Name, + firstOperation.Name, + tagId, + "*"); + testBase.client.Tag.Delete( + testBase.rgName, testBase.serviceName, tagId, "*"); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/UserTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/UserTests.cs index 46104f10b317..e41b6fbbcc08 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/UserTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/UserTests.cs @@ -19,6 +19,7 @@ public class UserTests : TestBase [Fact] public async Task CreateListUpdateDelete() { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) { var testBase = new ApiManagementTestBase(context); @@ -31,7 +32,7 @@ public async Task CreateListUpdateDelete() null); Assert.NotNull(listUsersResponse); - Assert.Equal(1, listUsersResponse.Count()); + Assert.Single(listUsersResponse); // create user string userId = TestUtilities.GenerateName("userId"); @@ -43,7 +44,7 @@ public async Task CreateListUpdateDelete() string userLastName = TestUtilities.GenerateName("userLastName"); string userPassword = TestUtilities.GenerateName("userPassword"); string userNote = TestUtilities.GenerateName("userNote"); - UserState? userSate = UserState.Active; + string userSate = UserState.Active; var userCreateParameters = new UserCreateParameters { @@ -86,7 +87,7 @@ public async Task CreateListUpdateDelete() Assert.NotNull(listUsersResponse); Assert.NotNull(listUsersResponse.NextPageLink); - Assert.Equal(1, listUsersResponse.Count()); + Assert.Single(listUsersResponse); // generate SSO token URL var genrateSsoResponse = testBase.client.User.GenerateSsoUrl( @@ -144,6 +145,7 @@ public async Task CreateListUpdateDelete() [Fact] public void UserIdentities() { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) { var testBase = new ApiManagementTestBase(context); @@ -158,7 +160,7 @@ public void UserIdentities() new Microsoft.Rest.Azure.OData.ODataQuery { Filter = "firstName eq 'Administrator'" }); Assert.NotNull(listUsersResponse); - Assert.Equal(1, listUsersResponse.Count()); + Assert.Single(listUsersResponse); var user = listUsersResponse.Single(); @@ -171,15 +173,16 @@ public void UserIdentities() Assert.NotNull(listResponse); // there should be Azure identification - Assert.Equal(1, listResponse.Value.Count()); - Assert.Equal(user.Email, listResponse.Value.Single().Id); - Assert.Equal("Azure", listResponse.Value.Single().Provider); + Assert.Single(listResponse); + Assert.Equal(user.Email, listResponse.Single().Id); + Assert.Equal("Azure", listResponse.Single().Provider); } } [Fact] public void GroupsListAddRemove() { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) { var testBase = new ApiManagementTestBase(context); @@ -238,7 +241,7 @@ public void GroupsListAddRemove() Assert.NotNull(listUserGroupsResponse); // there should be 'Developers' group by default - Assert.Equal(1, listUserGroupsResponse.Count()); + Assert.Single(listUserGroupsResponse); var group = listUserGroupsResponse.First(); // add the user to the group @@ -285,7 +288,7 @@ public void GroupsListAddRemove() Assert.NotNull(listUserGroupsResponse); // there should be default 'Developers' group - Assert.Equal(1, listUserGroupsResponse.Count()); + Assert.Single(listUserGroupsResponse); Assert.Equal("developers", listUserGroupsResponse.Single().Name); } finally @@ -305,7 +308,6 @@ public void GroupsListAddRemove() public void SubscriptionsList() { Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); - using (MockContext context = MockContext.Start(this.GetType().FullName)) { var testBase = new ApiManagementTestBase(context); @@ -333,14 +335,14 @@ public void SubscriptionsList() new Microsoft.Rest.Azure.OData.ODataQuery { Top = 1 }); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); // list next page listResponse = testBase.client.UserSubscription.ListNext(listResponse.NextPageLink); Assert.NotNull(listResponse); - Assert.Equal(1, listResponse.Count()); + Assert.Single(listResponse); Assert.NotNull(listResponse.NextPageLink); } } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInsideVirtualNetworkTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInVirtualNetworkTests.cs similarity index 67% rename from src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInsideVirtualNetworkTests.cs rename to src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInVirtualNetworkTests.cs index 2fd5947f7251..8438dc99dc09 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInsideVirtualNetworkTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateInVirtualNetworkTests.cs @@ -13,13 +13,15 @@ using System.Collections.Generic; using Xunit; using System; +using System.Linq; +using System.Threading.Tasks; namespace ApiManagement.Tests.ResourceProviderTests { public partial class ApiManagementServiceTests { [Fact] - public void CreateInVirtualNetworkTest() + public async Task CreateInVirtualNetworkTests() { Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) @@ -98,6 +100,38 @@ public void CreateInVirtualNetworkTest() Assert.Equal(createdService.Name, applyNetworkServiceResponse.Name); Assert.NotNull(applyNetworkServiceResponse.VirtualNetworkConfiguration); Assert.Equal(VirtualNetworkType.External, applyNetworkServiceResponse.VirtualNetworkType); + // get the network status by service + var serviceNetworkStatus = await testBase.client.NetworkStatus.ListByServiceAsync( + testBase.rgName, + testBase.serviceName); + Assert.NotNull(serviceNetworkStatus); + Assert.Single(serviceNetworkStatus); + Assert.Equal(testBase.location, serviceNetworkStatus.First().Location); + Assert.NotNull(serviceNetworkStatus.First().NetworkStatus.ConnectivityStatus); + Assert.NotNull(serviceNetworkStatus.First().NetworkStatus.DnsServers); + Assert.Equal("success", serviceNetworkStatus.First().NetworkStatus.ConnectivityStatus.First().Status, true); + Assert.NotNull(serviceNetworkStatus.First().NetworkStatus.ConnectivityStatus.First().Name); + + // get the network status by location + var serviceNetworkStatusByLocation = await testBase.client.NetworkStatus.ListByLocationAsync( + testBase.rgName, + testBase.serviceName, + createdService.Location); + Assert.NotNull(serviceNetworkStatusByLocation); + Assert.NotNull(serviceNetworkStatusByLocation.ConnectivityStatus); + Assert.NotNull(serviceNetworkStatusByLocation.DnsServers); + Assert.Equal("success", serviceNetworkStatusByLocation.ConnectivityStatus.First().Status, true); + Assert.NotNull(serviceNetworkStatusByLocation.ConnectivityStatus.First().Name); + + // Move to Internal Virtual Network + testBase.serviceProperties.VirtualNetworkType = VirtualNetworkType.Internal; + var updatedService = testBase.client.ApiManagementService.CreateOrUpdate( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName, + parameters: testBase.serviceProperties); + Assert.Equal(VirtualNetworkType.Internal, updatedService.VirtualNetworkType); + Assert.NotNull(updatedService.VirtualNetworkConfiguration); + Assert.Equal(getSubnetResponse.Id, updatedService.VirtualNetworkConfiguration.SubnetResourceId); // Delete testBase.client.ApiManagementService.Delete( diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiHostNameService.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiHostNameService.cs index f76245e4a01b..d0a34a62dbcc 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiHostNameService.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiHostNameService.cs @@ -30,23 +30,25 @@ public void CreateMultiHostNameService() var hostnameConfig1 = new HostnameConfiguration() { Type = HostnameType.Proxy, - HostName = "gateway1.powershelltest.net", + HostName = "gateway1.msitesting.net", EncodedCertificate = testBase.base64EncodedTestCertificateData, - CertificatePassword = testBase.testCertificatePassword + CertificatePassword = testBase.testCertificatePassword, + DefaultSslBinding = true }; var hostnameConfig2 = new HostnameConfiguration() { Type = HostnameType.Proxy, - HostName = "gateway2.powershelltest.net", + HostName = "gateway2.msitesting.net", EncodedCertificate = testBase.base64EncodedTestCertificateData, - CertificatePassword = testBase.testCertificatePassword + CertificatePassword = testBase.testCertificatePassword, + NegotiateClientCertificate = true }; var hostnameConfig3 = new HostnameConfiguration() { Type = HostnameType.Portal, - HostName = "portal1.powershelltest.net", + HostName = "portal1.msitesting.net", EncodedCertificate = testBase.base64EncodedTestCertificateData, CertificatePassword = testBase.testCertificatePassword }; @@ -87,7 +89,23 @@ public void CreateMultiHostNameService() Assert.NotNull(hostnameConfiguration.Certificate); Assert.NotNull(hostnameConfiguration.Certificate.Subject); Assert.Equal(cert.Thumbprint, hostnameConfiguration.Certificate.Thumbprint); - Assert.Equal(false, hostnameConfiguration.NegotiateClientCertificate); + if (HostnameType.Proxy == hostnameConfiguration.Type) + { + Assert.True(hostnameConfiguration.DefaultSslBinding); + } + else + { + Assert.False(hostnameConfiguration.DefaultSslBinding); + } + + if (hostnameConfig2.HostName.Equals(hostnameConfiguration.HostName)) + { + Assert.True(hostnameConfiguration.NegotiateClientCertificate); + } + else + { + Assert.False(hostnameConfiguration.NegotiateClientCertificate); + } } // Delete diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiRegionService.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiRegionService.cs index 04cbdb8fb1fc..5d3445f9a2c7 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiRegionService.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/CreateMultiRegionService.cs @@ -54,7 +54,7 @@ public void CreateMultiRegionService() testBase.tags); Assert.NotNull(createdService.AdditionalLocations); - Assert.Equal(1, createdService.AdditionalLocations.Count()); + Assert.Single(createdService.AdditionalLocations); Assert.Equal(additionalLocation.Location.ToLowerInvariant().Replace(" ", string.Empty), createdService.AdditionalLocations.First().Location.ToLowerInvariant().Replace(" ", string.Empty)); diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/InstallIntermediateCertificatesTest.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/InstallIntermediateCertificatesTest.cs new file mode 100644 index 000000000000..e566b6876af7 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/InstallIntermediateCertificatesTest.cs @@ -0,0 +1,76 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// + +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Azure.Management.ResourceManager; +using Microsoft.Rest.Azure; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Cryptography.X509Certificates; +using Xunit; + +namespace ApiManagement.Tests.ResourceProviderTests +{ + public partial class ApiManagementServiceTests + { + [Fact] + public void InstallIntermediateCertificatesTest() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + testBase.serviceProperties.Sku.Name = SkuType.Basic; + + testBase.serviceProperties.Certificates = new List(); + var certConfig = new CertificateConfiguration() + { + StoreName = StoreName.CertificateAuthority.ToString("G"), + EncodedCertificate = testBase.base64EncodedTestCertificateData, + CertificatePassword = testBase.testCertificatePassword + }; + testBase.serviceProperties.Certificates.Add(certConfig); + + var base64ArrayCertificate = Convert.FromBase64String(testBase.base64EncodedTestCertificateData); + var cert = new X509Certificate2(base64ArrayCertificate, testBase.testCertificatePassword); + + var createdService = testBase.client.ApiManagementService.CreateOrUpdate( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName, + parameters: testBase.serviceProperties); + + ValidateService(createdService, + testBase.serviceName, + testBase.rgName, + testBase.subscriptionId, + testBase.location, + testBase.serviceProperties.PublisherEmail, + testBase.serviceProperties.PublisherName, + testBase.serviceProperties.Sku.Name, + testBase.tags); + + Assert.NotNull(createdService.Certificates); + Assert.Single(createdService.Certificates); + Assert.Equal(StoreName.CertificateAuthority.ToString("G"), createdService.Certificates.First().StoreName, ignoreCase: true); + Assert.Equal(cert.Thumbprint, createdService.Certificates.First().Certificate.Thumbprint, ignoreCase: true); + + // Delete + testBase.client.ApiManagementService.Delete( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + + Assert.Throws(() => + { + testBase.client.ApiManagementService.Get( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + }); + } + } + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/ResourceProviderTestBase.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/ResourceProviderTestBase.cs index 835229ce378f..c244d0276351 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/ResourceProviderTestBase.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/ResourceProviderTestBase.cs @@ -21,7 +21,7 @@ private void ValidateService( string expectedLocation, string expectedPublisherEmail, string expectedPublisherName, - SkuType expectedSku, + string expectedSkuName, Dictionary expectedTags) { Assert.NotNull(service); @@ -31,14 +31,14 @@ private void ValidateService( Assert.Equal(expectedResourceId, service.Id); Assert.Equal(expectedLocation, service.Location); - Assert.Equal(expectedSku, service.Sku.Name); + Assert.Equal(expectedSkuName, service.Sku.Name, true); Assert.Equal(expectedServiceName, service.Name); Assert.True(expectedTags.DictionaryEqual(service.Tags)); Assert.NotNull(service.PortalUrl); Assert.NotNull(service.GatewayUrl); Assert.NotNull(service.ManagementApiUrl); Assert.NotNull(service.ScmUrl); - Assert.NotNull(service.StaticIps); + Assert.NotNull(service.PublicIPAddresses); Assert.Equal(expectedPublisherName, service.PublisherName); Assert.Equal(expectedPublisherEmail, service.PublisherEmail); } diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/SetupMsiTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/SetupMsiTests.cs new file mode 100644 index 000000000000..662877ffe19a --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/SetupMsiTests.cs @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// + +using System; +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Azure.Management.ResourceManager; +using Microsoft.Rest.Azure; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using Xunit; + +namespace ApiManagement.Tests.ResourceProviderTests +{ + public partial class ApiManagementServiceTests + { + [Fact] + public void SetupMsiTests() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + + testBase.serviceProperties.Identity = new ApiManagementServiceIdentity(); + var createdService = testBase.client.ApiManagementService.CreateOrUpdate( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName, + parameters: testBase.serviceProperties); + + ValidateService(createdService, + testBase.serviceName, + testBase.rgName, + testBase.subscriptionId, + testBase.location, + testBase.serviceProperties.PublisherEmail, + testBase.serviceProperties.PublisherName, + testBase.serviceProperties.Sku.Name, + testBase.tags); + + Assert.NotNull(createdService.Identity); + Assert.NotNull(createdService.Identity.PrincipalId); + Assert.NotNull(createdService.Identity.TenantId); + + // Delete + testBase.client.ApiManagementService.Delete( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + + Assert.Throws(() => + { + testBase.client.ApiManagementService.Get( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + }); + } + } + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/UpdateHostNameTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/UpdateHostNameTests.cs new file mode 100644 index 000000000000..44b1b8a42ae2 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ResourceProviderTests/UpdateHostNameTests.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. +// + +using Microsoft.Azure.Management.ApiManagement; +using Microsoft.Azure.Management.ApiManagement.Models; +using Microsoft.Azure.Management.ResourceManager; +using Microsoft.Rest.Azure; +using Microsoft.Rest.ClientRuntime.Azure.TestFramework; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Security.Cryptography.X509Certificates; +using System.Threading.Tasks; +using Xunit; + +namespace ApiManagement.Tests.ResourceProviderTests +{ + public partial class ApiManagementServiceTests + { + [Fact] + public async Task UpdateHostNameTests() + { + Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); + using (MockContext context = MockContext.Start(this.GetType().FullName)) + { + var testBase = new ApiManagementTestBase(context); + + var createdService = testBase.client.ApiManagementService.CreateOrUpdate( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName, + parameters: testBase.serviceProperties); + + ValidateService(createdService, + testBase.serviceName, + testBase.rgName, + testBase.subscriptionId, + testBase.location, + testBase.serviceProperties.PublisherEmail, + testBase.serviceProperties.PublisherName, + testBase.serviceProperties.Sku.Name, + testBase.tags); + + var base64ArrayCertificate = Convert.FromBase64String(testBase.base64EncodedTestCertificateData); + var cert = new X509Certificate2(base64ArrayCertificate, testBase.testCertificatePassword); + + var uploadCertificateParams = new ApiManagementServiceUploadCertificateParameters() + { + Type = HostnameType.Proxy, + Certificate = testBase.base64EncodedTestCertificateData, + CertificatePassword = testBase.testCertificatePassword + }; + var certificateInformation = await testBase.client.ApiManagementService.UploadCertificateAsync(testBase.rgName, testBase.serviceName, uploadCertificateParams); + + Assert.NotNull(certificateInformation); + Assert.Equal(cert.Thumbprint, certificateInformation.Thumbprint); + Assert.Equal(cert.Subject, certificateInformation.Subject); + + var updateHostnameParams = new ApiManagementServiceUpdateHostnameParameters() + { + Update = new List() + { new HostnameConfigurationOld(HostnameType.Proxy, "proxy.msitesting.net", certificateInformation) } + }; + + var serviceResource = await testBase.client.ApiManagementService.UpdateHostnameAsync( + testBase.rgName, + testBase.serviceName, + updateHostnameParams); + + Assert.NotNull(serviceResource); + Assert.Single(serviceResource.HostnameConfigurations); + Assert.Equal(HostnameType.Proxy, serviceResource.HostnameConfigurations.First().Type); + Assert.Equal("proxy.msitesting.net", serviceResource.HostnameConfigurations.First().HostName); + + // Delete + testBase.client.ApiManagementService.Delete( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + + Assert.Throws(() => + { + testBase.client.ApiManagementService.Get( + resourceGroupName: testBase.rgName, + serviceName: testBase.serviceName); + }); + } + } + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/Resources/Weather.wsdl b/src/SDKs/ApiManagement/ApiManagement.Tests/Resources/Weather.wsdl new file mode 100644 index 000000000000..37e46f19debf --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/Resources/Weather.wsdl @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Gets Information for each WeatherID + + + + + Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only + + + + + Allows you to get your City's Weather, which is updated hourly. U.S. Only + + + + + + + Gets Information for each WeatherID + + + + + Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only + + + + + Allows you to get your City's Weather, which is updated hourly. U.S. Only + + + + + + + Gets Information for each WeatherID + + + + + Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only + + + + + Allows you to get your City's Weather, which is updated hourly. U.S. Only + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/SwaggerTest.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/SwaggerTest.json new file mode 100644 index 000000000000..a798a44172b6 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/SwaggerTest.json @@ -0,0 +1,403 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "ea7a8560-0e19-452d-9bcf-6cdd79ab0c2b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9b3857d5-4c3d-4858-ba12-861162bd8b92", + "015d9485-b682-424b-b799-0b8d9f5f26d7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "115c9d3d-8700-45d4-85c0-74167bb0856e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003748Z:115c9d3d-8700-45d4-85c0-74167bb0856e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "89c1a535-04ee-46f5-8c5a-e21a7e3bbe78" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "999cc693-3c15-4199-be6e-235e59680240" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "5f6f9853-8215-4750-bc13-c5af9c684294" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003748Z:5f6f9853-8215-4750-bc13-c5af9c684294" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDE4OTk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"path\": \"swaggerApi\",\r\n \"contentValue\": \"{\\r\\n \\\"x-comment\\\": \\\"This file was extended from /github.com/swagger-api/swagger-spec/blob/master/examples/v2.0/json/petstore-with-external-docs.json\\\",\\r\\n \\\"swagger\\\": \\\"2.0\\\",\\r\\n \\\"info\\\": {\\r\\n \\\"version\\\": \\\"1.0.0\\\",\\r\\n \\\"title\\\": \\\"Swagger Petstore Extensive\\\",\\r\\n \\\"description\\\": \\\"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\\\",\\r\\n \\\"termsOfService\\\": \\\"http://helloreverb.com/terms/\\\",\\r\\n \\\"contact\\\": {\\r\\n \\\"name\\\": \\\"Wordnik API Team\\\",\\r\\n \\\"email\\\": \\\"foo@example.com\\\",\\r\\n \\\"url\\\": \\\"http://madskristensen.net\\\"\\r\\n },\\r\\n \\\"license\\\": {\\r\\n \\\"name\\\": \\\"MIT\\\",\\r\\n \\\"url\\\": \\\"http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT\\\"\\r\\n }\\r\\n },\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"host\\\": \\\"petstore.swagger.wordnik.com\\\",\\r\\n \\\"basePath\\\": \\\"/api\\\",\\r\\n \\\"schemes\\\": [\\r\\n \\\"http\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"paths\\\": {\\r\\n \\\"/mySamplePath?willbeignored={willbeignored}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid1\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyDateHeaderParam\\\",\\r\\n \\\"in\\\": \\\"header\\\",\\r\\n \\\"description\\\": \\\"dummyDateHeaderParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"date\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyNotReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyNotReqQueryParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"dummyBodyParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\",\\r\\n \\\"example\\\": {\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"description\\\": \\\"sampleheader\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"application/json\\\": {\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\" \\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/resourceWithFormData\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"resourceWithFormData desc\\\",\\r\\n \\\"operationId\\\": \\\"resourceWithFormDataPOST\\\",\\r\\n \\\"consumes\\\": [ \\\"multipart/form-data\\\" ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyFormDataParam\\\",\\r\\n \\\"in\\\": \\\"formData\\\",\\r\\n \\\"description\\\": \\\"dummyFormDataParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"sample response\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/mySamplePath2?definedQueryParam={definedQueryParam}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"produces\\\": [\\r\\n \\\"contenttype1\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid2\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyQueryParameterDef\\\"\\r\\n },\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyBodyParameterDef\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"$ref\\\": \\\"#/responses/dummyResponseDef\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets2?dummyParam={dummyParam}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Dummy description\\\",\\r\\n \\\"operationId\\\": \\\"dummyOperationId\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyParam desc\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns all pets from the system that the user has access to\\\",\\r\\n \\\"operationId\\\": \\\"findPets\\\",\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"tags\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"tags to filter by\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Creates a new pet in the store. Duplicates are allowed\\\",\\r\\n \\\"operationId\\\": \\\"addPet\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"pet\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"Pet to add to the store\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/newPet\\\"\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets/{id}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns a user based on a single ID, if the user does not have access to the pet\\\",\\r\\n \\\"operationId\\\": \\\"findPetById\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\",\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to fetch\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"delete\\\": {\\r\\n \\\"description\\\": \\\"deletes a single pet based on the ID supplied\\\",\\r\\n \\\"operationId\\\": \\\"deletePet\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to delete\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"description\\\": \\\"pet deleted\\\"\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"definitions\\\": {\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"id\\\",\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"code\\\",\\r\\n \\\"message\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"parameters\\\": {\\r\\n \\\"dummyBodyParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"definedBodyParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"title\\\": \\\"Example Schema\\\",\\r\\n \\\"type\\\": \\\"object\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"firstName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"lastName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"age\\\": {\\r\\n \\\"description\\\": \\\"Age in years\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"minimum\\\": 0\\r\\n }\\r\\n },\\r\\n \\\"required\\\": [ \\\"firstName\\\", \\\"lastName\\\" ]\\r\\n }\\r\\n },\\r\\n \\\"dummyQueryParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"definedQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"whateverformat\\\"\\r\\n }\\r\\n },\\r\\n \\\"responses\\\": {\\r\\n \\\"dummyResponseDef\\\": {\\r\\n \\\"description\\\": \\\"dummyResponseDef description\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n },\\r\\n \\\"header2\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"contenttype1\\\": \\\"contenttype1 example\\\",\\r\\n \\\"contenttype2\\\": \\\"contenttype2 example\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\",\r\n \"contentFormat\": \"swagger-json\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "18238" + ], + "x-ms-client-request-id": [ + "9d1aa877-8569-444d-82d8-f79add2ffdd9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid1899\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerApi\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "844" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANIA=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8a10f6a7-fdfb-4c9e-b4de-1c0151cc3abe" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "6686461a-6347-4ab5-9087-33fa93c99c1c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003749Z:6686461a-6347-4ab5-9087-33fa93c99c1c" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDE4OTk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "92d2d836-1e65-4023-b6d1-caf5fed1cdc8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid1899\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerApi\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANIA=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0feea9fd-a05d-4c9a-a31e-b9508963bfc6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "43ffc04e-010f-4914-82e9-3147f1e35c75" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003749Z:43ffc04e-010f-4914-82e9-3147f1e35c75" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899?format=swagger-link&export=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDE4OTk/Zm9ybWF0PXN3YWdnZXItbGluayZleHBvcnQ9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ff751889-dd69-4808-b475-e1a2701825d8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"link\": \"https://apimgmtstkjpszvoe48cckrb.blob.core.windows.net/api-export/Swagger Petstore Extensive.json?sv=2015-07-08&sr=b&sig=9UUfDaEVL9ilPioHVB8U5vDSglYU4VhiiExXse%2FtHrY%3D&se=2018-02-20T00:42:51Z&sp=r\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "212" + ], + "Content-Type": [ + "application/vnd.swagger.link+json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANIA=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b9882ace-a19e-445b-bd13-c84e9e8b50fa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "19a91138-24c5-492d-a6fe-247065c9bd4d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003749Z:19a91138-24c5-492d-a6fe-247065c9bd4d" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid1899?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDE4OTk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a441e5f0-a7d0-4e73-af27-9bb6c72ab39d" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:37:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ea33cf11-0f2d-4cae-8c35-ecb890c72b84" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "b014b13d-1c3c-43fa-8ecf-66ae34d17310" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003750Z:b014b13d-1c3c-43fa-8ecf-66ae34d17310" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "SwaggerTest": [ + "aid1899" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WadlTest.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WadlTest.json new file mode 100644 index 000000000000..77272ba6da43 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WadlTest.json @@ -0,0 +1,403 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "2b268d10-4464-499d-b831-5c4ee05f267f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f8971a17-a702-47f1-9630-2dc9a40a4421", + "e0e82f5e-bc68-465d-9f70-2b12952156e2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "79c0c235-1c96-4253-849d-c7e5cfdb1055" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003813Z:79c0c235-1c96-4253-849d-c7e5cfdb1055" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77421653-6154-44ae-84d9-33e2ea896533" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "67a09437-417d-4b50-b861-a1db1bab24a6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "24623625-365c-4ccf-addf-68e25635d1db" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003813Z:24623625-365c-4ccf-addf-68e25635d1db" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDM2MDk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"path\": \"yahooWadl\",\r\n \"contentValue\": \"\\r\\n\\r\\n Yahoo News Search API\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\",\r\n \"contentFormat\": \"wadl-xml\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "4325" + ], + "x-ms-client-request-id": [ + "0f5e1872-c757-4c61-9594-93a36ef79420" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid3609\",\r\n \"properties\": {\r\n \"displayName\": \"Yahoo News Search\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"Yahoo News Search API\",\r\n \"serviceUrl\": \"http://api.search.yahoo.com/NewsSearchService/V1/\",\r\n \"path\": \"yahooWadl\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "762" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANIs=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8097d5c6-eb44-4dc9-8525-29172e8271a7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "22fa4783-6d0b-454e-b493-a97ec80b6283" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003814Z:22fa4783-6d0b-454e-b493-a97ec80b6283" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDM2MDk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6fc19713-8e43-43b6-95ec-2ed111de86a0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid3609\",\r\n \"properties\": {\r\n \"displayName\": \"Yahoo News Search\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"Yahoo News Search API\",\r\n \"serviceUrl\": \"http://api.search.yahoo.com/NewsSearchService/V1/\",\r\n \"path\": \"yahooWadl\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANIs=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e8844f81-3b01-49c7-a94d-873add8ba489" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "30e7099e-5a96-4147-a04a-bc4e04c0078c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003814Z:30e7099e-5a96-4147-a04a-bc4e04c0078c" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609?format=wadl-link&export=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDM2MDk/Zm9ybWF0PXdhZGwtbGluayZleHBvcnQ9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9c072ce3-ccb8-46f8-8ffb-0213806cfdf4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"link\": \"https://apimgmtstkjpszvoe48cckrb.blob.core.windows.net/api-export/Yahoo News Search.xml?sv=2015-07-08&sr=b&sig=ph65JDy5bGXkfhwkPp8IDnyyKRgdqGJlAzxXUDGt1p8%3D&se=2018-02-20T00:43:16Z&sp=r\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "200" + ], + "Content-Type": [ + "application/vnd.sun.wadl.link+json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANIs=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7b2c025a-a416-4d90-987b-9ecf45fa1629" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "6112cd87-bfdf-4ee2-80ff-9796a1d5e8a2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003814Z:6112cd87-bfdf-4ee2-80ff-9796a1d5e8a2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid3609?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDM2MDk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4a01501e-3c05-4fab-9558-2b3eacacbd49" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:38:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c438c5c5-f51a-4fa8-8aa0-797ddfc23e0e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "52ff19e5-5253-400b-9824-ed39803322e4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T003815Z:52ff19e5-5253-400b-9824-ed39803322e4" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "WadlTest": [ + "aid3609" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WsdlTest.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WsdlTest.json new file mode 100644 index 000000000000..6ecb1e7d7375 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiExportImportTests/WsdlTest.json @@ -0,0 +1,421 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "05750d91-b546-4463-a854-041500502b2f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:40:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d9a0fd97-cc6a-4bbf-88a0-9d86968fb2d7", + "5acf95b4-20fa-476a-b5d7-009b00328857" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "7e86fd10-0e6a-48c4-bbfb-b1f4e79366e5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014035Z:7e86fd10-0e6a-48c4-bbfb-b1f4e79366e5" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "60b79726-3ebf-4741-8237-1072cc3e0d15" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:40:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a5a1ea48-5ef7-4358-a3e9-f06b036609cd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "8eb8d849-07aa-4ea6-af8b-2cd56d9d6ebc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014035Z:8eb8d849-07aa-4ea6-af8b-2cd56d9d6ebc" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDIwMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"path\": \"weatherapi\",\r\n \"contentValue\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Gets Information for each WeatherID\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City's Weather, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Gets Information for each WeatherID\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City's Weather, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Gets Information for each WeatherID\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City Forecast Over the Next 7 Days, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n Allows you to get your City's Weather, which is updated hourly. U.S. Only\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\",\r\n \"contentFormat\": \"wsdl\",\r\n \"wsdlSelector\": {\r\n \"wsdlServiceName\": \"Weather\",\r\n \"wsdlEndpointName\": \"WeatherSoap\"\r\n },\r\n \"apiType\": \"soap\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "18972" + ], + "x-ms-client-request-id": [ + "6c756b88-ff70-4639-8dd3-545c3faa6190" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid2008\",\r\n \"properties\": {\r\n \"displayName\": \"Weather\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://wsf.cdyne.com/WeatherWS/Weather.asmx\",\r\n \"path\": \"weatherapi\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"type\": \"soap\",\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "749" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:40:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN4g=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "033a69d8-74d7-4150-aae1-ca667835df3b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "94d34acc-6119-4320-933d-5028887bfbee" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014057Z:94d34acc-6119-4320-933d-5028887bfbee" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDIwMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b10d761d-0a19-4745-b7d3-aca5db5b711a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"aid2008\",\r\n \"properties\": {\r\n \"displayName\": \"Weather\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://wsf.cdyne.com/WeatherWS/Weather.asmx\",\r\n \"path\": \"weatherapi\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"type\": \"soap\",\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:41:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAN4g=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0a7366b8-65d5-437f-9db4-2b4fa8789217" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "2aef1c86-c281-47c2-8965-22e801be2f48" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014126Z:2aef1c86-c281-47c2-8965-22e801be2f48" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008?format=wsdl-link&export=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDIwMDg/Zm9ybWF0PXdzZGwtbGluayZleHBvcnQ9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cf834395-93aa-45c8-8692-b02e4cebb6aa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"link\": \"https://apimgmtstkjpszvoe48cckrb.blob.core.windows.net/api-export/Weather.xsd?sv=2015-07-08&sr=b&sig=ebMm4fc7jwaMMSalGFrRb6jqcmaiWCHX8l%2FI0KCJxPo%3D&se=2018-03-07T01:46:46Z&sp=r\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "192" + ], + "Content-Type": [ + "application/vnd.ms.wsdl.link+xml; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:41:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN4g=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "70d264f1-038e-44ce-90c2-f7e00ef14ad3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "0b68fbff-45f2-43af-af7e-dd1348d52a7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014148Z:0b68fbff-45f2-43af-af7e-dd1348d52a7b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/aid2008?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FpZDIwMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1f02bd8c-a47b-43b9-ab28-4d298bd0bf7c" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 07 Mar 2018 01:42:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "344ea8de-eefb-413c-8e23-1b0ecfbcebdf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "a67fff9a-7138-4ba3-89ab-e27da20b46f0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180307T014236Z:a67fff9a-7138-4ba3-89ab-e27da20b46f0" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "WsdlTest": [ + "aid2008" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiOperationTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiOperationTests/CreateListUpdateDelete.json index 284623f022de..429fdc9bcd7b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiOperationTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiOperationTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "b1a5e849-7abb-4558-9e7b-88b0c9192023" + "0168430c-39b0-41df-874c-5070595569fc" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:29 GMT" + "Mon, 19 Feb 2018 23:55:23 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fcab415a-d0f7-494f-9fed-e692432a7671", - "e96a9859-42c0-4ede-b65f-541d6ea8b0aa" + "5f65171e-8673-41a0-a22d-f778aa85a1b1", + "2e045f02-29b3-469f-932d-413eeec85eef" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1197" ], "x-ms-correlation-request-id": [ - "dd17d214-de5c-4241-8478-ce5af995f996" + "df0e9179-47f2-4306-9a5c-491fc6ca6b78" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191829Z:dd17d214-de5c-4241-8478-ce5af995f996" + "WESTUS2:20180219T235523Z:df0e9179-47f2-4306-9a5c-491fc6ca6b78" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "38583363-6a96-4274-9334-27d209f11dba" + "fb06778c-c3be-455d-971e-cdcfe072cfa5" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:29 GMT" + "Mon, 19 Feb 2018 23:55:23 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e2da8f46-eb9f-42ea-8fd9-0b5fab802e8a" + "f47dcc4b-1d81-4732-afba-4c0e01c3cef0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14993" ], "x-ms-correlation-request-id": [ - "2d3c80f0-3a55-4b1f-b82a-be7662a7609a" + "e6fa0c82-f34e-4fc5-a73f-6c208a8febbe" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191829Z:2d3c80f0-3a55-4b1f-b82a-be7662a7609a" + "WESTUS2:20180219T235523Z:e6fa0c82-f34e-4fc5-a73f-6c208a8febbe" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fe8688a7-25b4-4807-bb65-593a4c205389" + "cd375233-aa0d-4968-aeca-0d43360d53e3" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:29 GMT" + "Mon, 19 Feb 2018 23:55:23 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8e8b4dae-8a83-41e6-a499-e879e2f4d654" + "1f056d11-3184-4cb5-903b-71a1978e9d26" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14992" ], "x-ms-correlation-request-id": [ - "778b6e53-dea7-4668-aec8-63d6d674edfd" + "f8c79a92-0884-4824-820c-e2f9537b61b1" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191830Z:778b6e53-dea7-4668-aec8-63d6d674edfd" + "WESTUS2:20180219T235523Z:f8c79a92-0884-4824-820c-e2f9537b61b1" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a5454ade-15f0-4823-af07-c37f2a28bc01" + "bf5a5256-c6dc-470f-b2a9-d200a0dd8e2e" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:30 GMT" + "Mon, 19 Feb 2018 23:55:23 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "eba61599-f802-4299-8284-62827e0d30d8" + "a2133d74-7c82-4d59-91b3-1c77acd5a0c6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14991" ], "x-ms-correlation-request-id": [ - "fb87b8fa-3610-4763-8f25-2351ab761f80" + "b6fad7e4-61d7-4186-a935-cba57f5835a7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191830Z:fb87b8fa-3610-4763-8f25-2351ab761f80" + "WESTUS2:20180219T235524Z:b6fad7e4-61d7-4186-a935-cba57f5835a7" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?$top=3&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/JHRvcD0zJmFwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?$top=3&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/JHRvcD0zJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0b61104c-67d5-4b70-a942-2c690e82878f" + "851b8586-20da-4cf9-92a6-01ebef03592a" ], "accept-language": [ "en-US" @@ -274,7 +274,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?%24top=3&api-version=2017-03-01&%24skip=3\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?%24top=3&api-version=2018-01-01&%24skip=3\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:30 GMT" + "Mon, 19 Feb 2018 23:55:24 GMT" ], "Pragma": [ "no-cache" @@ -304,28 +304,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "652bbe61-c97f-437e-be1e-ebe5ee1395d2" + "8a4ef233-3e57-4ea8-8c41-6331130fd068" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14990" ], "x-ms-correlation-request-id": [ - "eabdf3bc-28d1-47ca-8289-de2a3c6cc950" + "c20f1f4a-0ab9-4e1d-b8a1-0cb679c42e42" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191830Z:eabdf3bc-28d1-47ca-8289-de2a3c6cc950" + "WESTUS2:20180219T235524Z:c20f1f4a-0ab9-4e1d-b8a1-0cb679c42e42" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?%24top=3&api-version=2017-03-01&%24skip=3", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/JTI0dG9wPTMmYXBpLXZlcnNpb249MjAxNy0wMy0wMSYlMjRza2lwPTM=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?%24top=3&api-version=2018-01-01&%24skip=3", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/JTI0dG9wPTMmYXBpLXZlcnNpb249MjAxOC0wMS0wMSYlMjRza2lwPTM=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b2164263-ab10-4601-8bf7-2222ed3a6256" + "a98cc8f7-e3d3-4076-81d4-6a7d9704bc46" ], "accept-language": [ "en-US" @@ -335,7 +335,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +347,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:30 GMT" + "Mon, 19 Feb 2018 23:55:24 GMT" ], "Pragma": [ "no-cache" @@ -365,28 +365,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3faf5ba8-7b79-478c-bdf8-58a77425a88f" + "10d8279f-9783-41f4-94ed-4ea7f03adcaf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14989" ], "x-ms-correlation-request-id": [ - "d8a9f282-4aff-4535-bf41-ead6fe90f7a7" + "d78b718c-d718-4841-8e91-8a955f5e8bc6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191830Z:d8a9f282-4aff-4535-bf41-ead6fe90f7a7" + "WESTUS2:20180219T235524Z:d78b718c-d718-4841-8e91-8a955f5e8bc6" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvcmV0cmlldmUtaGVhZGVyLW9ubHk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvcmV0cmlldmUtaGVhZGVyLW9ubHk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d61b76ff-e47e-4a3b-98c5-d17fe9936470" + "4ee255ae-d3da-47ab-a36c-717c76d977d0" ], "accept-language": [ "en-US" @@ -408,7 +408,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:30 GMT" + "Mon, 19 Feb 2018 23:55:24 GMT" ], "Pragma": [ "no-cache" @@ -429,34 +429,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9d73238f-333e-4379-8650-51666e7689fa" + "c3468a30-f02c-48d9-ba39-fd6625cbb159" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14988" ], "x-ms-correlation-request-id": [ - "09d65c87-84f7-4151-9e4a-58d4d1f6cbdd" + "fa923219-4674-4eb3-a838-45728efe80f4" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191831Z:09d65c87-84f7-4151-9e4a-58d4d1f6cbdd" + "WESTUS2:20180219T235524Z:fa923219-4674-4eb3-a838-45728efe80f4" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"operationDescription8663\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription9632\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4765\",\r\n \"description\": \"newOperationRequestParamDescr990\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue6624\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue6624\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4650\",\r\n \"description\": \"newOperationRequestHeaderParamDescr7704\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8907\",\r\n \"sample\": \"newOperationRequestRepresentationSample7279\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription5050\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType8695\",\r\n \"sample\": \"newOperationResponseRepresentationSample1493\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"displayName\": \"operationName5974\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"operationDescription897\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription4950\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4350\",\r\n \"description\": \"newOperationRequestParamDescr1620\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue9009\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue9009\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4177\",\r\n \"description\": \"newOperationRequestHeaderParamDescr5816\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8701\",\r\n \"sample\": \"newOperationRequestRepresentationSample8643\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription4452\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType448\",\r\n \"sample\": \"newOperationResponseRepresentationSample4044\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"displayName\": \"operationName1621\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "1744" + "1743" ], "x-ms-client-request-id": [ - "79534d7f-8cc8-4f35-8990-68a3c1bfbafd" + "4c2aca4f-92fb-461f-bef8-e059ada1d3da" ], "accept-language": [ "en-US" @@ -466,10 +466,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2082\",\r\n \"properties\": {\r\n \"displayName\": \"operationName5974\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"operationDescription8663\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription9632\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4765\",\r\n \"description\": \"newOperationRequestParamDescr990\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue6624\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue6624\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4650\",\r\n \"description\": \"newOperationRequestHeaderParamDescr7704\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8907\",\r\n \"sample\": \"newOperationRequestRepresentationSample7279\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription5050\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType8695\",\r\n \"sample\": \"newOperationResponseRepresentationSample1493\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2218\",\r\n \"properties\": {\r\n \"displayName\": \"operationName1621\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"operationDescription897\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription4950\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4350\",\r\n \"description\": \"newOperationRequestParamDescr1620\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue9009\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue9009\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4177\",\r\n \"description\": \"newOperationRequestHeaderParamDescr5816\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8701\",\r\n \"sample\": \"newOperationRequestRepresentationSample8643\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription4452\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType448\",\r\n \"sample\": \"newOperationResponseRepresentationSample4044\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "2113" + "2112" ], "Content-Type": [ "application/json; charset=utf-8" @@ -481,13 +481,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:32 GMT" + "Mon, 19 Feb 2018 23:55:26 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD98=\"" + "\"AAAAAAAAM/w=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -496,28 +496,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "eb5ec554-7f24-47e3-8230-51007c7b25ec" + "2bd4670c-6a2d-4730-acc4-d201296e5216" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1196" ], "x-ms-correlation-request-id": [ - "123edad4-a397-4a99-a9e9-36630966550e" + "11b976f4-a840-493c-8a58-44fd0891f02f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191832Z:123edad4-a397-4a99-a9e9-36630966550e" + "WESTUS2:20180219T235526Z:11b976f4-a840-493c-8a58-44fd0891f02f" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ecaf9670-63ec-4535-9ca9-6378fc18fda3" + "8a90d2da-e98f-4d4e-9a94-e57469ba424a" ], "accept-language": [ "en-US" @@ -527,7 +527,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2082\",\r\n \"properties\": {\r\n \"displayName\": \"operationName5974\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"operationDescription8663\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription9632\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4765\",\r\n \"description\": \"newOperationRequestParamDescr990\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue6624\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue6624\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4650\",\r\n \"description\": \"newOperationRequestHeaderParamDescr7704\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8907\",\r\n \"sample\": \"newOperationRequestRepresentationSample7279\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription5050\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType8695\",\r\n \"sample\": \"newOperationResponseRepresentationSample1493\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2218\",\r\n \"properties\": {\r\n \"displayName\": \"operationName1621\",\r\n \"method\": \"PATCH\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"operationDescription897\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription4950\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4350\",\r\n \"description\": \"newOperationRequestParamDescr1620\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue9009\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue9009\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4177\",\r\n \"description\": \"newOperationRequestHeaderParamDescr5816\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8701\",\r\n \"sample\": \"newOperationRequestRepresentationSample8643\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription4452\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType448\",\r\n \"sample\": \"newOperationResponseRepresentationSample4044\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -539,7 +539,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:32 GMT" + "Mon, 19 Feb 2018 23:55:26 GMT" ], "Pragma": [ "no-cache" @@ -548,7 +548,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD98=\"" + "\"AAAAAAAAM/w=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -560,28 +560,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e3ed637e-062a-49d3-a67d-cc001e4d1c23" + "34adad48-4f27-4452-9e0d-d2bf2e5cc2a2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14987" ], "x-ms-correlation-request-id": [ - "0005a221-b70e-4b82-8d66-725751149c61" + "5050e60c-5583-49f9-95f5-96baeea57579" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191833Z:0005a221-b70e-4b82-8d66-725751149c61" + "WESTUS2:20180219T235526Z:5050e60c-5583-49f9-95f5-96baeea57579" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b9b51809-23ec-4e0b-8031-e037446de88c" + "ffb412aa-e56d-4d4a-8ca9-57ba6233d628" ], "accept-language": [ "en-US" @@ -591,7 +591,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2082\",\r\n \"properties\": {\r\n \"displayName\": \"patchedName5468\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"patchedDescription331\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription9632\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4765\",\r\n \"description\": \"newOperationRequestParamDescr990\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue6624\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue6624\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4650\",\r\n \"description\": \"newOperationRequestHeaderParamDescr7704\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue2552\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8907\",\r\n \"sample\": \"newOperationRequestRepresentationSample7279\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription5050\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType8695\",\r\n \"sample\": \"newOperationResponseRepresentationSample1493\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"operationid2218\",\r\n \"properties\": {\r\n \"displayName\": \"patchedName6543\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/newresource\",\r\n \"templateParameters\": [],\r\n \"description\": \"patchedDescription2379\",\r\n \"request\": {\r\n \"description\": \"operationRequestDescription4950\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"newOperationRequestParmName4350\",\r\n \"description\": \"newOperationRequestParamDescr1620\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestParamDefaultValue9009\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestParamDefaultValue9009\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"newOperationRequestHeaderParmName4177\",\r\n \"description\": \"newOperationRequestHeaderParamDescr5816\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"required\": true,\r\n \"values\": [\r\n \"newOperationRequestHeaderParamDefaultValue9265\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationRequestRepresentationContentType8701\",\r\n \"sample\": \"newOperationRequestRepresentationSample8643\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 1980785443,\r\n \"description\": \"newOperationResponseDescription4452\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"newOperationResponseRepresentationContentType448\",\r\n \"sample\": \"newOperationResponseRepresentationSample4044\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -603,7 +603,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:34 GMT" + "Mon, 19 Feb 2018 23:55:27 GMT" ], "Pragma": [ "no-cache" @@ -612,7 +612,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD+A=\"" + "\"AAAAAAAAM/0=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -624,28 +624,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "91ffc1a7-437f-4705-be19-41c89c8c8758" + "4c9dbfb0-d2e7-410e-b54d-da9cdbc268c7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14985" ], "x-ms-correlation-request-id": [ - "35ff4cfa-35f7-4c90-b709-2b68cb8b7ac1" + "ee5b34aa-b7a2-4e64-9eb4-52bf2208f431" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191834Z:35ff4cfa-35f7-4c90-b709-2b68cb8b7ac1" + "WESTUS2:20180219T235527Z:ee5b34aa-b7a2-4e64-9eb4-52bf2208f431" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "52afd753-e5af-460f-a36b-7d1d10323d28" + "01f3bdc9-6da7-42cf-9ff5-2063551bec47" ], "accept-language": [ "en-US" @@ -670,7 +670,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:35 GMT" + "Mon, 19 Feb 2018 23:55:28 GMT" ], "Pragma": [ "no-cache" @@ -682,37 +682,153 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f45db283-c754-4bc8-a0ec-e9f8ca0669f0" + "e538b0a9-035d-4a52-bee4-5050f3d77e7c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14983" ], "x-ms-correlation-request-id": [ - "561c27ff-e0b9-4e16-960e-3bb7f32c5223" + "01980938-843b-43a2-a323-6a5c6b97a738" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191835Z:561c27ff-e0b9-4e16-960e-3bb7f32c5223" + "WESTUS2:20180219T235528Z:01980938-843b-43a2-a323-6a5c6b97a738" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e8a81b89-0cfb-4cd0-9df5-c2cafae70d46" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 23:55:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAM/w=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7516d5b4-585b-49b3-a611-762b58ba005e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-correlation-request-id": [ + "413fdfbb-f4da-423b-ab9b-1d1dfa26418d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T235526Z:413fdfbb-f4da-423b-ab9b-1d1dfa26418d" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e7732616-4446-48cc-bf11-45dcea450ab0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 23:55:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAM/0=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1439de0e-c870-4112-a617-763f9ae0e0e8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14984" + ], + "x-ms-correlation-request-id": [ + "f85649d7-6b2c-4c3d-826c-4aaa2985fe25" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T235527Z:f85649d7-6b2c-4c3d-826c-4aaa2985fe25" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription331\",\r\n \"displayName\": \"patchedName5468\",\r\n \"method\": \"HEAD\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription2379\",\r\n \"displayName\": \"patchedName6543\",\r\n \"method\": \"HEAD\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "134" + "135" ], "x-ms-client-request-id": [ - "1fc3da6a-529c-4f34-9ad5-6f0e57b1b87b" + "7f1fe440-4e1c-4629-aa6a-fe0e19d26545" ], "If-Match": [ - "\"AAAAAAAAD98=\"" + "\"AAAAAAAAM/w=\"" ], "accept-language": [ "en-US" @@ -724,9 +840,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -734,7 +847,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:34 GMT" + "Mon, 19 Feb 2018 23:55:27 GMT" ], "Pragma": [ "no-cache" @@ -746,31 +859,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "146d63b3-fdfd-4a9f-a179-470ac6f80896" + "ae372e98-2057-44b3-8ea4-9d0571a8e576" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1195" ], "x-ms-correlation-request-id": [ - "9d239f47-fddc-4708-8d1a-e06102df831d" + "d2b75faa-4313-467c-813c-4a74dc7cdc93" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191834Z:9d239f47-fddc-4708-8d1a-e06102df831d" + "WESTUS2:20180219T235527Z:d2b75faa-4313-467c-813c-4a74dc7cdc93" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b2689322-ab0b-4f1e-8332-9edd1d50c79d" + "1f978afd-5bd7-47bc-ada4-294221da4f10" ], "If-Match": [ - "*" + "\"AAAAAAAAM/0=\"" ], "accept-language": [ "en-US" @@ -792,7 +905,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:34 GMT" + "Mon, 19 Feb 2018 23:55:28 GMT" ], "Pragma": [ "no-cache" @@ -804,28 +917,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2640d326-4f33-4350-b618-e24d1a2483db" + "1cf66fd9-6a33-42c1-9c9c-923b67c79107" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1194" ], "x-ms-correlation-request-id": [ - "61e0a073-02ef-4c32-9f3a-64ada3f4aaa3" + "f5c85002-5b46-4796-959a-6347e6cef8cf" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191835Z:61e0a073-02ef-4c32-9f3a-64ada3f4aaa3" + "WESTUS2:20180219T235528Z:f5c85002-5b46-4796-959a-6347e6cef8cf" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2082?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMDgyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/operationid2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvb3BlcmF0aW9uaWQyMjE4P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1ac0609b-6adf-4cbb-8c40-7ec1e33b6c4b" + "22f15769-47ea-41bd-a088-945f77ff3f98" ], "If-Match": [ "*" @@ -840,9 +953,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -850,7 +960,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:35 GMT" + "Mon, 19 Feb 2018 23:55:28 GMT" ], "Pragma": [ "no-cache" @@ -862,16 +972,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "41e4ddf8-ff17-4cf1-9e03-eec96b09de1c" + "87a6712a-f011-4a79-8885-d0478f82ad51" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1193" ], "x-ms-correlation-request-id": [ - "698cb700-57f9-465a-b462-fbd5838aa884" + "afd569e3-29a1-492a-9310-3c1c819bff3a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191835Z:698cb700-57f9-465a-b462-fbd5838aa884" + "WESTUS2:20180219T235528Z:afd569e3-29a1-492a-9310-3c1c819bff3a" ] }, "StatusCode": 204 @@ -879,30 +989,29 @@ ], "Names": { "CreateListUpdateDelete": [ - "operationid2082", - "operationName5974", - "operationDescription8663", - "operationRequestDescription9632", - "newOperationRequestHeaderParmName4650", - "newOperationRequestHeaderParamDescr7704", - "newOperationRequestHeaderParamDefaultValue2552", - "newOperationRequestParmName4765", - "newOperationRequestParamDescr990", - "newOperationRequestParamDefaultValue6624", - "newOperationRequestRepresentationContentType8907", - "newOperationRequestRepresentationSample7279", - "newOperationResponseDescription5050", - "newOperationResponseRepresentationContentType8695", - "newOperationResponseRepresentationSample1493", - "patchedName5468", - "patchedDescription331" + "operationid2218", + "operationName1621", + "operationDescription897", + "operationRequestDescription4950", + "newOperationRequestHeaderParmName4177", + "newOperationRequestHeaderParamDescr5816", + "newOperationRequestHeaderParamDefaultValue9265", + "newOperationRequestParmName4350", + "newOperationRequestParamDescr1620", + "newOperationRequestParamDefaultValue9009", + "newOperationRequestRepresentationContentType8701", + "newOperationRequestRepresentationSample8643", + "newOperationResponseDescription4452", + "newOperationResponseRepresentationContentType448", + "newOperationResponseRepresentationSample4044", + "patchedName6543", + "patchedDescription2379" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiProductTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiProductTests/CreateListUpdateDelete.json index b739230e3cc6..68640fabdc06 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiProductTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiProductTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,17 +13,17 @@ "289" ], "x-ms-client-request-id": [ - "675972b9-9c9a-426b-984a-5c3bc15a759f" + "00b86be4-4308-432f-9e01-9bcb48c7b1bc" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:54 GMT" + "Thu, 08 Mar 2018 21:13:02 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADe5eo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,39 +56,42 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "07f2cff4-f994-4b99-baa7-8c6befab1a8c", - "dff3986c-6c96-4339-88d8-7682ccb6d7da" + "298bdaad-4516-4995-bd71-d014aafdd44c", + "e89dd310-01e0-4e48-b922-f6ada9ae447d" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1199" ], "x-ms-correlation-request-id": [ - "7ce6d5c3-5c2f-4f9f-a2e6-8c541f646432" + "3cf47d83-a2d3-46e3-a408-a5eee697b122" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191454Z:7ce6d5c3-5c2f-4f9f-a2e6-8c541f646432" + "WESTUS2:20180308T211303Z:3cf47d83-a2d3-46e3-a408-a5eee697b122" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8c8e212b-c3b6-45c6-952f-7a2f36439a2b" + "32bcf591-0e32-4219-b9bb-89c9456d97d8" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +103,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:54 GMT" + "Thu, 08 Mar 2018 21:13:03 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +112,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADe5eo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,35 +124,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "50ae8e6a-1a1c-4c4e-a2a8-0e31d4b5b121" + "7006df87-f7d3-411e-bb79-8f1eb694523b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" + "14999" ], "x-ms-correlation-request-id": [ - "84898482-dece-41b7-8591-f268cf1eba95" + "46184c45-12dd-4c66-b239-36d92b8e88df" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191454Z:84898482-dece-41b7-8591-f268cf1eba95" + "WESTUS2:20180308T211303Z:46184c45-12dd-4c66-b239-36d92b8e88df" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d8aa53f6-1b70-4aa4-a7d4-d4cd53307cf7" + "40c94b86-46c6-48b9-9377-83ee3385ca61" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", @@ -164,7 +170,71 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:54 GMT" + "Thu, 08 Mar 2018 21:13:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d42889e5-ce78-40b3-9f87-9bf5c9d92527" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "46953f4f-7940-4001-bfa3-97f9b764d74e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180308T211304Z:46953f4f-7940-4001-bfa3-97f9b764d74e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7b019b98-e325-4f15-8f59-958a4ed21593" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 08 Mar 2018 21:13:03 GMT" ], "Pragma": [ "no-cache" @@ -182,38 +252,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "52efa94f-32a7-4b94-a3b4-aa78cf02aa68" + "54f48179-d2d6-4bc5-8c5e-0096718a4bbe" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "14997" ], "x-ms-correlation-request-id": [ - "242f2a48-d24a-4605-90a5-4a188939909e" + "af9e1c77-9573-4797-80e4-1299a2ef1194" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191455Z:242f2a48-d24a-4605-90a5-4a188939909e" + "WESTUS2:20180308T211304Z:af9e1c77-9573-4797-80e4-1299a2ef1194" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4c9d7dfc-4525-4c56-83c9-17c60a3dbd14" + "1ecad98d-fba0-4923-9896-dd9d873b1794" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +298,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:54 GMT" + "Thu, 08 Mar 2018 21:13:03 GMT" ], "Pragma": [ "no-cache" @@ -243,38 +316,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dc0f4c5b-b892-4009-9c6f-4d4b79b3ab70" + "5254d1f5-31d7-41f1-88be-6284b395a210" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "14996" ], "x-ms-correlation-request-id": [ - "3f3135d9-8537-4512-9123-394016b064db" + "c70e0b0a-ec0e-4691-8fb3-9edfd61c878b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191455Z:3f3135d9-8537-4512-9123-394016b064db" + "WESTUS2:20180308T211304Z:c70e0b0a-ec0e-4691-8fb3-9edfd61c878b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?%24top=1&api-version=2018-01-01&%24skip=1", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzPyUyNHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJTI0c2tpcD0x", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "13de5d94-8dc4-4d7a-aa0e-6238264e4191" + "64fecb9f-ebb7-4780-9610-b2dc322a0cae" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +362,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:55 GMT" + "Thu, 08 Mar 2018 21:13:03 GMT" ], "Pragma": [ "no-cache" @@ -304,38 +380,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fcf5d10c-a4bc-421c-af44-08d22d9beb5d" + "61028667-c6a1-475c-a405-0a0a582b1204" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "14995" ], "x-ms-correlation-request-id": [ - "6c5842ac-aee9-4cef-bc6d-b1d3fa35f5e8" + "ea18ab1a-f610-4684-80cd-9fb355d3039d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191455Z:6c5842ac-aee9-4cef-bc6d-b1d3fa35f5e8" + "WESTUS2:20180308T211304Z:ea18ab1a-f610-4684-80cd-9fb355d3039d" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?$skip=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzPyRza2lwPTEmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products?$skip=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3Byb2R1Y3RzPyRza2lwPTEmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bb746d97-7917-4ec1-baf7-19377292ea09" + "1ec0149b-a38a-4af8-9057-f772ffb81446" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +426,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:55 GMT" + "Thu, 08 Mar 2018 21:13:03 GMT" ], "Pragma": [ "no-cache" @@ -365,16 +444,19 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a694efa3-cb81-4aec-bd79-edf2bd594723" + "edbbcaaa-2460-4086-bb4b-241407502124" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "14994" ], "x-ms-correlation-request-id": [ - "5c9c427d-899e-46e5-a11f-f8f756ae3224" + "2b031edb-c3da-42bc-bb44-1db1cc9528ed" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191455Z:5c9c427d-899e-46e5-a11f-f8f756ae3224" + "WESTUS2:20180308T211304Z:2b031edb-c3da-42bc-bb44-1db1cc9528ed" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 @@ -383,9 +465,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiRevisionTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiRevisionTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..e6fd937356e9 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiRevisionTests/CreateListUpdateDelete.json @@ -0,0 +1,1548 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "3b7abc80-915e-46ee-ae33-daf49425ed4c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADe5eo=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5dcee6e9-73a9-4522-bd74-3a708e80301e", + "fcbd07cb-b8bc-4f0c-94b3-6dc4f1d8c0c6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "fe2d77e4-42f7-4a5d-ae2e-1bec89077230" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013424Z:fe2d77e4-42f7-4a5d-ae2e-1bec89077230" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1c806abb-3476-419e-a192-37b3b8e4a04d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADe5eo=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5b231a27-85f4-47bf-88e9-c8849a176f2b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ac3876c5-1203-427e-a0af-7b1a2605627b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013424Z:ac3876c5-1203-427e-a0af-7b1a2605627b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"path\": \"swaggerApi\",\r\n \"contentValue\": \"{\\r\\n \\\"x-comment\\\": \\\"This file was extended from /github.com/swagger-api/swagger-spec/blob/master/examples/v2.0/json/petstore-with-external-docs.json\\\",\\r\\n \\\"swagger\\\": \\\"2.0\\\",\\r\\n \\\"info\\\": {\\r\\n \\\"version\\\": \\\"1.0.0\\\",\\r\\n \\\"title\\\": \\\"Swagger Petstore Extensive\\\",\\r\\n \\\"description\\\": \\\"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\\\",\\r\\n \\\"termsOfService\\\": \\\"http://helloreverb.com/terms/\\\",\\r\\n \\\"contact\\\": {\\r\\n \\\"name\\\": \\\"Wordnik API Team\\\",\\r\\n \\\"email\\\": \\\"foo@example.com\\\",\\r\\n \\\"url\\\": \\\"http://madskristensen.net\\\"\\r\\n },\\r\\n \\\"license\\\": {\\r\\n \\\"name\\\": \\\"MIT\\\",\\r\\n \\\"url\\\": \\\"http://github.com/gruntjs/grunt/blob/master/LICENSE-MIT\\\"\\r\\n }\\r\\n },\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"host\\\": \\\"petstore.swagger.wordnik.com\\\",\\r\\n \\\"basePath\\\": \\\"/api\\\",\\r\\n \\\"schemes\\\": [\\r\\n \\\"http\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"paths\\\": {\\r\\n \\\"/mySamplePath?willbeignored={willbeignored}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid1\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyDateHeaderParam\\\",\\r\\n \\\"in\\\": \\\"header\\\",\\r\\n \\\"description\\\": \\\"dummyDateHeaderParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"date\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyNotReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyNotReqQueryParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"dummyBodyParam description\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\",\\r\\n \\\"example\\\": {\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"description\\\": \\\"sampleheader\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"application/json\\\": {\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\" \\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/resourceWithFormData\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"resourceWithFormData desc\\\",\\r\\n \\\"operationId\\\": \\\"resourceWithFormDataPOST\\\",\\r\\n \\\"consumes\\\": [ \\\"multipart/form-data\\\" ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyFormDataParam\\\",\\r\\n \\\"in\\\": \\\"formData\\\",\\r\\n \\\"description\\\": \\\"dummyFormDataParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"dummyReqQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyReqQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"sample response\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/mySamplePath2?definedQueryParam={definedQueryParam}\\\": {\\r\\n \\\"post\\\": {\\r\\n \\\"produces\\\": [\\r\\n \\\"contenttype1\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"description\\\": \\\"Dummy desc\\\",\\r\\n \\\"operationId\\\": \\\"dummyid2\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyQueryParameterDef\\\"\\r\\n },\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/parameters/dummyBodyParameterDef\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"$ref\\\": \\\"#/responses/dummyResponseDef\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets2?dummyParam={dummyParam}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Dummy description\\\",\\r\\n \\\"operationId\\\": \\\"dummyOperationId\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"dummyParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"dummyParam desc\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns all pets from the system that the user has access to\\\",\\r\\n \\\"operationId\\\": \\\"findPets\\\",\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\"\\r\\n ],\\r\\n \\\"consumes\\\": [\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"tags\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"tags to filter by\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"collectionFormat\\\": \\\"csv\\\"\\r\\n },\\r\\n {\\r\\n \\\"name\\\": \\\"limit\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"maximum number of results to return\\\",\\r\\n \\\"required\\\": false,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"type\\\": \\\"array\\\",\\r\\n \\\"items\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"post\\\": {\\r\\n \\\"description\\\": \\\"Creates a new pet in the store. Duplicates are allowed\\\",\\r\\n \\\"operationId\\\": \\\"addPet\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"pet\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"Pet to add to the store\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/newPet\\\"\\r\\n }\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"/pets/{id}\\\": {\\r\\n \\\"get\\\": {\\r\\n \\\"description\\\": \\\"Returns a user based on a single ID, if the user does not have access to the pet\\\",\\r\\n \\\"operationId\\\": \\\"findPetById\\\",\\r\\n \\\"produces\\\": [\\r\\n \\\"application/json\\\",\\r\\n \\\"application/xml\\\",\\r\\n \\\"text/xml\\\",\\r\\n \\\"text/html\\\"\\r\\n ],\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to fetch\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"200\\\": {\\r\\n \\\"description\\\": \\\"pet response\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n }\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"delete\\\": {\\r\\n \\\"description\\\": \\\"deletes a single pet based on the ID supplied\\\",\\r\\n \\\"operationId\\\": \\\"deletePet\\\",\\r\\n \\\"parameters\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"id\\\",\\r\\n \\\"in\\\": \\\"path\\\",\\r\\n \\\"description\\\": \\\"ID of pet to delete\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n ],\\r\\n \\\"responses\\\": {\\r\\n \\\"204\\\": {\\r\\n \\\"description\\\": \\\"pet deleted\\\"\\r\\n },\\r\\n \\\"default\\\": {\\r\\n \\\"description\\\": \\\"unexpected error\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/errorModel\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"definitions\\\": {\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"id\\\",\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"find more info here\\\",\\r\\n \\\"url\\\": \\\"https://helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [\\r\\n {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\r\\n \\\"name\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n ]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\r\\n \\\"code\\\",\\r\\n \\\"message\\\"\\r\\n ],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"parameters\\\": {\\r\\n \\\"dummyBodyParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedBodyParam\\\",\\r\\n \\\"in\\\": \\\"body\\\",\\r\\n \\\"description\\\": \\\"definedBodyParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"schema\\\": {\\r\\n \\\"title\\\": \\\"Example Schema\\\",\\r\\n \\\"type\\\": \\\"object\\\",\\r\\n \\\"properties\\\": {\\r\\n \\\"firstName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"lastName\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"age\\\": {\\r\\n \\\"description\\\": \\\"Age in years\\\",\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"minimum\\\": 0\\r\\n }\\r\\n },\\r\\n \\\"required\\\": [ \\\"firstName\\\", \\\"lastName\\\" ]\\r\\n }\\r\\n },\\r\\n \\\"dummyQueryParameterDef\\\": {\\r\\n \\\"name\\\": \\\"definedQueryParam\\\",\\r\\n \\\"in\\\": \\\"query\\\",\\r\\n \\\"description\\\": \\\"definedQueryParam description\\\",\\r\\n \\\"required\\\": true,\\r\\n \\\"type\\\": \\\"string\\\",\\r\\n \\\"format\\\": \\\"whateverformat\\\"\\r\\n }\\r\\n },\\r\\n \\\"responses\\\": {\\r\\n \\\"dummyResponseDef\\\": {\\r\\n \\\"description\\\": \\\"dummyResponseDef description\\\",\\r\\n \\\"schema\\\": {\\r\\n \\\"$ref\\\": \\\"#/definitions/pet\\\"\\r\\n },\\r\\n \\\"headers\\\": {\\r\\n \\\"header1\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n },\\r\\n \\\"header2\\\": {\\r\\n \\\"type\\\": \\\"integer\\\"\\r\\n }\\r\\n },\\r\\n \\\"examples\\\": {\\r\\n \\\"contenttype1\\\": \\\"contenttype1 example\\\",\\r\\n \\\"contenttype2\\\": \\\"contenttype2 example\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\n\",\r\n \"contentFormat\": \"swagger-json\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "18238" + ], + "x-ms-client-request-id": [ + "26a49e98-8336-4a99-8d9d-1d8b900c42c1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid2195\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerApi\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "848" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN/c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "886a9154-7feb-4f5d-8e97-19e70bbe59c2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ca272346-f7bd-4d51-aeea-c8224978cc6f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013425Z:ca272346-f7bd-4d51-aeea-c8224978cc6f" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8050b76-8e1e-4d49-85ad-183b007c2467" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid2195\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api\",\r\n \"path\": \"swaggerApi\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAN/c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "43398b05-83ef-4ac6-a1d0-eca88a741751" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "7f3b195b-fd1c-450f-b085-7a1d48c0e855" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013425Z:7f3b195b-fd1c-450f-b085-7a1d48c0e855" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5a2df3ee-f00c-443b-a331-d8a4012e3890" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Api not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4c0bc78d-f140-4770-b2ff-b5d86b125841" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-correlation-request-id": [ + "1bde27f5-c606-4d84-8e0e-8701d59fa9f2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013519Z:1bde27f5-c606-4d84-8e0e-8701d59fa9f2" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9vcGVyYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99ff3100-b61c-40e7-953f-5a5d4599bda3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/addpet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"addpet\",\r\n \"properties\": {\r\n \"displayName\": \"addPet\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Creates a new pet in the store. Duplicates are allowed\",\r\n \"request\": {\r\n \"description\": \"Pet to add to the store\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"newPet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/deletepet\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"deletepet\",\r\n \"properties\": {\r\n \"displayName\": \"deletePet\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to delete\",\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"deletes a single pet based on the ID supplied\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"pet deleted\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/dummyid1\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid1\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid1\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"dummyBodyParam description\",\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"dummyNotReqQueryParam\",\r\n \"description\": \"dummyNotReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"dummyDateHeaderParam\",\r\n \"description\": \"Format - date (as full-date in RFC3339). dummyDateHeaderParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 2,\\r\\n \\\"name\\\": \\\"myreqpet\\\"\\r\\n}\",\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n \\\"id\\\": 3,\\r\\n \\\"name\\\": \\\"myresppet\\\"\\r\\n}\",\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": \"sampleheader\",\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/dummyid2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyid2\",\r\n \"properties\": {\r\n \"displayName\": \"dummyid2\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/mySamplePath2?definedQueryParam={definedQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"definedQueryParam\",\r\n \"description\": \"Format - whateverformat. definedQueryParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy desc\",\r\n \"request\": {\r\n \"description\": \"definedBodyParam description\",\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"DefinedBodyParam\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 204,\r\n \"description\": \"dummyResponseDef description\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"contenttype1\",\r\n \"sample\": \"contenttype1 example\",\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"contenttype2\",\r\n \"sample\": \"contenttype2 example\",\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": [\r\n {\r\n \"name\": \"header1\",\r\n \"description\": null,\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"header2\",\r\n \"description\": null,\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/dummyoperationid\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"dummyoperationid\",\r\n \"properties\": {\r\n \"displayName\": \"dummyOperationId\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets2?dummyParam={dummyParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyParam\",\r\n \"description\": \"dummyParam desc\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Dummy description\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"Pets2Get200ApplicationJsonResponse\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/findpetbyid\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findpetbyid\",\r\n \"properties\": {\r\n \"displayName\": \"findPetById\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets/{id}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"id\",\r\n \"description\": \"Format - int64. ID of pet to fetch\",\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"Returns a user based on a single ID, if the user does not have access to the pet\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"pet\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"text/html\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/findpets\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"findpets\",\r\n \"properties\": {\r\n \"displayName\": \"findPets\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/pets\",\r\n \"templateParameters\": [],\r\n \"description\": \"Returns all pets from the system that the user has access to\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"tags\",\r\n \"description\": \"tags to filter by\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n },\r\n {\r\n \"name\": \"limit\",\r\n \"description\": \"Format - int32. maximum number of results to return\",\r\n \"type\": \"integer\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"pet response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"petArray\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"petArray\"\r\n }\r\n ],\r\n \"headers\": []\r\n },\r\n {\r\n \"statusCode\": 500,\r\n \"description\": \"unexpected error\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": null,\r\n \"schemaId\": \"5aa1e4a050f4b800a0f442a3\",\r\n \"typeName\": \"errorModel\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/operations/resourcewithformdatapost\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"resourcewithformdatapost\",\r\n \"properties\": {\r\n \"displayName\": \"resourceWithFormDataPOST\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resourceWithFormData?dummyReqQueryParam={dummyReqQueryParam}\",\r\n \"templateParameters\": [\r\n {\r\n \"name\": \"dummyReqQueryParam\",\r\n \"description\": \"dummyReqQueryParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ],\r\n \"description\": \"resourceWithFormData desc\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"multipart/form-data\",\r\n \"sample\": null,\r\n \"formParameters\": [\r\n {\r\n \"name\": \"dummyFormDataParam\",\r\n \"description\": \"dummyFormDataParam description\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": true,\r\n \"values\": []\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"sample response\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": null\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "96dd0aa8-66b1-4fce-8ed1-a8898ea80763" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "36a438d5-86ec-4a7a-b163-8fddba0150e3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013425Z:36a438d5-86ec-4a7a-b163-8fddba0150e3" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "51f29beb-f3d5-4cd0-b3d3-86b41981270f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN/c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "221da130-6c80-4a96-9ab8-c9f6fee40a8b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "f2e853fb-1fb8-4a4e-b0bd-72902d3ec837" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013426Z:f2e853fb-1fb8-4a4e-b0bd-72902d3ec837" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "849ea36c-2a7e-4493-8e4c-c45c5d43c0be" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN/c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8e1e2fa4-da6d-4436-b3fd-c88624606db4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "80b0cf9b-4a8f-4239-9e4a-270f650bb50c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013459Z:80b0cf9b-4a8f-4239-9e4a-270f650bb50c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195%3Brev%3D2?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NSUzQnJldiUzRDI/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"authenticationSettings\": {},\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"displayName\": \"Swagger Petstore Extensive2\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api2\",\r\n \"path\": \"swaggerApi2\",\r\n \"protocols\": [\r\n \"http\"\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "503" + ], + "x-ms-client-request-id": [ + "e50d6d80-a19a-4426-9530-9b53c4a85441" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid2195;rev=2\",\r\n \"properties\": {\r\n \"displayName\": \"Swagger Petstore Extensive2\",\r\n \"apiRevision\": \"2\",\r\n \"description\": \"A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification\",\r\n \"serviceUrl\": \"http://petstore.swagger.wordnik.com/api2\",\r\n \"path\": \"swaggerApi2\",\r\n \"protocols\": [\r\n \"http\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "839" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAM=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8c1b196d-1f4a-4548-8efa-2680d455adb2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "f1a69568-fcf8-495c-97ee-beb5a697eb23" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013426Z:f1a69568-fcf8-495c-97ee-beb5a697eb23" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195%3Brev%3D2/operations/firstOpRev5880?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NSUzQnJldiUzRDIvb3BlcmF0aW9ucy9maXJzdE9wUmV2NTg4MD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description_azsmnet6439\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3096\",\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet8888\",\r\n \"description\": \"description_azsmnet36\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet7541\",\r\n \"description\": \"description_azsmnet3633\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet6813\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7828\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3018\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet2909\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet9809\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"displayName\": \"operation_azsmnet3183\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"template_azsmnet7102\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1527" + ], + "x-ms-client-request-id": [ + "c7f42805-2208-46e7-843f-d70900a8fc39" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations/firstOpRev5880\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"firstOpRev5880\",\r\n \"properties\": {\r\n \"displayName\": \"operation_azsmnet3183\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/template_azsmnet7102\",\r\n \"templateParameters\": [],\r\n \"description\": \"description_azsmnet6439\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3096\",\r\n \"queryParameters\": [],\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet8888\",\r\n \"description\": \"description_azsmnet36\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet7541\",\r\n \"description\": \"description_azsmnet3633\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet6813\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7828\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3018\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet2909\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet9809\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1932" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAU=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a5a5687f-9172-41d8-889a-5bc2414fde71" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "925b5633-d254-4c01-9580-e27055395013" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013426Z:925b5633-d254-4c01-9580-e27055395013" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195%3Brev%3D2/operations/secondOpName224?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NSUzQnJldiUzRDIvb3BlcmF0aW9ucy9zZWNvbmRPcE5hbWUyMjQ/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description_azsmnet9527\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3320\",\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet2924\",\r\n \"description\": \"description_azsmnet9439\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet8554\",\r\n \"description\": \"description_azsmnet3078\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet3170\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7552\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3363\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet7566\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet1596\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"displayName\": \"operation_azsmnet5271\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"template_azsmnet6045\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1528" + ], + "x-ms-client-request-id": [ + "46e495d3-d2e3-4374-9b8f-4558fcc8c013" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations/secondOpName224\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"secondOpName224\",\r\n \"properties\": {\r\n \"displayName\": \"operation_azsmnet5271\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/template_azsmnet6045\",\r\n \"templateParameters\": [],\r\n \"description\": \"description_azsmnet9527\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3320\",\r\n \"queryParameters\": [],\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet2924\",\r\n \"description\": \"description_azsmnet9439\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet8554\",\r\n \"description\": \"description_azsmnet3078\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet3170\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7552\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3363\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet7566\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet1596\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1935" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAY=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "44786ab1-7832-4bd0-bcb8-0c41a7b006fc" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "9065b7fb-bfa2-49fe-b102-fa1e517579a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013427Z:9065b7fb-bfa2-49fe-b102-fa1e517579a9" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195%3Brev%3D2/operations?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NSUzQnJldiUzRDIvb3BlcmF0aW9ucz8kdG9wPTEmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8b659406-726f-4009-92bd-ccdf91a1f250" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations/firstOpRev5880\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"firstOpRev5880\",\r\n \"properties\": {\r\n \"displayName\": \"operation_azsmnet3183\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/template_azsmnet7102\",\r\n \"templateParameters\": [],\r\n \"description\": \"description_azsmnet6439\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3096\",\r\n \"queryParameters\": [],\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet8888\",\r\n \"description\": \"description_azsmnet36\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet7541\",\r\n \"description\": \"description_azsmnet3633\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet6813\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7828\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3018\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet2909\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet9809\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5c836409-6671-4f5c-8c07-8eab1c232b2c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "fd4fd837-2068-431a-81d5-04ad67908ea3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013432Z:fd4fd837-2068-431a-81d5-04ad67908ea3" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations?%24top=1&api-version=2018-01-01&%24skip=1", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NTtyZXY9Mi9vcGVyYXRpb25zPyUyNHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDEmJTI0c2tpcD0x", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4658ab7d-7565-4036-aa0a-e59b6c12c352" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195;rev=2/operations/secondOpName224\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"secondOpName224\",\r\n \"properties\": {\r\n \"displayName\": \"operation_azsmnet5271\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/template_azsmnet6045\",\r\n \"templateParameters\": [],\r\n \"description\": \"description_azsmnet9527\",\r\n \"request\": {\r\n \"description\": \"description_azsmnet3320\",\r\n \"queryParameters\": [],\r\n \"headers\": [\r\n {\r\n \"name\": \"param_azsmnet2924\",\r\n \"description\": \"description_azsmnet9439\",\r\n \"type\": \"int\",\r\n \"defaultValue\": \"b\",\r\n \"required\": true,\r\n \"values\": [\r\n \"a\",\r\n \"b\",\r\n \"c\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param_azsmnet8554\",\r\n \"description\": \"description_azsmnet3078\",\r\n \"type\": \"bool\",\r\n \"defaultValue\": \"e\",\r\n \"required\": false,\r\n \"values\": [\r\n \"d\",\r\n \"e\",\r\n \"f\"\r\n ]\r\n }\r\n ],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"text/plain\",\r\n \"sample\": \"sample_azsmnet3170\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet7552\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"description_azsmnet3363\",\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"sample_azsmnet7566\"\r\n },\r\n {\r\n \"contentType\": \"application/xml\",\r\n \"sample\": \"sample_azsmnet1596\"\r\n }\r\n ],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e2877b1c-1d0a-42c2-88f2-34335453de4b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "f1a32eb3-42a1-45cc-985f-c5ba497d12ca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013441Z:f1a32eb3-42a1-45cc-985f-c5ba497d12ca" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/revisions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZXZpc2lvbnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aa033410-099a-499e-9e21-cca0a071adb7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"apiId\": \"/apis/apiid2195;rev=2\",\r\n \"apiRevision\": \"2\",\r\n \"createdDateTime\": \"2018-03-09T01:34:26.047Z\",\r\n \"updatedDateTime\": \"2018-03-09T01:34:26.047Z\",\r\n \"description\": null,\r\n \"privateUrl\": \"/swaggerApi2;rev=2\",\r\n \"isOnline\": true,\r\n \"isCurrent\": false\r\n },\r\n {\r\n \"apiId\": \"/apis/apiid2195;rev=1\",\r\n \"apiRevision\": \"1\",\r\n \"createdDateTime\": \"2018-03-09T01:34:24.84Z\",\r\n \"updatedDateTime\": \"2018-03-09T01:34:24.84Z\",\r\n \"description\": null,\r\n \"privateUrl\": \"/swaggerApi\",\r\n \"isOnline\": true,\r\n \"isCurrent\": true\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8560db2f-b774-4ce2-93c8-50f53f3d29a7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "c37ce6bf-3726-4ef6-9e66-2689906a3689" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013453Z:c37ce6bf-3726-4ef6-9e66-2689906a3689" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195%3Brev%3D2?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NSUzQnJldiUzRDI/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0f937567-04ef-4c27-9bbe-cd97c10bae51" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:34:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAM=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b4b35205-9e65-46ac-b944-a435f0746c6d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "4237051b-8bcc-46ed-923c-570d0b6b3a02" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013458Z:4237051b-8bcc-46ed-923c-570d0b6b3a02" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2956ba4f-b894-4b62-9a91-5ddc130ef103" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "db359b1d-0821-428d-b507-4c32da3bdd3a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "66d730d5-eace-4d6f-b94b-4a4b994dccd0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013512Z:66d730d5-eace-4d6f-b94b-4a4b994dccd0" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d77e102f-565a-4788-b655-48ed442d51d2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"apireleaseid1624\",\r\n \"properties\": {\r\n \"createdDateTime\": \"2018-03-09T01:35:17.633Z\",\r\n \"updatedDateTime\": \"2018-03-09T01:35:17.633Z\",\r\n \"notes\": \"update_desc2925\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ae0a16fa-206f-4cd4-b1cd-5a87b1da8bf4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-correlation-request-id": [ + "8d9fd4e1-0090-44fc-9b3e-91dd70fb10ed" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013518Z:8d9fd4e1-0090-44fc-9b3e-91dd70fb10ed" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcy9hcGlyZWxlYXNlaWQxNjI0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/apis/apiid2195;rev=2\",\r\n \"notes\": \"revision_description9246\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "108" + ], + "x-ms-client-request-id": [ + "ad528fbc-46af-49c8-b9d6-f9f1d0151065" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"apireleaseid1624\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195\",\r\n \"createdDateTime\": \"2018-03-09T01:35:17.6340275Z\",\r\n \"updatedDateTime\": \"2018-03-09T01:35:17.6340275Z\",\r\n \"notes\": \"revision_description9246\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "649" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAk=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dab38d96-113c-407c-8a33-11327d79483e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "4012b902-1618-4d72-bbd8-024d6af665e4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013518Z:4012b902-1618-4d72-bbd8-024d6af665e4" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcy9hcGlyZWxlYXNlaWQxNjI0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b44385e3-3e07-4894-8558-02397dc88c79" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAOAk=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ef49810d-08e0-4f5b-adff-f08f966b2ada" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "7a8105ad-7dd1-4ce8-935b-ffbbad6da4ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013518Z:7a8105ad-7dd1-4ce8-935b-ffbbad6da4ae" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcy9hcGlyZWxlYXNlaWQxNjI0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"apiId\": \"/apis/apiid2195;rev=2\",\r\n \"notes\": \"update_desc2925\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "99" + ], + "x-ms-client-request-id": [ + "da483abc-fcaa-4e2e-9e03-a898f7e967cc" + ], + "If-Match": [ + "\"AAAAAAAAOAk=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "15d62a50-8c74-41cb-95b4-0e7dcbba2728" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "a58299e3-45c6-4ae8-9691-73e2050071f8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013518Z:a58299e3-45c6-4ae8-9691-73e2050071f8" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NS9yZWxlYXNlcy9hcGlyZWxlYXNlaWQxNjI0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "099f10ff-39e2-42c2-a733-be749d13be8d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195/releases/apireleaseid1624\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/releases\",\r\n \"name\": \"apireleaseid1624\",\r\n \"properties\": {\r\n \"apiId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195\",\r\n \"createdDateTime\": \"2018-03-09T01:35:17.633Z\",\r\n \"updatedDateTime\": \"2018-03-09T01:35:17.633Z\",\r\n \"notes\": \"update_desc2925\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAOAo=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cdb6eba0-082f-4a82-b9c6-0efefac0560f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "f5a47070-a80d-4f0e-935a-e12c79f83607" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013518Z:f5a47070-a80d-4f0e-935a-e12c79f83607" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?deleteRevisions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9kZWxldGVSZXZpc2lvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e5372d2c-f4b8-475a-b349-46b7797780ae" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fceb1569-9a1a-461e-b5c6-32b06fdea952" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "c52ef931-9858-4995-8035-67857ec8c1ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013519Z:c52ef931-9858-4995-8035-67857ec8c1ae" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid2195?deleteRevisions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMjE5NT9kZWxldGVSZXZpc2lvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "80ab8407-6387-4b9f-9d78-8237f63db8f2" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Fri, 09 Mar 2018 01:35:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b9673051-e734-409c-806a-396898441779" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "47513ed2-f230-4890-bef4-22b5585e2626" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180309T013522Z:47513ed2-f230-4890-bef4-22b5585e2626" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "apiid2195", + "apireleaseid1624", + "firstOpRev5880", + "secondOpName224", + "revision_description9246", + "update_desc2925" + ], + "CreateOperationContract": [ + "azsmnet3183", + "azsmnet6439", + "azsmnet7102", + "azsmnet3096", + "azsmnet8888", + "azsmnet36", + "azsmnet7541", + "azsmnet3633", + "azsmnet6813", + "azsmnet7828", + "azsmnet3018", + "azsmnet2909", + "azsmnet9809", + "azsmnet5271", + "azsmnet9527", + "azsmnet6045", + "azsmnet3320", + "azsmnet2924", + "azsmnet9439", + "azsmnet8554", + "azsmnet3078", + "azsmnet3170", + "azsmnet7552", + "azsmnet3363", + "azsmnet7566", + "azsmnet1596" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..f28b2e8d8f2d --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDelete.json @@ -0,0 +1,856 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "f1225bdd-c645-4917-b7de-a2f203744d12" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "67985897-25d1-412c-a20d-ee82c806b859", + "b4522e63-34d7-41d8-b740-6c9728971a2f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "d6bcb487-1778-4dd0-a962-ea4efe49961e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195914Z:d6bcb487-1778-4dd0-a962-ea4efe49961e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e1c49caf-2adb-4b82-9723-69487227c211" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:14 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "761a7cb6-c7b7-4b6b-85bc-2fc77a2a502f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "78052673-bf3d-414d-99e2-27bde53f39ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195914Z:78052673-bf3d-414d-99e2-27bde53f39ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription1537\",\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header293\",\r\n \"query\": \"query9237\"\r\n },\r\n \"displayName\": \"apiname876\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"https\",\r\n \"http\"\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "351" + ], + "x-ms-client-request-id": [ + "1ebed0df-3a13-44ed-ae47-67ab910884ee" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid792\",\r\n \"properties\": {\r\n \"displayName\": \"apiname876\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription1537\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header293\",\r\n \"query\": \"query9237\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "732" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANsE=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c4d038ea-9fe6-4f03-ac2f-3af35fd1c031" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "f77f7adf-abec-4c68-b5d5-97bb742aed20" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195915Z:f77f7adf-abec-4c68-b5d5-97bb742aed20" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ae257f33-d0e2-4fd0-99c0-5b18ac3bf289" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid792\",\r\n \"properties\": {\r\n \"displayName\": \"apiname876\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription1537\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header293\",\r\n \"query\": \"query9237\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:15 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANsE=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8a3f4c94-a429-4463-be17-10ed857df374" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "9c7a0853-a67e-425f-8686-c8d59456af50" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195915Z:9c7a0853-a67e-425f-8686-c8d59456af50" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5f5e8304-ee7a-4f2d-b244-ee1f93e642f3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Api not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c8cbdc37-12ba-43d0-8941-6a0498723a71" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "1f7d91dd-09e4-4ca9-aa5c-b09f96aa063b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195917Z:1f7d91dd-09e4-4ca9-aa5c-b09f96aa063b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXMvc2NoZW1haWQzNjMyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"value\": \"{\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\\"id\\\",\\r\\n \\\"name\\\"],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"findmoreinfohere\\\",\\r\\n \\\"url\\\": \\\"https: //helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [{\\r\\n \\\"$ref\\\": \\\"pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\\"name\\\"],\\r\\n \\\"id\\\": {\\r\\n \\\"properties\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\\"code\\\",\\r\\n \\\"message\\\"],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1833" + ], + "x-ms-client-request-id": [ + "ab52a2cc-012f-4b19-8231-a62d32ca61cf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid3632\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"value\": \"{\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\\"id\\\",\\r\\n \\\"name\\\"],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"findmoreinfohere\\\",\\r\\n \\\"url\\\": \\\"https: //helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [{\\r\\n \\\"$ref\\\": \\\"pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\\"name\\\"],\\r\\n \\\"id\\\": {\\r\\n \\\"properties\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\\"code\\\",\\r\\n \\\"message\\\"],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\"\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "2112" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANsM=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "43995935-b56f-4415-aaf1-fe6f2eb4a97c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "19440a4c-b910-47bd-94d9-2f965cb269ac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195916Z:19440a4c-b910-47bd-94d9-2f965cb269ac" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aa34a066-7741-44fc-8a66-6f0597608d5b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid3632\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"value\": \"{\\r\\n \\\"pet\\\": {\\r\\n \\\"required\\\": [\\\"id\\\",\\r\\n \\\"name\\\"],\\r\\n \\\"externalDocs\\\": {\\r\\n \\\"description\\\": \\\"findmoreinfohere\\\",\\r\\n \\\"url\\\": \\\"https: //helloreverb.com/about\\\"\\r\\n },\\r\\n \\\"properties\\\": {\\r\\n \\\"id\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n },\\r\\n \\\"name\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n },\\r\\n \\\"tag\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n },\\r\\n \\\"newPet\\\": {\\r\\n \\\"allOf\\\": [{\\r\\n \\\"$ref\\\": \\\"pet\\\"\\r\\n },\\r\\n {\\r\\n \\\"required\\\": [\\\"name\\\"],\\r\\n \\\"id\\\": {\\r\\n \\\"properties\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int64\\\"\\r\\n }\\r\\n }\\r\\n }]\\r\\n },\\r\\n \\\"errorModel\\\": {\\r\\n \\\"required\\\": [\\\"code\\\",\\r\\n \\\"message\\\"],\\r\\n \\\"properties\\\": {\\r\\n \\\"code\\\": {\\r\\n \\\"type\\\": \\\"integer\\\",\\r\\n \\\"format\\\": \\\"int32\\\"\\r\\n },\\r\\n \\\"message\\\": {\\r\\n \\\"type\\\": \\\"string\\\"\\r\\n }\\r\\n }\\r\\n }\\r\\n }\"\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4162eb09-69c9-47ce-bb6d-aca6529a50b8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "d38061ee-fc64-4614-89a4-a6b5c78ed1c0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195916Z:d38061ee-fc64-4614-89a4-a6b5c78ed1c0" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXMvc2NoZW1haWQzNjMyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40de57bd-af09-4ed7-b779-97e9d12b9719" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANsM=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "24be79ed-113a-4192-9949-35675422ad41" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "3e087040-751d-4054-a4bc-21fd84c23b6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195916Z:3e087040-751d-4054-a4bc-21fd84c23b6c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXMvc2NoZW1haWQzNjMyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb2257da-7e6d-4b4f-86f4-a50f980b59f5" + ], + "If-Match": [ + "\"AAAAAAAANsM=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "03cef78c-2122-48e8-8429-20c526aa1142" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "6371b625-e22e-40fa-9c23-c46d8677a520" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195916Z:6371b625-e22e-40fa-9c23-c46d8677a520" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXMvc2NoZW1haWQzNjMyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c76d0031-968a-4c80-ba94-de5fe9dbd553" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "34e2997c-468c-4d21-b266-c36224900f9f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "5275ef43-e809-4461-83af-92ec5a418563" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195917Z:5275ef43-e809-4461-83af-92ec5a418563" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792/schemas/schemaid3632?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyL3NjaGVtYXMvc2NoZW1haWQzNjMyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e7289a7e-0bc5-427c-aeb8-8f5399e81a13" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Schema not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "82" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4e789d7c-4355-4c05-9bd7-4847829bb036" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "35b747c4-a108-4581-9138-9ad4a3f7c042" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195916Z:35b747c4-a108-4581-9138-9ad4a3f7c042" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c318db3-84fd-43e2-88a0-65c312380a6b" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "81c5c113-1269-491b-87a9-f459fb73d5c6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "355adad3-dca3-4e25-a61c-87455f5b16a5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195917Z:355adad3-dca3-4e25-a61c-87455f5b16a5" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid792?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzkyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9f136a1f-f31d-4de3-b81d-b67341214dee" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 19:59:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e3fcb564-b824-40ff-88ee-f206442a2faa" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "7407c834-239b-4d78-a45c-a09c502f0477" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T195917Z:7407c834-239b-4d78-a45c-a09c502f0477" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "apiid792", + "schemaid3632", + "apiname876", + "apidescription1537", + "header293", + "query9237" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiTests/CreateListUpdateDelete.json index 8d526bc52daa..3a974b3db49b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "9b9c61ad-0e34-4058-b398-1080fa7bdcbb" + "a95165c9-7ced-4e62-9ee9-78975ad9a641" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:24 GMT" + "Mon, 19 Feb 2018 23:53:16 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "11d8b7d9-b85c-487c-a433-a34093c82c0b", - "5722822f-6257-4392-8c2f-ee976837bb63" + "ad8a4961-d121-4251-b73c-1d9356de5ad6", + "427d1c65-ca51-4942-9cbc-0c766fef0b98" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "62f874e3-9014-4528-aafc-4a924ab3770f" + "1ad1436a-0707-4714-8a19-a58a24487bd2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191024Z:62f874e3-9014-4528-aafc-4a924ab3770f" + "WESTUS2:20180219T235316Z:1ad1436a-0707-4714-8a19-a58a24487bd2" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4b3185b8-4a0f-45f7-aef0-0face473a095" + "ea4e0229-30f8-4d27-ba02-68abfa1a573c" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:24 GMT" + "Mon, 19 Feb 2018 23:53:16 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "95a81975-e9eb-4cdd-8185-caf624c5bb0c" + "0cd25c78-eb42-4eae-9825-6776cdfde023" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14999" ], "x-ms-correlation-request-id": [ - "d734f239-2888-4244-b874-720130cce1b8" + "9029358f-da58-4eeb-9313-47747beef915" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191024Z:d734f239-2888-4244-b874-720130cce1b8" + "WESTUS2:20180219T235316Z:9029358f-da58-4eeb-9313-47747beef915" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c2a4ae34-c3a5-4044-8af9-889368f804fb" + "922fe633-e290-4f77-8f6d-1127b8eb8533" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:24 GMT" + "Mon, 19 Feb 2018 23:53:17 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "cd998eb4-5fbd-4610-92b9-4a8573f70810" + "3b21c490-06d2-437c-9488-c9ae632bbded" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14998" ], "x-ms-correlation-request-id": [ - "0d05a290-2304-42e5-acda-28411e4ae950" + "869666df-c499-4972-a93c-7af44d841437" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191025Z:0d05a290-2304-42e5-acda-28411e4ae950" + "WESTUS2:20180219T235317Z:869666df-c499-4972-a93c-7af44d841437" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "50655484-3fdb-4ac1-924e-7b65fea0f148" + "a525991d-4ce9-425a-81cf-6b87c2388078" ], "accept-language": [ "en-US" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:25 GMT" + "Mon, 19 Feb 2018 23:53:17 GMT" ], "Pragma": [ "no-cache" @@ -234,7 +234,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD10=\"" + "\"AAAAAAAAD78=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -246,25 +246,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4fba5e91-78bb-4c83-9885-5185a85fda02" + "666201e3-d53a-4818-bcd8-751c00fa1f70" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14997" ], "x-ms-correlation-request-id": [ - "3b887b20-39b4-4926-a4b4-7e340d96126c" + "c716e7bc-d149-49d1-b771-9a41b6b65ac0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191025Z:3b887b20-39b4-4926-a4b4-7e340d96126c" + "WESTUS2:20180219T235317Z:c716e7bc-d149-49d1-b771-9a41b6b65ac0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId3937?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRob3JpemF0aW9uU2VydmVySWQzOTM3P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId6481?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRob3JpemF0aW9uU2VydmVySWQ2NDgxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"defaultScope\": \"oauth2scope1484\",\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"displayName\": \"authName2942\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\"\r\n ],\r\n \"clientId\": \"clientid7319\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"defaultScope\": \"oauth2scope5972\",\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"displayName\": \"authName8978\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\"\r\n ],\r\n \"clientId\": \"clientid9574\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -273,7 +273,7 @@ "546" ], "x-ms-client-request-id": [ - "322b6d03-45cd-420a-bd1e-092689efcd9d" + "218159e7-4919-4861-ab5e-83421d96774a" ], "accept-language": [ "en-US" @@ -283,7 +283,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId3937\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authorizationServerId3937\",\r\n \"properties\": {\r\n \"displayName\": \"authName2942\",\r\n \"description\": null,\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": null,\r\n \"tokenBodyParameters\": null,\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"oauth2scope1484\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid7319\",\r\n \"clientSecret\": null,\r\n \"resourceOwnerUsername\": null,\r\n \"resourceOwnerPassword\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId6481\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authorizationServerId6481\",\r\n \"properties\": {\r\n \"displayName\": \"authName8978\",\r\n \"description\": null,\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": null,\r\n \"tokenBodyParameters\": null,\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": false,\r\n \"defaultScope\": \"oauth2scope5972\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid9574\",\r\n \"clientSecret\": null,\r\n \"resourceOwnerUsername\": null,\r\n \"resourceOwnerPassword\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1086" @@ -298,13 +298,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:26 GMT" + "Mon, 19 Feb 2018 23:53:18 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD2c=\"" + "\"AAAAAAAAM9o=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -313,25 +313,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7cb34bae-e793-4add-85a3-41d7ab67325f" + "84c1d4e4-65d3-4675-98f3-b4879161f3fe" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "6e153919-dd53-4293-b6a5-740ca5318bd7" + "4017596c-d08f-4605-8e3c-4ba0d67ba8b6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191026Z:6e153919-dd53-4293-b6a5-740ca5318bd7" + "WESTUS2:20180219T235318Z:4017596c-d08f-4605-8e3c-4ba0d67ba8b6" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription3876\",\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId3937\",\r\n \"scope\": \"oauth2scope7548\"\r\n }\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header9497\",\r\n \"query\": \"query8804\"\r\n },\r\n \"displayName\": \"apiname6068\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"https\",\r\n \"http\"\r\n ]\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription3827\",\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId6481\",\r\n \"scope\": \"oauth2scope5400\"\r\n }\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header4300\",\r\n \"query\": \"query9702\"\r\n },\r\n \"displayName\": \"apiname5822\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"https\",\r\n \"http\"\r\n ]\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -340,7 +340,7 @@ "521" ], "x-ms-client-request-id": [ - "91b687a7-fb31-4122-99de-7da25a11e5d1" + "21a8971b-2fa5-4fa4-a9ef-d6da753d0c62" ], "accept-language": [ "en-US" @@ -350,7 +350,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid6938\",\r\n \"properties\": {\r\n \"displayName\": \"apiname6068\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription3876\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId3937\",\r\n \"scope\": \"oauth2scope7548\"\r\n },\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header9497\",\r\n \"query\": \"query8804\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid7602\",\r\n \"properties\": {\r\n \"displayName\": \"apiname5822\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription3827\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId6481\",\r\n \"scope\": \"oauth2scope5400\"\r\n },\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header4300\",\r\n \"query\": \"query9702\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "841" @@ -365,13 +365,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:28 GMT" + "Mon, 19 Feb 2018 23:53:18 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD2g=\"" + "\"AAAAAAAAM9s=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -380,28 +380,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22ef358b-213c-47df-9b4c-5aca1ccafde2" + "07d8441f-c54c-4335-b095-a91b44e06192" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "e2bb103a-8976-42e8-82c8-bc93b3eca9f9" + "fc6c9578-7a3f-4cc4-9687-399775c0f1ca" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191028Z:e2bb103a-8976-42e8-82c8-bc93b3eca9f9" + "WESTUS2:20180219T235318Z:fc6c9578-7a3f-4cc4-9687-399775c0f1ca" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ceca7729-39c0-426d-a46e-9022046e8f46" + "0a370a2e-7f8f-4229-b7b1-9bf25012fdb4" ], "accept-language": [ "en-US" @@ -411,7 +411,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid6938\",\r\n \"properties\": {\r\n \"displayName\": \"apiname6068\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription3876\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId3937\",\r\n \"scope\": \"oauth2scope7548\"\r\n },\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header9497\",\r\n \"query\": \"query8804\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid7602\",\r\n \"properties\": {\r\n \"displayName\": \"apiname5822\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription3827\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"newapiPath\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": {\r\n \"authorizationServerId\": \"authorizationServerId6481\",\r\n \"scope\": \"oauth2scope5400\"\r\n },\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header4300\",\r\n \"query\": \"query9702\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -423,7 +423,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:28 GMT" + "Mon, 19 Feb 2018 23:53:18 GMT" ], "Pragma": [ "no-cache" @@ -432,7 +432,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD2g=\"" + "\"AAAAAAAAM9s=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -444,28 +444,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6ca3bb1f-0355-40d5-8298-d6ee99421186" + "b574587f-80b8-4ec7-8863-c5e5a6ba6c39" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14996" ], "x-ms-correlation-request-id": [ - "d267073c-f995-4151-ae49-d82754388d79" + "d2a3c9d0-315e-4028-ac90-b62f1764b1b1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191028Z:d267073c-f995-4151-ae49-d82754388d79" + "WESTUS2:20180219T235318Z:d2a3c9d0-315e-4028-ac90-b62f1764b1b1" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d7dfba96-b1be-4c23-88c1-c3d3950e1c30" + "4e6831dc-878f-4c52-90f5-fff76706e9c5" ], "accept-language": [ "en-US" @@ -475,7 +475,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid6938\",\r\n \"properties\": {\r\n \"displayName\": \"patchedname2460\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"patchedDescription9761\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"patchedPath6461\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header9497\",\r\n \"query\": \"query8804\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid7602\",\r\n \"properties\": {\r\n \"displayName\": \"patchedname533\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"patchedDescription2545\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"patchedPath2414\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header4300\",\r\n \"query\": \"query9702\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -487,7 +487,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:30 GMT" + "Mon, 19 Feb 2018 23:53:21 GMT" ], "Pragma": [ "no-cache" @@ -496,7 +496,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD2o=\"" + "\"AAAAAAAAM90=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -508,28 +508,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c0a65d62-1320-40ec-8e4a-f3d88230dfc4" + "59b871f9-b002-4af5-992f-372d24f4355b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14994" ], "x-ms-correlation-request-id": [ - "46ee555c-bd8f-44a0-9db8-73b120bc79b8" + "4f4416e6-5888-423e-9ead-603a853ec07a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191030Z:46ee555c-bd8f-44a0-9db8-73b120bc79b8" + "WESTUS2:20180219T235321Z:4f4416e6-5888-423e-9ead-603a853ec07a" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e945d45f-5f5f-4a08-8457-b5e5890ab4cd" + "d3fea022-b5d9-43e6-8bc0-d90dba3b13fb" ], "accept-language": [ "en-US" @@ -554,7 +554,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:32 GMT" + "Mon, 19 Feb 2018 23:53:22 GMT" ], "Pragma": [ "no-cache" @@ -566,37 +566,95 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "eb82e52d-4477-4e42-8176-a7b2e04dc7e3" + "4458f69a-91af-40d3-b870-bbedd9d0ff76" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14991" ], "x-ms-correlation-request-id": [ - "26442218-3b60-40e9-bd9e-5d6d07e72b6d" + "54a6bea9-dad9-4e85-afa4-2cd68cd424c7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191032Z:26442218-3b60-40e9-bd9e-5d6d07e72b6d" + "WESTUS2:20180219T235322Z:54a6bea9-dad9-4e85-afa4-2cd68cd424c7" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b6e96cfd-0f7b-4151-b243-6a46f924f97a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 23:53:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAM9s=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "abdd32d7-9d15-46ce-b4b0-d349478ecb41" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "a2d47452-5ac2-465b-9cee-07ee816febcc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T235318Z:a2d47452-5ac2-465b-9cee-07ee816febcc" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription9761\",\r\n \"authenticationSettings\": {},\r\n \"displayName\": \"patchedname2460\",\r\n \"path\": \"patchedPath6461\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription2545\",\r\n \"authenticationSettings\": {},\r\n \"displayName\": \"patchedname533\",\r\n \"path\": \"patchedPath2414\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "179" + "178" ], "x-ms-client-request-id": [ - "b3565b93-d2e9-4462-a7ba-2aebc3d7a55b" + "aec6baa5-1e6d-447d-aa77-b1b8e117347e" ], "If-Match": [ - "*" + "\"AAAAAAAAM9s=\"" ], "accept-language": [ "en-US" @@ -608,9 +666,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -618,7 +673,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:30 GMT" + "Mon, 19 Feb 2018 23:53:21 GMT" ], "Pragma": [ "no-cache" @@ -630,28 +685,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c98f0a70-31ea-4dbd-b7d0-6217002306bc" + "ca2b7652-c018-49ff-b51b-4001fe1cd0a0" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "8034fa41-4055-4631-925d-d5999ae639ba" + "df8d8cad-473f-428e-8dcd-4685fed7585c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191030Z:8034fa41-4055-4631-925d-d5999ae639ba" + "WESTUS2:20180219T235321Z:df8d8cad-473f-428e-8dcd-4685fed7585c" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?$top=1&api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAxJmV4cGFuZEFwaVZlcnNpb25TZXQ9ZmFsc2U=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ab0cbac9-3887-4608-8411-69d79b4396bf" + "c94ba9f5-6429-4a3d-8b99-4183f5156bc9" ], "accept-language": [ "en-US" @@ -661,7 +716,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?%24top=1&api-version=2018-01-01&expandApiVersionSet=false&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -673,7 +728,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:30 GMT" + "Mon, 19 Feb 2018 23:53:21 GMT" ], "Pragma": [ "no-cache" @@ -691,28 +746,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c3d88164-02b1-4fe9-9db6-7ce30188764e" + "03fb0701-4245-435e-8a40-73679e412168" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14993" ], "x-ms-correlation-request-id": [ - "48da9999-6818-4261-8027-3a0fb997de48" + "fba544b1-9fcb-4dd0-ae94-3f7d73a0835b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191031Z:48da9999-6818-4261-8027-3a0fb997de48" + "WESTUS2:20180219T235321Z:fba544b1-9fcb-4dd0-ae94-3f7d73a0835b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?%24top=1&api-version=2017-03-01&%24skip=1", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzPyUyNHRvcD0xJmFwaS12ZXJzaW9uPTIwMTctMDMtMDEmJTI0c2tpcD0x", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?%24top=1&api-version=2018-01-01&expandApiVersionSet=false&%24skip=1", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzPyUyNHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZSYlMjRza2lwPTE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "76f0ea04-9d87-4278-b293-e9c2f1b16849" + "c5bdc5d1-7994-421d-a8aa-fc8bc85317b0" ], "accept-language": [ "en-US" @@ -722,7 +777,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid6938\",\r\n \"properties\": {\r\n \"displayName\": \"patchedname2460\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"patchedDescription9761\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"patchedPath6461\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid7602\",\r\n \"properties\": {\r\n \"displayName\": \"patchedname533\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"patchedDescription2545\",\r\n \"serviceUrl\": \"http://newechoapi.cloudapp.net/api\",\r\n \"path\": \"patchedPath2414\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -734,7 +789,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:30 GMT" + "Mon, 19 Feb 2018 23:53:22 GMT" ], "Pragma": [ "no-cache" @@ -752,28 +807,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "afe14ea5-ff55-4dda-825f-a57e1f274bd3" + "c13128e9-567f-4ac5-9847-9fcc9b0eba07" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14992" ], "x-ms-correlation-request-id": [ - "2ab7f3e5-6b9d-4442-9e09-1f9c5e81f2ac" + "d82d69f2-315a-4e53-953e-96d3c8117610" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191031Z:2ab7f3e5-6b9d-4442-9e09-1f9c5e81f2ac" + "WESTUS2:20180219T235322Z:d82d69f2-315a-4e53-953e-96d3c8117610" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "392fd362-7474-44ae-9048-7d4c3d32e4d9" + "ac62684d-c3bf-4b4e-9313-f5d84a82b186" ], "If-Match": [ "*" @@ -798,7 +853,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:32 GMT" + "Mon, 19 Feb 2018 23:53:22 GMT" ], "Pragma": [ "no-cache" @@ -810,28 +865,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a65cdc61-0893-4c67-9ade-a7d8e0b43e00" + "ec8890bf-c34d-4455-b458-aa516c27fbc5" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "f8e2a712-bb53-4604-b2af-5e452a4ca8ac" + "6871b381-5548-47aa-bbb4-cb257752b18b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191032Z:f8e2a712-bb53-4604-b2af-5e452a4ca8ac" + "WESTUS2:20180219T235322Z:6871b381-5548-47aa-bbb4-cb257752b18b" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid6938?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNjkzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid7602?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNzYwMj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "856bd1a7-3f28-4df0-a0dd-dc902877cabc" + "3bc928aa-e9ae-48a6-a957-fd1e0f337433" ], "If-Match": [ "*" @@ -846,9 +901,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -856,7 +908,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:32 GMT" + "Mon, 19 Feb 2018 23:53:25 GMT" ], "Pragma": [ "no-cache" @@ -868,28 +920,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b87cffdd-f2bf-4234-a6f0-5d6ed8387c68" + "8ccc27db-f924-4265-b90b-a6e60f89e85c" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "7a6976a0-2db4-4fee-b065-22c417386b12" + "56722ec4-7389-4e93-af50-ba252f9a4e62" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191032Z:7a6976a0-2db4-4fee-b065-22c417386b12" + "WESTUS2:20180219T235325Z:56722ec4-7389-4e93-af50-ba252f9a4e62" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId3937?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRob3JpemF0aW9uU2VydmVySWQzOTM3P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authorizationServerId6481?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRob3JpemF0aW9uU2VydmVySWQ2NDgxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7484f4de-092a-4a2f-abec-1317376cd0c0" + "4e5fa66a-e439-46b7-94f2-a970ed12819d" ], "If-Match": [ "*" @@ -914,7 +966,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:32 GMT" + "Mon, 19 Feb 2018 23:53:25 GMT" ], "Pragma": [ "no-cache" @@ -926,43 +978,42 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f097e13b-ebd6-458d-8f60-12dfc7e46399" + "5d7f63d5-7599-4b09-a56a-db8eac88ad96" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], "x-ms-correlation-request-id": [ - "01f30488-1f6e-437e-9c5f-21621cf5189c" + "5c794b43-0326-4fd7-8d6e-9bdbb6447507" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191033Z:01f30488-1f6e-437e-9c5f-21621cf5189c" + "WESTUS2:20180219T235326Z:5c794b43-0326-4fd7-8d6e-9bdbb6447507" ] }, - "StatusCode": 204 + "StatusCode": 200 } ], "Names": { "CreateListUpdateDelete": [ - "authorizationServerId3937", - "apiid6938", - "authName2942", - "oauth2scope1484", - "clientid7319", - "apiname6068", - "apidescription3876", - "header9497", - "query8804", - "oauth2scope7548", - "patchedname2460", - "patchedDescription9761", - "patchedPath6461" + "authorizationServerId6481", + "apiid7602", + "authName8978", + "oauth2scope5972", + "clientid9574", + "apiname5822", + "apidescription3827", + "header4300", + "query9702", + "oauth2scope5400", + "patchedname533", + "patchedDescription2545", + "patchedPath2414" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiVersionSetTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiVersionSetTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..0d3cb03f4db2 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiVersionSetTests/CreateListUpdateDelete.json @@ -0,0 +1,728 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "5bb4c25e-f202-4c76-b2ee-f48c09238dba" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:08:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7e304295-e326-4bf8-a722-7d8ee57b8d99", + "74a7a5a3-912f-4ce4-81cb-a74d5eefd08a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "412d7723-3252-4a4e-9473-ad6241c261d6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190853Z:412d7723-3252-4a4e-9473-ad6241c261d6" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "51c61df5-0c26-4888-bf70-51895488ad7c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:08:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "20c05436-fdc8-4c00-ad25-48a74ba8ea09" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "822ab78d-cfad-4656-bfec-ca54cf9830da" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190853Z:822ab78d-cfad-4656-bfec-ca54cf9830da" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "93f4b108-d65e-4a52-bf7f-a425a2ca1bf5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:08:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3acb9990-c671-4271-82cb-ce23391ff1ab" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "6012e971-50f6-40e0-bcbe-09b6f015155c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190854Z:6012e971-50f6-40e0-bcbe-09b6f015155c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"versionsetdescript8899\",\r\n \"versionHeaderName\": \"x-ms-sdk-version\",\r\n \"displayName\": \"versionset7328\",\r\n \"versioningScheme\": \"Header\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "192" + ], + "x-ms-client-request-id": [ + "b648317e-5095-4b85-946a-429c7f4ca874" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211\",\r\n \"type\": \"Microsoft.ApiManagement/service/api-version-sets\",\r\n \"name\": \"apiversionsetid2211\",\r\n \"properties\": {\r\n \"displayName\": \"versionset7328\",\r\n \"description\": \"versionsetdescript8899\",\r\n \"versioningScheme\": \"Header\",\r\n \"versionQueryName\": null,\r\n \"versionHeaderName\": \"x-ms-sdk-version\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "515" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:08:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANv8=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5686c504-17a1-4d4b-90c1-ba47ceacc283" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "d7ad0fdd-465b-4e72-96eb-df106433077c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190854Z:d7ad0fdd-465b-4e72-96eb-df106433077c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "de171e93-7726-4fdd-a5f1-e59592b69d78" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:09:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANv8=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c1a4226d-b602-496a-a3f2-cb423f86956b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "7904a4fd-fe6d-4cab-80a0-ec93e500a538" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190922Z:7904a4fd-fe6d-4cab-80a0-ec93e500a538" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7c319745-52f5-4414-9dc0-20a0cad49259" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:10:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANwE=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "14d89dab-ce88-48fc-a5b7-e16dd92d8d1a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "e14a999b-6089-4aff-ae36-365b9c88d594" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T191000Z:e14a999b-6089-4aff-ae36-365b9c88d594" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"versionQueryName\": \"x-ms-sdk-version\",\r\n \"versioningScheme\": \"Query\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "106" + ], + "x-ms-client-request-id": [ + "06f700b0-81c6-4889-9a44-9f75896f4b24" + ], + "If-Match": [ + "\"AAAAAAAANv8=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:09:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "83e87584-917a-4463-9b9a-cdb1d6fcc918" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "27acb7f8-b578-4de7-b226-751121dc94f2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190936Z:27acb7f8-b578-4de7-b226-751121dc94f2" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1eb4c0c8-813a-4445-a173-d84ea74e78dc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211\",\r\n \"type\": \"Microsoft.ApiManagement/service/api-version-sets\",\r\n \"name\": \"apiversionsetid2211\",\r\n \"properties\": {\r\n \"displayName\": \"versionset7328\",\r\n \"description\": \"versionsetdescript8899\",\r\n \"versioningScheme\": \"Query\",\r\n \"versionQueryName\": \"x-ms-sdk-version\",\r\n \"versionHeaderName\": \"x-ms-sdk-version\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:09:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANwE=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1b8ffa3f-9891-48b2-93d6-1fbd83970ad4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "a71b5d87-b793-4fc6-86ac-bf04dfbbb2b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T190937Z:a71b5d87-b793-4fc6-86ac-bf04dfbbb2b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b8db0c27-f516-441a-8582-9f7384948840" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Api-version-set not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "91" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:10:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5affff44-a4ee-4b75-b643-80c15655b1f1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "3f142cc0-9e46-40dc-a0b9-0b51cec69640" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T191011Z:3f142cc0-9e46-40dc-a0b9-0b51cec69640" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c7a7bd6-8e4e-454e-b128-bd4c73081978" + ], + "If-Match": [ + "\"AAAAAAAANwE=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:10:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ea75077a-11b8-451d-a4ee-201d28c909f0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "55da99e6-00d8-4aff-a1ba-e89cd68a671d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T191007Z:55da99e6-00d8-4aff-a1ba-e89cd68a671d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/api-version-sets/apiversionsetid2211?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGktdmVyc2lvbi1zZXRzL2FwaXZlcnNpb25zZXRpZDIyMTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f6daa9f3-8a7c-4997-8f4e-5b0a417144e7" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 19:10:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1e71119d-f75f-4aee-b5c5-0545c788a787" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "7bf3b713-860b-4cd9-9bac-bd54aea97ef4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T191049Z:7bf3b713-860b-4cd9-9bac-bd54aea97ef4" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "apiversionsetid2211", + "versionset7328", + "versionsetdescript8899" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.AuthorizationServerTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.AuthorizationServerTests/CreateListUpdateDelete.json index 8ccefdc09050..77c6a780703b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.AuthorizationServerTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.AuthorizationServerTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "683f84ba-8e8d-4c89-8995-3f6bcd874c1e" + "68e0e912-ddf4-4bfa-ae56-26777150f01a" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:27 GMT" + "Tue, 20 Feb 2018 02:14:49 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fe134c8b-9598-4e05-a692-96a7e900657d", - "7234927c-f9c0-4601-bc50-b5b43e7264e9" + "9500d8f0-5223-474e-812d-43ad49dbe068", + "7fd9c1ab-dc90-40a1-80d3-6a1b90c013f9" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "1e23fed5-0d5b-419b-951f-cfefb32d163a" + "16b6cae4-3f59-41b5-a9bd-80a4058c2d0f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191128Z:1e23fed5-0d5b-419b-951f-cfefb32d163a" + "WESTUS2:20180220T021450Z:16b6cae4-3f59-41b5-a9bd-80a4058c2d0f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b318052c-f577-4d52-820f-1d21d89fb254" + "056d723b-4144-4105-b913-4195c9d690dc" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:28 GMT" + "Tue, 20 Feb 2018 02:14:50 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8909cde5-5c8d-471d-bd47-2b1338cb969b" + "1b20c77b-f38d-4006-b24d-7f5fefe89f67" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14998" ], "x-ms-correlation-request-id": [ - "6ccfe626-4b05-4397-9f57-67ec2c6a2249" + "eb2bad99-6173-40a0-aecf-a2b692e70bb0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191128Z:6ccfe626-4b05-4397-9f57-67ec2c6a2249" + "WESTUS2:20180220T021450Z:eb2bad99-6173-40a0-aecf-a2b692e70bb0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b8a4e1a9-877f-4662-be69-a309c8e904ee" + "62396212-ae91-4e5d-94f5-c88de996a416" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:28 GMT" + "Tue, 20 Feb 2018 02:14:50 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8bc4a514-99b2-48ee-9b91-d18afb423a48" + "fe2f3c0b-2867-4c39-83e7-5c2d4e94ec85" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14997" ], "x-ms-correlation-request-id": [ - "7f4c38ae-47bd-4ff1-a299-2fbc56952bdc" + "a5441ba4-e380-4d28-8c3d-133505a88481" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191129Z:7f4c38ae-47bd-4ff1-a299-2fbc56952bdc" + "WESTUS2:20180220T021450Z:a5441ba4-e380-4d28-8c3d-133505a88481" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dff39b98-1888-43d6-9647-bd685e2428a4" + "c8042216-4cb5-4853-a2b3-a7a2a79d7a43" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid5862\",\r\n \"properties\": {\r\n \"displayName\": \"authName9163\",\r\n \"description\": \"authdescription1684\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname350\",\r\n \"value\": \"tokenvalue8541\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope5724\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid2882\",\r\n \"clientSecret\": \"authclientsecret8192\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername6029\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd2951\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid6308\",\r\n \"properties\": {\r\n \"displayName\": \"authName3724\",\r\n \"description\": \"authdescription5757\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname172\",\r\n \"value\": \"tokenvalue373\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope334\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid7105\",\r\n \"clientSecret\": \"authclientsecret7765\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername4734\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd831\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:29 GMT" + "Tue, 20 Feb 2018 02:14:51 GMT" ], "Pragma": [ "no-cache" @@ -243,34 +243,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d759aabf-59fb-4a00-874f-1b4a0d12f457" + "01d5dddc-2bc7-48e8-9588-1b6f2c5a64ce" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14995" ], "x-ms-correlation-request-id": [ - "18fd72db-922d-4a77-891d-391b2e0b7f82" + "a3573ef5-a419-4abe-b458-0cc8111691d9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191130Z:18fd72db-922d-4a77-891d-391b2e0b7f82" + "WESTUS2:20180220T021452Z:a3573ef5-a419-4abe-b458-0cc8111691d9" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"authdescription1684\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname350\",\r\n \"value\": \"tokenvalue8541\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope5724\",\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientSecret\": \"authclientsecret8192\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername6029\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd2951\",\r\n \"displayName\": \"authName9163\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"clientId\": \"clientid2882\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"authdescription5757\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname172\",\r\n \"value\": \"tokenvalue373\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope334\",\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientSecret\": \"authclientsecret7765\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername4734\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd831\",\r\n \"displayName\": \"authName3724\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"clientId\": \"clientid7105\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "998" + "995" ], "x-ms-client-request-id": [ - "ae98386d-219b-4dc8-91ea-6c50ec1611ea" + "4d2e1f01-ab0b-4bc2-a8f4-0171f1043068" ], "accept-language": [ "en-US" @@ -280,10 +280,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid5862\",\r\n \"properties\": {\r\n \"displayName\": \"authName9163\",\r\n \"description\": \"authdescription1684\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname350\",\r\n \"value\": \"tokenvalue8541\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope5724\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid2882\",\r\n \"clientSecret\": \"authclientsecret8192\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername6029\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd2951\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid6308\",\r\n \"properties\": {\r\n \"displayName\": \"authName3724\",\r\n \"description\": \"authdescription5757\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname172\",\r\n \"value\": \"tokenvalue373\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope334\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid7105\",\r\n \"clientSecret\": \"authclientsecret7765\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername4734\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd831\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1282" + "1279" ], "Content-Type": [ "application/json; charset=utf-8" @@ -295,13 +295,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:29 GMT" + "Tue, 20 Feb 2018 02:14:51 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD5Y=\"" + "\"AAAAAAAANMU=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -310,28 +310,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2ab3c28c-ec8e-4c63-b527-6daaca43e1df" + "ac27158f-5ab8-4119-8da5-d0f217f4633e" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "2fbb4221-f8ed-42c2-bcc9-4ab8d5afa496" + "186042ae-b482-466d-b3cf-699b8d7ad61d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191129Z:2fbb4221-f8ed-42c2-bcc9-4ab8d5afa496" + "WESTUS2:20180220T021451Z:186042ae-b482-466d-b3cf-699b8d7ad61d" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bab15bc0-df7a-4f06-a678-f80d700ee0a3" + "611ede9f-de8b-4804-8b82-13d99b119f66" ], "accept-language": [ "en-US" @@ -341,7 +341,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid5862\",\r\n \"properties\": {\r\n \"displayName\": \"authName9163\",\r\n \"description\": \"authdescription1684\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname350\",\r\n \"value\": \"tokenvalue8541\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope5724\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid2882\",\r\n \"clientSecret\": \"authclientsecret8192\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername6029\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd2951\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid6308\",\r\n \"properties\": {\r\n \"displayName\": \"authName3724\",\r\n \"description\": \"authdescription5757\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname172\",\r\n \"value\": \"tokenvalue373\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope334\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"implicit\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid7105\",\r\n \"clientSecret\": \"authclientsecret7765\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername4734\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd831\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -353,7 +353,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:29 GMT" + "Tue, 20 Feb 2018 02:14:51 GMT" ], "Pragma": [ "no-cache" @@ -362,7 +362,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD5Y=\"" + "\"AAAAAAAANMU=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -374,28 +374,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b2eb29f0-6999-46ba-8c45-6068e64db219" + "0e2eecc9-9fdf-4add-b30c-37c09a507772" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14996" ], "x-ms-correlation-request-id": [ - "dc2b1274-87f6-4317-baf4-4b9e1d2bceb9" + "223f359c-6a68-402e-91c9-a781b3a1cc8d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191129Z:dc2b1274-87f6-4317-baf4-4b9e1d2bceb9" + "WESTUS2:20180220T021451Z:223f359c-6a68-402e-91c9-a781b3a1cc8d" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1321a196-aa1b-4c21-a404-0545b006e5b2" + "afd1dade-1928-486f-a937-ae3d0d4ed0a6" ], "accept-language": [ "en-US" @@ -405,7 +405,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid5862\",\r\n \"properties\": {\r\n \"displayName\": \"authName9163\",\r\n \"description\": \"authdescription1684\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname350\",\r\n \"value\": \"tokenvalue8541\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope5724\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid2882\",\r\n \"clientSecret\": \"authclientsecret8192\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername6029\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd2951\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308\",\r\n \"type\": \"Microsoft.ApiManagement/service/authorizationServers\",\r\n \"name\": \"authsid6308\",\r\n \"properties\": {\r\n \"displayName\": \"authName3724\",\r\n \"description\": \"authdescription5757\",\r\n \"clientRegistrationEndpoint\": \"https://contoso.com/clients/reg\",\r\n \"authorizationEndpoint\": \"https://contoso.com/auth\",\r\n \"authorizationMethods\": [\r\n \"POST\",\r\n \"GET\"\r\n ],\r\n \"clientAuthenticationMethod\": [\r\n \"Basic\"\r\n ],\r\n \"tokenBodyParameters\": [\r\n {\r\n \"name\": \"tokenname172\",\r\n \"value\": \"tokenvalue373\"\r\n }\r\n ],\r\n \"tokenEndpoint\": \"https://contoso.com/token\",\r\n \"supportState\": true,\r\n \"defaultScope\": \"oauth2scope334\",\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"resourceOwnerPassword\"\r\n ],\r\n \"bearerTokenSendingMethods\": [\r\n \"authorizationHeader\",\r\n \"query\"\r\n ],\r\n \"clientId\": \"clientid7105\",\r\n \"clientSecret\": \"authclientsecret7765\",\r\n \"resourceOwnerUsername\": \"authresourceownerusername4734\",\r\n \"resourceOwnerPassword\": \"authresourceownerpwd831\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -417,7 +417,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:30 GMT" + "Tue, 20 Feb 2018 02:14:51 GMT" ], "Pragma": [ "no-cache" @@ -426,7 +426,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD5c=\"" + "\"AAAAAAAANMY=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -438,28 +438,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8db610aa-0fa3-4aba-a2de-578d346874ed" + "11b88c65-4dc6-421d-b75a-77818bcf38a6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14994" ], "x-ms-correlation-request-id": [ - "e6241bc4-9892-4746-8c34-d33feecd1164" + "06e6a01c-d81d-4af3-9214-2ec4a2716a87" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191130Z:e6241bc4-9892-4746-8c34-d33feecd1164" + "WESTUS2:20180220T021452Z:06e6a01c-d81d-4af3-9214-2ec4a2716a87" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ac0bdf76-13eb-4aa5-8b0e-2d8f6af8cd26" + "adf50bca-636d-4654-a627-1f764baf9139" ], "accept-language": [ "en-US" @@ -484,7 +484,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:30 GMT" + "Tue, 20 Feb 2018 02:14:52 GMT" ], "Pragma": [ "no-cache" @@ -496,23 +496,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0a79fbe4-2386-4b15-9796-16c6c4fa3617" + "c372f6ad-60d4-4ab6-9c3b-65f42add1fd9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14993" ], "x-ms-correlation-request-id": [ - "2269d04d-0fa0-49ee-aa4e-3c44e78bd4d2" + "e79ca2dd-f9e9-46c3-babf-657420d413f3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191130Z:2269d04d-0fa0-49ee-aa4e-3c44e78bd4d2" + "WESTUS2:20180220T021453Z:e79ca2dd-f9e9-46c3-babf-657420d413f3" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"properties\": {\r\n \"grantTypes\": [\r\n \"authorizationCode\",\r\n \"resourceOwnerPassword\"\r\n ]\r\n }\r\n}", "RequestHeaders": { @@ -523,10 +523,10 @@ "115" ], "x-ms-client-request-id": [ - "27b1802a-5fe2-4d35-a676-e43bb23cee2a" + "a4bdfecd-1473-495b-93c8-e91f7c0f4a5e" ], "If-Match": [ - "\"AAAAAAAAD5Y=\"" + "\"AAAAAAAANMU=\"" ], "accept-language": [ "en-US" @@ -538,9 +538,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -548,7 +545,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:29 GMT" + "Tue, 20 Feb 2018 02:14:51 GMT" ], "Pragma": [ "no-cache" @@ -560,31 +557,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "15b8e947-8fa5-43de-8f45-a1a4b234e4cc" + "bc3046aa-cb5b-47a7-9798-ba7bc40e5673" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "1a38998a-5394-4d11-85cf-d74f0a997142" + "e6813aaf-1487-46a0-8b7c-237339f59732" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191130Z:1a38998a-5394-4d11-85cf-d74f0a997142" + "WESTUS2:20180220T021452Z:e6813aaf-1487-46a0-8b7c-237339f59732" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "88dd923b-abaa-46dc-8827-7769844736a9" + "fbf277a1-20fb-4aa8-8a03-d3d962cfbd7e" ], "If-Match": [ - "\"AAAAAAAAD5c=\"" + "\"AAAAAAAANMY=\"" ], "accept-language": [ "en-US" @@ -606,7 +603,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:30 GMT" + "Tue, 20 Feb 2018 02:14:52 GMT" ], "Pragma": [ "no-cache" @@ -618,28 +615,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bb5b0129-5bfc-4559-84b4-cae9a2733a30" + "3740a736-aa79-41fb-83d1-b3cc4cbdcd6a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "a7b4171d-52f6-4030-9be8-8b6216820864" + "d10dfe49-59d5-4a0c-91ea-6ffb03ec66d2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191130Z:a7b4171d-52f6-4030-9be8-8b6216820864" + "WESTUS2:20180220T021452Z:d10dfe49-59d5-4a0c-91ea-6ffb03ec66d2" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid5862?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNTg2Mj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/authorizationServers/authsid6308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hdXRob3JpemF0aW9uU2VydmVycy9hdXRoc2lkNjMwOD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6e61ea27-f78a-4a3f-88fc-53b46f40e753" + "57c6f095-337c-4d2c-b8fa-816b80ea8510" ], "If-Match": [ "*" @@ -654,9 +651,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -664,7 +658,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:30 GMT" + "Tue, 20 Feb 2018 02:14:52 GMT" ], "Pragma": [ "no-cache" @@ -676,16 +670,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "97ae8458-9892-4b1d-946c-9d45c5854884" + "e664dccb-4999-449f-a121-417349ca8c15" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "5fee5e7a-73a9-4cd6-ac7b-b77d1a4676b3" + "2d69d74d-912a-4c75-ac60-c3a647c5a67a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191131Z:5fee5e7a-73a9-4cd6-ac7b-b77d1a4676b3" + "WESTUS2:20180220T021453Z:2d69d74d-912a-4c75-ac60-c3a647c5a67a" ] }, "StatusCode": 204 @@ -693,23 +687,22 @@ ], "Names": { "CreateListUpdateDelete": [ - "authsid5862", - "authName9163", - "oauth2scope5724", - "clientid2882", - "authdescription1684", - "authclientsecret8192", - "authresourceownerpwd2951", - "authresourceownerusername6029", - "tokenname350", - "tokenvalue8541" + "authsid6308", + "authName3724", + "oauth2scope334", + "clientid7105", + "authdescription5757", + "authclientsecret7765", + "authresourceownerpwd831", + "authresourceownerusername4734", + "tokenname172", + "tokenvalue373" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/CreateListUpdateDelete.json index d0ac941c4e39..41e5d9d0dceb 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "ef9acc90-853a-46b2-9493-436aa7661376" + "34539d7a-5800-4531-869c-e3706df34446" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:28 GMT" + "Wed, 21 Feb 2018 22:07:14 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "31641f51-1ab5-4c07-b0ef-e59ff717ecda", - "494dd76b-6e8a-43b8-a086-7b67799b7319" + "d602671d-28ef-4788-8ad5-380b1596124a", + "4db24b66-d28f-4298-bad5-4841502665c4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "8012f82f-6fc9-4116-ba78-37fba1b6e89e" + "6d806dbe-7429-4fb5-80dc-17e10f19b37b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191729Z:8012f82f-6fc9-4116-ba78-37fba1b6e89e" + "WESTUS2:20180221T220714Z:6d806dbe-7429-4fb5-80dc-17e10f19b37b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee5491ba-ee76-4470-b0b6-9d47adb61cc6" + "6eb06506-f061-40fb-b930-b6e40202d6ac" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:28 GMT" + "Wed, 21 Feb 2018 22:07:14 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,34 +121,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b5f20a4c-0ab7-44e1-b10f-503d6a5c77e7" + "d4920692-721e-49bf-91aa-f8972e9d119f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14999" ], "x-ms-correlation-request-id": [ - "c2629511-acab-4964-b078-cd745e1daed5" + "930a83f0-ed72-411f-a401-6ec798700c11" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191729Z:c2629511-acab-4964-b078-cd745e1daed5" + "WESTUS2:20180221T220714Z:930a83f0-ed72-411f-a401-6ec798700c11" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description731\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n },\r\n \"url\": \"https://backendname9562/\",\r\n \"protocol\": \"http\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description4934\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n },\r\n \"url\": \"https://backendname1912/\",\r\n \"protocol\": \"http\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "564" + "565" ], "x-ms-client-request-id": [ - "7d4fa18a-960d-47c9-a888-d85f508446fa" + "6984aef6-cba5-4ec3-b267-f30c47cc6af6" ], "accept-language": [ "en-US" @@ -158,10 +158,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5332\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description731\",\r\n \"url\": \"https://backendname9562/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5696\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description4934\",\r\n \"url\": \"https://backendname1912/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "848" + "849" ], "Content-Type": [ "application/json; charset=utf-8" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:29 GMT" + "Wed, 21 Feb 2018 22:07:15 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD8c=\"" + "\"AAAAAAAANjs=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +188,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0ad26661-a289-4a4e-a38f-4733aeb197e5" + "a7a3e3a3-11cc-4235-a734-600a95416a65" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1198" ], "x-ms-correlation-request-id": [ - "30a8c50f-1123-48c4-af55-087477a2c222" + "18ab2cad-92a2-4e7c-8fde-0710e2604ff3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191730Z:30a8c50f-1123-48c4-af55-087477a2c222" + "WESTUS2:20180221T220716Z:18ab2cad-92a2-4e7c-8fde-0710e2604ff3" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9026d4ac-a670-4b0e-ab61-a5da8c02806b" + "4d7ec943-6824-43e9-8d5e-d3b734e01185" ], "accept-language": [ "en-US" @@ -219,7 +219,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5332\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description731\",\r\n \"url\": \"https://backendname9562/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5696\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description4934\",\r\n \"url\": \"https://backendname1912/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -231,7 +231,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:30 GMT" + "Wed, 21 Feb 2018 22:07:16 GMT" ], "Pragma": [ "no-cache" @@ -240,7 +240,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8c=\"" + "\"AAAAAAAANjs=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -252,28 +252,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "857c4dfe-558e-4bac-abaa-a30f92749efb" + "f002400c-2de1-4c68-bef6-81609bd50d9a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14998" ], "x-ms-correlation-request-id": [ - "d167f428-d4e5-4388-ac2e-7839d27507ca" + "37fc9203-f9a3-4abf-9f92-74186fef509f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191730Z:d167f428-d4e5-4388-ac2e-7839d27507ca" + "WESTUS2:20180221T220716Z:37fc9203-f9a3-4abf-9f92-74186fef509f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "68b76602-d826-4508-8c29-f75eb5cf4272" + "b3a3ebbc-5405-4374-8671-e23cac1dfc33" ], "accept-language": [ "en-US" @@ -283,7 +283,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5332\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"patchedDescription1012\",\r\n \"url\": \"https://backendname9562/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5696\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"patchedDescription9580\",\r\n \"url\": \"https://backendname1912/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -295,7 +295,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:31 GMT" + "Wed, 21 Feb 2018 22:07:17 GMT" ], "Pragma": [ "no-cache" @@ -304,7 +304,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8g=\"" + "\"AAAAAAAANjw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -316,28 +316,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e001d8fc-6c2e-4655-8177-7dc792f33d5b" + "d3b21f62-a04d-4fbe-b1cf-a28b3160bf5d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14995" ], "x-ms-correlation-request-id": [ - "a5f91d72-a232-47ca-a17c-4a276b6ff843" + "1aa09d38-5d49-4fd0-9e6a-35d5b4d17f68" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191732Z:a5f91d72-a232-47ca-a17c-4a276b6ff843" + "WESTUS2:20180221T220717Z:1aa09d38-5d49-4fd0-9e6a-35d5b4d17f68" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a514b118-a23c-434c-a34f-24cb5ad9e92d" + "6fe579be-8625-483b-96cc-af69eafbd5de" ], "accept-language": [ "en-US" @@ -362,7 +362,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:31 GMT" + "Wed, 21 Feb 2018 22:07:19 GMT" ], "Pragma": [ "no-cache" @@ -374,28 +374,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ba7cc517-06a4-4863-a247-15b989d4a136" + "4474f3c6-12c1-4a09-8459-44547a355326" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14993" ], "x-ms-correlation-request-id": [ - "d6ddc043-cb6c-4522-83d5-151bab408ad5" + "fd6fff08-9e65-4057-b9ae-ea47fbf98057" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191732Z:d6ddc043-cb6c-4522-83d5-151bab408ad5" + "WESTUS2:20180221T220719Z:fd6fff08-9e65-4057-b9ae-ea47fbf98057" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1b237c5b-4462-4120-bb4d-d7d6e155e591" + "e9df6a96-57f1-45ba-95ea-1583c200df4f" ], "accept-language": [ "en-US" @@ -405,7 +405,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5332\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description731\",\r\n \"url\": \"https://backendname9562/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"backendid5696\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description4934\",\r\n \"url\": \"https://backendname1912/\",\r\n \"protocol\": \"http\",\r\n \"credentials\": {\r\n \"query\": {\r\n \"sv\": [\r\n \"xx\",\r\n \"bb\",\r\n \"cc\"\r\n ]\r\n },\r\n \"header\": {\r\n \"x-my-1\": [\r\n \"val1\",\r\n \"val2\"\r\n ]\r\n },\r\n \"authorization\": {\r\n \"scheme\": \"basic\",\r\n \"parameter\": \"opensemame\"\r\n }\r\n },\r\n \"tls\": {\r\n \"validateCertificateChain\": true,\r\n \"validateCertificateName\": true\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -417,7 +417,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:30 GMT" + "Wed, 21 Feb 2018 22:07:16 GMT" ], "Pragma": [ "no-cache" @@ -435,37 +435,153 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b30a190e-9b94-4ce2-ab8e-954a9eacbfd9" + "5201b2dd-cfa5-4a76-8587-b2b2dad351af" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "23238ed2-00e2-4b42-ae19-b24d0714b581" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180221T220716Z:23238ed2-00e2-4b42-ae19-b24d0714b581" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3a08c2ac-895a-429f-ac51-a47f5b7476ce" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 21 Feb 2018 22:07:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANjs=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fa4ebf18-0525-4c99-a3db-6004272ade3e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "477b3935-413e-44c1-ab12-1e5d6b32c902" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180221T220716Z:477b3935-413e-44c1-ab12-1e5d6b32c902" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed422a14-d7e5-4f1f-ad6b-77e2d84d5de4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Wed, 21 Feb 2018 22:07:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANjw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f2239002-8d0b-4e9f-8523-eea63fabc279" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14994" ], "x-ms-correlation-request-id": [ - "dd6e81fb-6f6e-4d37-abea-877dde0e0a0a" + "cd047e99-ed27-490f-af2c-18018123abbf" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191731Z:dd6e81fb-6f6e-4d37-abea-877dde0e0a0a" + "WESTUS2:20180221T220718Z:cd047e99-ed27-490f-af2c-18018123abbf" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"description\": \"patchedDescription1012\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription9580\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "47" + "73" ], "x-ms-client-request-id": [ - "d2b48008-45a4-4c98-909e-0fe74c49804b" + "3afa2902-4e82-493c-b178-88a70d2e08da" ], "If-Match": [ - "\"AAAAAAAAD8c=\"" + "\"AAAAAAAANjs=\"" ], "accept-language": [ "en-US" @@ -477,9 +593,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -487,7 +600,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:30 GMT" + "Wed, 21 Feb 2018 22:07:17 GMT" ], "Pragma": [ "no-cache" @@ -499,31 +612,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "20c64b35-e5d3-4634-964a-7eeb2aa70e1c" + "d0bf9666-5878-4717-8192-12036e3855f5" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1197" ], "x-ms-correlation-request-id": [ - "9783cdaa-dcd2-43b1-ad37-100ea116f4c4" + "e0fb9732-ebf2-4e3a-83da-126faaedd4e3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191731Z:9783cdaa-dcd2-43b1-ad37-100ea116f4c4" + "WESTUS2:20180221T220717Z:e0fb9732-ebf2-4e3a-83da-126faaedd4e3" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "12a5c7b1-851f-4468-a883-bcd480dd846f" + "916256af-a0da-481f-a3c4-4eb2e3c2880e" ], "If-Match": [ - "\"AAAAAAAAD8g=\"" + "\"AAAAAAAANjw=\"" ], "accept-language": [ "en-US" @@ -545,7 +658,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:31 GMT" + "Wed, 21 Feb 2018 22:07:18 GMT" ], "Pragma": [ "no-cache" @@ -557,28 +670,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ff9f9d89-b058-43bf-9879-7d5cf2c37710" + "e2c91be8-7d88-4fdc-a11b-c9670ddb2732" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1196" ], "x-ms-correlation-request-id": [ - "dbdbe1e0-2550-4cd1-aab1-a253b99d52dc" + "70d5c8a4-d73c-49e5-9de4-1f6d51801cc2" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191732Z:dbdbe1e0-2550-4cd1-aab1-a253b99d52dc" + "WESTUS2:20180221T220719Z:70d5c8a4-d73c-49e5-9de4-1f6d51801cc2" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5332?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1MzMyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/backendid5696?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9iYWNrZW5kaWQ1Njk2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "03228a99-b82c-45ca-bd8d-c1762951c5a6" + "94342348-4606-43d6-8b95-ab421a16b512" ], "If-Match": [ "*" @@ -593,9 +706,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -603,7 +713,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:31 GMT" + "Wed, 21 Feb 2018 22:07:19 GMT" ], "Pragma": [ "no-cache" @@ -615,16 +725,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "04f16d04-4ca0-41a4-9a40-629b56416caf" + "b36216b7-c995-4b99-a306-4139ecda4176" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1195" ], "x-ms-correlation-request-id": [ - "67d8fdf4-a6e3-4d8b-bacc-bac0797702cc" + "2d2090eb-6431-4a48-9414-3e97ffcf5898" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191732Z:67d8fdf4-a6e3-4d8b-bacc-bac0797702cc" + "WESTUS2:20180221T220719Z:2d2090eb-6431-4a48-9414-3e97ffcf5898" ] }, "StatusCode": 204 @@ -632,17 +742,16 @@ ], "Names": { "CreateListUpdateDelete": [ - "backendid5332", - "backendName9562", - "description731", - "patchedDescription1012" + "backendid5696", + "backendName1912", + "description4934", + "patchedDescription9580" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/ServiceFabricCreateUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/ServiceFabricCreateUpdateDelete.json index 6a45c019e329..e5e36d5c5a23 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/ServiceFabricCreateUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.BackendTests/ServiceFabricCreateUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "f71b8336-3f89-4ea7-b3f5-de225762e3ae" + "62cf99ec-6948-4fcb-8dff-56f5f011251d" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:39 GMT" + "Thu, 22 Feb 2018 00:10:26 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "681f1d1a-cdec-41cc-bd31-819d1cd5b610", - "a1031ed5-c85b-43cf-9f1c-a7b867d75e2a" + "71dc6107-59b3-46de-a648-2cdfa06058d6", + "5d54f74e-7e78-4486-bf2c-bf2aed38c427" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "62412d32-d4d2-4abd-986d-8c5012dc16da" + "a45f7a58-e096-45b8-8264-1477e44d1774" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191739Z:62412d32-d4d2-4abd-986d-8c5012dc16da" + "WESTUS2:20180222T001026Z:a45f7a58-e096-45b8-8264-1477e44d1774" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9bc27270-4441-4b3f-b8a8-80e3fbdd4e25" + "d484b723-e006-465c-bf44-0210df62c084" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:39 GMT" + "Thu, 22 Feb 2018 00:10:26 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,34 +121,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "70dac882-1416-43e9-97de-722a8186264a" + "f1fd714a-ab60-4c62-8a60-aa8be7b10f6c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14999" ], "x-ms-correlation-request-id": [ - "409bf67e-2ece-404b-bfef-267306ad12e4" + "3a919c6b-0de1-4b67-b693-237a8d0f7d06" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191739Z:409bf67e-2ece-404b-bfef-267306ad12e4" + "WESTUS2:20180222T001026Z:3a919c6b-0de1-4b67-b693-237a8d0f7d06" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId1110?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDExMTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId6618?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDY2MTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"data\": \"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\",\r\n \"password\": \"g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"data\": \"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\",\r\n \"password\": \"Password\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "3521" + "2493" ], "x-ms-client-request-id": [ - "78dd37a5-f554-4b32-9443-acdc7dd33a10" + "4c0d2bf2-8de3-40ea-81af-e9adf3a88b63" ], "accept-language": [ "en-US" @@ -158,10 +158,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId1110\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId1110\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.powershelltest.net\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"expirationDate\": \"2017-09-22T00:00:00-07:00\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId6618\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId6618\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.msitesting.net\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"expirationDate\": \"2036-01-01T07:00:00Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "465" + "456" ], "Content-Type": [ "application/json; charset=utf-8" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:40 GMT" + "Thu, 22 Feb 2018 00:10:27 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD8k=\"" + "\"AAAAAAAANkY=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,34 +188,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fe589f44-0c16-43bf-a6bb-bf8c75509c58" + "e58e9e98-8a39-401d-9a2e-a0e04e146859" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "f33a7116-61e7-462d-a509-c1ef18b71347" + "6bd014a9-6abf-484d-a0bf-de41bd3428a9" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191740Z:f33a7116-61e7-462d-a509-c1ef18b71347" + "WESTUS2:20180222T001027Z:6bd014a9-6abf-484d-a0bf-de41bd3428a9" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description424\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"clientCertificatethumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"maxPartitionResolutionRetries\": 5,\r\n \"managementEndpoints\": [\r\n \"https://backendname1492/\"\r\n ],\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ]\r\n }\r\n },\r\n \"url\": \"https://backendname1492/\",\r\n \"protocol\": \"http\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description8636\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"clientCertificatethumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"maxPartitionResolutionRetries\": 5,\r\n \"managementEndpoints\": [\r\n \"https://backendname2641/\"\r\n ],\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ]\r\n }\r\n },\r\n \"url\": \"https://backendname2641/\",\r\n \"protocol\": \"http\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "587" + "588" ], "x-ms-client-request-id": [ - "1863de72-521b-4e86-a87c-771fd49ff275" + "cb6da8a0-8d27-444b-bb37-c18d22b7513e" ], "accept-language": [ "en-US" @@ -225,10 +225,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3183\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description424\",\r\n \"url\": \"https://backendname1492/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname1492/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3906\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description8636\",\r\n \"url\": \"https://backendname2641/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname2641/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "871" + "872" ], "Content-Type": [ "application/json; charset=utf-8" @@ -240,13 +240,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:40 GMT" + "Thu, 22 Feb 2018 00:10:28 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD8o=\"" + "\"AAAAAAAANkc=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -255,28 +255,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "47c8883a-5290-4cb5-bf2e-3a03cc92cba2" + "1fc50382-b951-42a9-bc3c-2ebcfb119cc5" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "bddb615b-233a-43d5-a2b6-200c91e5331a" + "732b8f56-41a4-4f2b-bfe6-6636ade6a931" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191741Z:bddb615b-233a-43d5-a2b6-200c91e5331a" + "WESTUS2:20180222T001028Z:732b8f56-41a4-4f2b-bfe6-6636ade6a931" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4599ebfe-04c9-4987-8111-cdea9feb05bc" + "571186ea-7684-493b-8d90-e88db22ac42a" ], "accept-language": [ "en-US" @@ -286,7 +286,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3183\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description424\",\r\n \"url\": \"https://backendname1492/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname1492/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3906\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description8636\",\r\n \"url\": \"https://backendname2641/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname2641/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -298,7 +298,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:40 GMT" + "Thu, 22 Feb 2018 00:10:28 GMT" ], "Pragma": [ "no-cache" @@ -306,9 +306,6 @@ "Transfer-Encoding": [ "chunked" ], - "ETag": [ - "\"AAAAAAAAD8o=\"" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -319,28 +316,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "17eb3a11-6dae-48d7-8606-fc7eeb6eca85" + "2f8acde1-d3e3-4184-92ac-fe620a284011" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14998" ], "x-ms-correlation-request-id": [ - "551f096c-9625-4600-9ca3-7f9150fc5945" + "e56b1661-d106-4732-97eb-636d13867e07" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191741Z:551f096c-9625-4600-9ca3-7f9150fc5945" + "WESTUS2:20180222T001028Z:e56b1661-d106-4732-97eb-636d13867e07" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906/reconnect?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2L3JlY29ubmVjdD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"properties\": {\r\n \"after\": \"PT5M\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "49" + ], "x-ms-client-request-id": [ - "07f18356-4684-4f3c-91da-fe68c9fa8ced" + "4576b46a-086d-4410-8730-c379d63d9bf6" ], "accept-language": [ "en-US" @@ -350,10 +353,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3183\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"patchedDescription7038\",\r\n \"url\": \"https://backendname1492/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname1492/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -362,49 +365,49 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:41 GMT" + "Thu, 22 Feb 2018 00:10:29 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], - "ETag": [ - "\"AAAAAAAAD8s=\"" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e52ccf71-95cd-4d2e-863a-253ec782f259" + "4f71c9eb-2ff5-4b8a-8e7d-99b575ebf913" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" ], "x-ms-correlation-request-id": [ - "7743ae14-4885-43cc-a4bd-45514041d431" + "b11e3e03-a2bb-4128-b1b0-aeec56bc71af" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191742Z:7743ae14-4885-43cc-a4bd-45514041d431" + "WESTUS2:20180222T001029Z:b11e3e03-a2bb-4128-b1b0-aeec56bc71af" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"patchedDescription932\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "72" + ], "x-ms-client-request-id": [ - "e503e522-3689-45f9-9c66-5ae0612ff0a8" + "72f17af0-e783-4d9e-ac86-d79d70632f32" + ], + "If-Match": [ + "*" ], "accept-language": [ "en-US" @@ -414,14 +417,8 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Backend not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "83" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], "Expires": [ "-1" ], @@ -429,7 +426,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:42 GMT" + "Thu, 22 Feb 2018 00:10:29 GMT" ], "Pragma": [ "no-cache" @@ -441,28 +438,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "64bea5c3-b206-4205-9cf8-f23a9cb04361" + "31e6b05a-c13c-4024-8fbf-3ccdbd92b6e2" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" ], "x-ms-correlation-request-id": [ - "82637d70-eb82-493e-aae3-d046e4841e5a" + "65a4a55f-aac0-4e85-82e8-8acab8a96d7f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191743Z:82637d70-eb82-493e-aae3-d046e4841e5a" + "WESTUS2:20180222T001029Z:65a4a55f-aac0-4e85-82e8-8acab8a96d7f" ] }, - "StatusCode": 404 + "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "55d6f7c5-debb-498f-97ce-961f98fe1e72" + "47992771-7bc2-4bf7-98b5-29ed84f57eb2" ], "accept-language": [ "en-US" @@ -472,7 +469,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3183\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"description424\",\r\n \"url\": \"https://backendname1492/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname1492/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906\",\r\n \"type\": \"Microsoft.ApiManagement/service/backends\",\r\n \"name\": \"sfbackend3906\",\r\n \"properties\": {\r\n \"title\": null,\r\n \"description\": \"patchedDescription932\",\r\n \"url\": \"https://backendname2641/\",\r\n \"protocol\": \"http\",\r\n \"properties\": {\r\n \"serviceFabricCluster\": {\r\n \"managementEndpoints\": [\r\n \"https://backendname2641/\"\r\n ],\r\n \"clientCertificateThumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"serverX509Names\": [\r\n {\r\n \"name\": \"serverCommonName1\",\r\n \"issuerCertificateThumbprint\": \"issuerThumbprint1\"\r\n }\r\n ],\r\n \"maxPartitionResolutionRetries\": 5\r\n }\r\n }\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -484,7 +481,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:41 GMT" + "Thu, 22 Feb 2018 00:10:30 GMT" ], "Pragma": [ "no-cache" @@ -492,6 +489,9 @@ "Transfer-Encoding": [ "chunked" ], + "ETag": [ + "\"AAAAAAAANko=\"" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -502,37 +502,86 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "966d8ea1-5690-41b8-9e9f-fb1b1730ba65" + "c306563e-3b39-4327-9454-21878e893ed3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14997" ], "x-ms-correlation-request-id": [ - "25db6a5b-7f60-46ce-891f-90619d4cc033" + "09ffa451-f77a-4c68-9344-decc7a234310" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191742Z:25db6a5b-7f60-46ce-891f-90619d4cc033" + "WESTUS2:20180222T001030Z:09ffa451-f77a-4c68-9344-decc7a234310" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"description\": \"patchedDescription7038\"\r\n}", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "849c6464-ffb0-4133-8bad-335f959b4909" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Backend not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "83" + ], "Content-Type": [ "application/json; charset=utf-8" ], - "Content-Length": [ - "47" + "Expires": [ + "-1" ], - "x-ms-client-request-id": [ - "a551fc2a-0534-4b23-834b-58c870b70b76" + "Cache-Control": [ + "no-cache" ], - "If-Match": [ - "\"AAAAAAAAD8o=\"" + "Date": [ + "Thu, 22 Feb 2018 00:10:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0a7282fd-8433-4119-bb22-81819a4648aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "ebd151f9-db44-42b5-8957-e78c432017af" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180222T001030Z:ebd151f9-db44-42b5-8957-e78c432017af" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "31bcc339-08fd-4662-aff6-3fd34fcb1a9f" ], "accept-language": [ "en-US" @@ -554,11 +603,14 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:41 GMT" + "Thu, 22 Feb 2018 00:10:30 GMT" ], "Pragma": [ "no-cache" ], + "ETag": [ + "\"AAAAAAAANko=\"" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -566,31 +618,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "67297bcd-93aa-49cb-8425-0b09a56f851e" + "7d1233fa-4ab7-4666-a746-65589f3097c3" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" ], "x-ms-correlation-request-id": [ - "672b707f-4f79-4cf1-9c56-59ceae7056b7" + "a2ddff44-261f-4be2-8735-304ce6fbc270" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191742Z:672b707f-4f79-4cf1-9c56-59ceae7056b7" + "WESTUS2:20180222T001030Z:a2ddff44-261f-4be2-8735-304ce6fbc270" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8e277651-cbe8-46b1-993b-5daabb24594a" + "783d834e-a792-4a34-9623-83bbaf79e3e0" ], "If-Match": [ - "\"AAAAAAAAD8s=\"" + "\"AAAAAAAANko=\"" ], "accept-language": [ "en-US" @@ -612,7 +664,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:42 GMT" + "Thu, 22 Feb 2018 00:10:30 GMT" ], "Pragma": [ "no-cache" @@ -624,28 +676,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b77f314d-b9d1-4f7c-b81c-8c145d91edce" + "61c54acc-ee7e-4747-bc26-6b820dda4ea0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1194" ], "x-ms-correlation-request-id": [ - "213ce4af-b531-446e-8e3d-c09993d7f917" + "090d5baa-a1db-4d8b-829b-02f8ec20c522" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191742Z:213ce4af-b531-446e-8e3d-c09993d7f917" + "WESTUS2:20180222T001030Z:090d5baa-a1db-4d8b-829b-02f8ec20c522" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3183?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzMTgzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/backends/sfbackend3906?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9iYWNrZW5kcy9zZmJhY2tlbmQzOTA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "58e9dea3-0b03-4cb6-b0ca-c8646c03f0c6" + "1982ee11-3512-4712-a60c-5d979e44b852" ], "If-Match": [ "*" @@ -660,9 +712,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -670,7 +719,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:42 GMT" + "Thu, 22 Feb 2018 00:10:30 GMT" ], "Pragma": [ "no-cache" @@ -682,28 +731,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "586ce284-9c7b-4a84-8cee-866c8e02bb81" + "28f3ad5f-eae2-4db7-b58f-a08be39fa918" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1193" ], "x-ms-correlation-request-id": [ - "7ee7730b-5687-4716-9a93-9287e171fb28" + "fd21bfd4-81ba-47af-8664-2db0f9c7c61b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191743Z:7ee7730b-5687-4716-9a93-9287e171fb28" + "WESTUS2:20180222T001031Z:fd21bfd4-81ba-47af-8664-2db0f9c7c61b" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId1110?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDExMTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId6618?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDY2MTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e38d4a98-b188-497a-be04-be3de38d6efc" + "502dd022-420c-4248-a40e-df9547b6db7b" ], "If-Match": [ "*" @@ -728,7 +777,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:42 GMT" + "Thu, 22 Feb 2018 00:10:31 GMT" ], "Pragma": [ "no-cache" @@ -740,35 +789,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "35c8e963-5125-462e-8eb1-008844956ae7" + "26b0ccdf-d384-4232-97cd-efec3c756adb" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1192" ], "x-ms-correlation-request-id": [ - "dae618eb-4174-415c-9722-6c3a9db3e7d6" + "2156e96d-3450-48df-898f-332a081d2a2e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191743Z:dae618eb-4174-415c-9722-6c3a9db3e7d6" + "WESTUS2:20180222T001031Z:2156e96d-3450-48df-898f-332a081d2a2e" ] }, - "StatusCode": 204 + "StatusCode": 200 } ], "Names": { "ServiceFabricCreateUpdateDelete": [ - "sfbackend3183", - "certificateId1110", - "backendName1492", - "description424", - "patchedDescription7038" + "sfbackend3906", + "certificateId6618", + "backendName2641", + "description8636", + "patchedDescription932" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.CertificateTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.CertificateTests/CreateListUpdateDelete.json index 49acb486c162..3135149f5558 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.CertificateTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.CertificateTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "9b11acb0-4fa8-4c3e-9612-92b9ca9b2710" + "afd71806-fde5-4864-b4d3-9ac8d8c8b868" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:00 GMT" + "Mon, 19 Feb 2018 23:55:51 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "502602d2-d23b-4c32-a469-e0ee3b1e5a61", - "04a8c3aa-9d92-4ce0-ad47-27f6b3661155" + "015d534a-cf03-4ca2-a69d-f9f1c2b387bf", + "4190f32d-228c-44a0-b161-bb6da294c17c" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "73b38727-9263-4fc0-ab63-0193ce06c0b0" + "2d548ac8-1704-48b5-9e69-e41a0552f968" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191700Z:73b38727-9263-4fc0-ab63-0193ce06c0b0" + "WESTUS2:20180219T235551Z:2d548ac8-1704-48b5-9e69-e41a0552f968" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f47cd476-4591-4533-8a13-ab0d3f2b7ff7" + "2fad6381-1261-4dbf-8f51-d19b8fb81ee2" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:00 GMT" + "Mon, 19 Feb 2018 23:55:51 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "34d7c857-0b75-4d84-a78d-bf818e2bdc8a" + "ceb8255a-eb2e-41a5-ba4a-94c73a1ac1a0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14998" ], "x-ms-correlation-request-id": [ - "a72cc68d-a353-4d1e-a16f-2e9957969f58" + "f5719ddc-b8fb-472c-874e-c838688c01d0" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191700Z:a72cc68d-a353-4d1e-a16f-2e9957969f58" + "WESTUS2:20180219T235551Z:f5719ddc-b8fb-472c-874e-c838688c01d0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c65b1f30-ac74-4cb4-b17f-5989604fbe50" + "2de87104-72a0-40fd-95d7-8578fa171ec2" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:01 GMT" + "Mon, 19 Feb 2018 23:55:51 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4b8be01a-5813-4174-8967-14e0c3e69e48" + "c39e75d1-7dd8-4268-9dee-85d24e53478a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14997" ], "x-ms-correlation-request-id": [ - "cf87bb85-ac2a-446d-a1ec-e42997e8a058" + "3cc67597-3fa1-432e-932e-e7eb330c7999" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191701Z:cf87bb85-ac2a-446d-a1ec-e42997e8a058" + "WESTUS2:20180219T235551Z:3cc67597-3fa1-432e-932e-e7eb330c7999" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "83e2a6e9-d789-466f-b1ae-537194b2a017" + "bfa6f36e-5aed-4bb2-b2c7-3c67f42a163d" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId401\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.powershelltest.net\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"expirationDate\": \"2017-09-22T07:00:00\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId2276\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.msitesting.net\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"expirationDate\": \"2036-01-01T07:00:00Z\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:03 GMT" + "Mon, 19 Feb 2018 23:55:52 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "77f2b878-e65b-4d0e-af98-87045a95e6ae" + "03adb91b-75fd-4d40-9058-366afc99622e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14995" ], "x-ms-correlation-request-id": [ - "d4cb65f0-729d-4041-995b-47cafcc16882" + "4bfa4d2f-67ea-43f0-86aa-806ff278c60e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191703Z:d4cb65f0-729d-4041-995b-47cafcc16882" + "WESTUS2:20180219T235552Z:4bfa4d2f-67ea-43f0-86aa-806ff278c60e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "13a41728-6248-416c-bad1-ddf7fdce082f" + "4a9f165c-86eb-4ba7-ba8b-eb35080b53e8" ], "accept-language": [ "en-US" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:03 GMT" + "Mon, 19 Feb 2018 23:55:52 GMT" ], "Pragma": [ "no-cache" @@ -304,34 +304,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f4599ac3-699b-44b4-83eb-e580ce966053" + "484becfa-cce5-401d-97fd-6a691e1ccfbb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14994" ], "x-ms-correlation-request-id": [ - "2ef7939c-8cfe-426e-b00d-9d76a6f41d79" + "32f7b79f-c8d6-493e-a99c-2d873e360378" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191704Z:2ef7939c-8cfe-426e-b00d-9d76a6f41d79" + "WESTUS2:20180219T235553Z:32f7b79f-c8d6-493e-a99c-2d873e360378" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDQwMT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDIyNzY/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"data\": \"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\",\r\n \"password\": \"g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"data\": \"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\",\r\n \"password\": \"Password\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "3521" + "2493" ], "x-ms-client-request-id": [ - "4abe7ea7-5a1a-4f64-a504-8732e16917c0" + "03de60fd-c78b-422a-acf0-8b123ec30d8d" ], "accept-language": [ "en-US" @@ -341,10 +341,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId401\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.powershelltest.net\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"expirationDate\": \"2017-09-22T00:00:00-07:00\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId2276\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.msitesting.net\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"expirationDate\": \"2036-01-01T07:00:00Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "463" + "456" ], "Content-Type": [ "application/json; charset=utf-8" @@ -356,13 +356,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:02 GMT" + "Mon, 19 Feb 2018 23:55:52 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD8Y=\"" + "\"AAAAAAAAM/4=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -371,28 +371,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b152e94f-7145-409e-a393-15228232db5d" + "fdaf970b-81fa-432c-85e6-dc6b34927b60" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "090cfff1-2650-4ab2-9e31-939ad3d2d918" + "9ad88a54-0c07-4d2f-8417-5184f311cb83" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191702Z:090cfff1-2650-4ab2-9e31-939ad3d2d918" + "WESTUS2:20180219T235552Z:9ad88a54-0c07-4d2f-8417-5184f311cb83" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDQwMT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDIyNzY/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2b41e31d-1923-42a8-8593-3add58cf62e9" + "59548603-74da-42ad-a2a4-37ab3160a9fb" ], "accept-language": [ "en-US" @@ -402,7 +402,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId401\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.powershelltest.net\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"expirationDate\": \"2017-09-22T07:00:00\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276\",\r\n \"type\": \"Microsoft.ApiManagement/service/certificates\",\r\n \"name\": \"certificateId2276\",\r\n \"properties\": {\r\n \"subject\": \"CN=*.msitesting.net\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"expirationDate\": \"2036-01-01T07:00:00Z\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -414,7 +414,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:02 GMT" + "Mon, 19 Feb 2018 23:55:52 GMT" ], "Pragma": [ "no-cache" @@ -423,7 +423,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8Y=\"" + "\"AAAAAAAAM/4=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -435,31 +435,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "065b7142-aed8-4d4b-b38c-202ac9502b9b" + "8b9b2e36-f0e9-4d9f-b171-58fd653176e7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14996" ], "x-ms-correlation-request-id": [ - "fc60bbd0-e2c5-4ee1-934d-ee5f7b7d2d67" + "d95f382a-e80b-44ed-b8b2-777873481388" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191703Z:fc60bbd0-e2c5-4ee1-934d-ee5f7b7d2d67" + "WESTUS2:20180219T235552Z:d95f382a-e80b-44ed-b8b2-777873481388" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDQwMT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDIyNzY/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "db9cf222-b5de-4b54-baed-892e4b289847" + "559cf4ef-2d50-4b5e-83c2-6fc60c7226de" ], "If-Match": [ - "\"AAAAAAAAD8Y=\"" + "\"AAAAAAAAM/4=\"" ], "accept-language": [ "en-US" @@ -481,7 +481,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:03 GMT" + "Mon, 19 Feb 2018 23:55:52 GMT" ], "Pragma": [ "no-cache" @@ -493,28 +493,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c7511e9b-72a9-4356-8590-aa08fa0bc0f3" + "7b27f743-5b87-4c60-a6e1-e83f3c433b64" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "182e816e-ab7e-43ce-8c51-f8627ffc2928" + "ec10f5be-87e3-4cc2-b82d-c6dda52c4e83" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191703Z:182e816e-ab7e-43ce-8c51-f8627ffc2928" + "WESTUS2:20180219T235553Z:ec10f5be-87e3-4cc2-b82d-c6dda52c4e83" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId401?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDQwMT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/certificates/certificateId2276?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9jZXJ0aWZpY2F0ZXMvY2VydGlmaWNhdGVJZDIyNzY/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e2a6bac4-9e5c-47da-86a9-643db5418ce5" + "dcae67b3-88af-47eb-a36c-9c7d1d8e1f11" ], "If-Match": [ "*" @@ -529,9 +529,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -539,7 +536,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:04 GMT" + "Mon, 19 Feb 2018 23:55:53 GMT" ], "Pragma": [ "no-cache" @@ -551,16 +548,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0a5d579c-ac00-4fca-a028-37363388cc75" + "688d33a1-7d98-47f4-9fa5-6fd3412fc86d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "10f22ce8-f1d0-4c79-9ac1-42dad9784921" + "9c61e9d1-8990-43a8-b53b-4f40b6e90c7c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191704Z:10f22ce8-f1d0-4c79-9ac1-42dad9784921" + "WESTUS2:20180219T235553Z:9c61e9d1-8990-43a8-b53b-4f40b6e90c7c" ] }, "StatusCode": 204 @@ -568,14 +565,13 @@ ], "Names": { "CreateListUpdateDelete": [ - "certificateId401" + "certificateId2276" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DelegationSettingTests/CreateUpdateReset.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DelegationSettingTests/CreateUpdateReset.json new file mode 100644 index 000000000000..00d40cc19734 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DelegationSettingTests/CreateUpdateReset.json @@ -0,0 +1,555 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "ce5367e2-2de7-4183-93f1-56a7e55fb5a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1e48000a-6ffc-49eb-9a62-6f2bc67fc182", + "10c43823-b049-4f31-a522-5632dee5d97e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "a1a9543f-3c59-4a2a-a7e8-ff2a96a3785a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181521Z:a1a9543f-3c59-4a2a-a7e8-ff2a96a3785a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0c1a94e0-8663-4ada-afa6-81e2633b679c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b6f880f7-bdac-4df5-8609-61c2289d7de7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "d4c64b52-bff6-4522-9668-e0812c50ed35" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181521Z:d4c64b52-bff6-4522-9668-e0812c50ed35" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "75ca1976-3b45-4b92-bd3f-44c2e56e3e24" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"delegation\",\r\n \"properties\": {\r\n \"url\": \"https://delegationserver2540/\",\r\n \"validationKey\": \"EncryptedAAAAABAA8EyjXqkWXBdfxaKsQ5FqjiAApPKUhhVWdu2C4rucqUmwe2KPLM3a7+C1p/AyIDfUFVJgAGsDCJWTwFPEnHvI1dSqEmt9ldGMLCsab+YwSqbrlyNo0rT3mEGES1QNHH0bKGYhiF7DHppcUzl39YqeLfcRfi314W+FSaklIoeZqITil4gNKgszBtKPUmFwWFD0HFT0LA==\",\r\n \"subscriptions\": {\r\n \"enabled\": false\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAgCMdBgAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0defe832-bbf3-4944-a64c-bd6fabc7dc89" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "4b36f107-1100-432c-a911-eb1a91c629ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181522Z:4b36f107-1100-432c-a911-eb1a91c629ae" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "52e468cf-23f7-4cef-9a9f-2541ac790111" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"delegation\",\r\n \"properties\": {\r\n \"url\": \"https://delegationserver6256/\",\r\n \"validationKey\": \"EncryptedAAAAABAA//ZVaqmD47e3Cu/gO4twQiAAVsC9Dct64dLMbsZ9StD6hOLwmJZXNQ/jzpbq7TrIWNZgAGOHOWAT4fsqjuJ+8zyL05crnzBHOhlYvfpTrq2SsoWh1gsnxjhBn09W/+Ny7HzjLlselnO0l+alqQzDegB5gXSfv8MI+DoeeiYlmh9KB5krS9aqK62sv2v81/Cu4om61Q==\",\r\n \"subscriptions\": {\r\n \"enabled\": false\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAgHIGAgAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7db12d8a-dbae-447a-83d9-9a15bd8a97c8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "49a21b13-dbc7-48c4-91f8-b8d6e01ee640" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181523Z:49a21b13-dbc7-48c4-91f8-b8d6e01ee640" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"url\": \"https://delegationserver6256/\",\r\n \"validationKey\": \"206UJGAZCefJdyASeIZtlQAbLTXOLxW21lMZrTQbf+41PBOFhlzBa0Eu2GqgFAtx0n7KhBiDKKs43k0M/1uzrQ==\",\r\n \"subscriptions\": {\r\n \"enabled\": true\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": true\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "299" + ], + "x-ms-client-request-id": [ + "db4c46ef-2631-4723-af7b-5ca94515c64a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"delegation\",\r\n \"properties\": {\r\n \"url\": \"https://delegationserver6256/\",\r\n \"validationKey\": \"EncryptedAAAAABAA//ZVaqmD47e3Cu/gO4twQiAAVsC9Dct64dLMbsZ9StD6hOLwmJZXNQ/jzpbq7TrIWNZgAGOHOWAT4fsqjuJ+8zyL05crnzBHOhlYvfpTrq2SsoWh1gsnxjhBn09W/+Ny7HzjLlselnO0l+alqQzDegB5gXSfv8MI+DoeeiYlmh9KB5krS9aqK62sv2v81/Cu4om61Q==\",\r\n \"subscriptions\": {\r\n \"enabled\": true\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": true\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAgO3eAwAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "74f4d7fe-bf53-4607-9fc1-02b133d16af4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "3b8eb623-6884-40c0-89aa-11f43bfb50da" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181523Z:3b8eb623-6884-40c0-89aa-11f43bfb50da" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "825e3060-b270-43a9-ae3b-3c1fe8c7027a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgO3eAwAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "987c818c-6571-4a53-9187-6836b3f264a6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "0e8a3243-9254-4a87-8b44-f6c9bd452425" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181523Z:0e8a3243-9254-4a87-8b44-f6c9bd452425" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"subscriptions\": {\r\n \"enabled\": false\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": false\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "142" + ], + "x-ms-client-request-id": [ + "bd4a5316-bf21-4b3a-afa0-cb89e6c05dee" + ], + "If-Match": [ + "\"AAAAAAAAgO3eAwAAAAAAAA==\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "51362252-9bb2-422d-83bc-3ef7585e31f0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "9c35ac3b-4cb7-4762-9673-a6fa20b9d760" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181523Z:9c35ac3b-4cb7-4762-9673-a6fa20b9d760" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/delegation?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9kZWxlZ2F0aW9uP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"url\": \"https://delegationserver2540/\",\r\n \"subscriptions\": {\r\n \"enabled\": false\r\n },\r\n \"userRegistration\": {\r\n \"enabled\": false\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "187" + ], + "x-ms-client-request-id": [ + "98ff4636-35eb-4939-b1fa-ea1115ae5a75" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 18:15:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2268cffb-ed5e-4b02-a3b2-2d3ef0c78534" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "0524d1fd-24e9-424b-8dd2-adc4ded63098" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T181523Z:0524d1fd-24e9-424b-8dd2-adc4ded63098" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateUpdateReset": [ + "delegationServer6256" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DiagnosticTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DiagnosticTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..ceee1d1e3ebb --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.DiagnosticTests/CreateListUpdateDelete.json @@ -0,0 +1,1036 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "ecfc81ff-b231-4f3d-b975-c6bc8e26e0ca" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "321bad21-7117-48db-83c2-4f08be10f976", + "4b998243-e361-4af9-a3f9-ac43cd09238c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "9dde7740-37bc-406e-a16a-7206b83a5dd9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055204Z:9dde7740-37bc-406e-a16a-7206b83a5dd9" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fc52a1a0-721d-4843-93d3-a9dc5bf909d7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "129b8943-bc04-4550-b1ae-4bb2ad8e6eea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "88f4eb42-f00e-4667-9197-165dd0935e8e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055204Z:88f4eb42-f00e-4667-9197-165dd0935e8e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "db6c0d73-4ce2-45e6-b106-45d950f611ca" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f0255872-6686-4e81-aa2b-d58a207933ff" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "27d8b091-4a91-477e-8c8f-ec4ba8ece638" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055205Z:27d8b091-4a91-477e-8c8f-ec4ba8ece638" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"enabled\": true\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "49" + ], + "x-ms-client-request-id": [ + "b4426027-ba29-49a0-8ce9-0e7aaeaea4c1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627\",\r\n \"type\": \"Microsoft.ApiManagement/service/diagnostics\",\r\n \"name\": \"diagnoticId627\",\r\n \"properties\": {\r\n \"enabled\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "321" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANRM=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "787dcce7-2eb7-4f05-9c89-0b96277e9c3b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "259cdff9-5665-49c7-a7f4-2a86110806f4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055205Z:259cdff9-5665-49c7-a7f4-2a86110806f4" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"credentials\": {\r\n \"instrumentationKey\": \"851001a7-d786-4ceb-9150-ff6588941895\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "167" + ], + "x-ms-client-request-id": [ + "5e478a42-9881-4dcd-9fe7-bce79fbd8182" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"appInsights5963\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": null,\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{Logger-Credentials-5a8bb78850f4b80c404ecc3f}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "495" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANRc=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c25b9716-8847-407d-abf9-e28d5fcd65a3" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "e6def146-a3ca-44a8-9694-5faf002254da" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055206Z:e6def146-a3ca-44a8-9694-5faf002254da" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNy9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b2745d3f-fa51-4053-a02f-632be5ea3400" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers/appInsights5963\",\r\n \"type\": \"Microsoft.ApiManagement/service/diagnostics/loggers\",\r\n \"name\": \"appInsights5963\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": null,\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{5a8bb78850f4b80c404ecc3e}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "515" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANRg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8dffc5b3-75d8-4c6e-a2aa-0deb18345d37" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "b1b52031-8756-4b48-b682-c5a6868f30fc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055206Z:b1b52031-8756-4b48-b682-c5a6868f30fc" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNy9sb2dnZXJzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08c5e488-bda1-4a7f-95bf-66ba507f5c0e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers/appInsights5963\",\r\n \"type\": \"Microsoft.ApiManagement/service/diagnostics/loggers\",\r\n \"name\": \"appInsights5963\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": null,\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{5a8bb78850f4b80c404ecc3e}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0a88b5e7-f726-41e8-98dd-c4f717852b8a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "583cab17-97ae-406b-a0c0-69c03c6ef347" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055207Z:583cab17-97ae-406b-a0c0-69c03c6ef347" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNy9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e66d39ed-b6b9-4966-81eb-b601bfec4caa" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4919e204-48e6-4ed4-93e3-7584038d67bf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "c65a7553-9cfc-4355-bbea-9bc9a66f404b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055207Z:c65a7553-9cfc-4355-bbea-9bc9a66f404b" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNy9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4e02582e-a356-485c-a5ac-92701e710867" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5b205084-4496-426e-a6bb-87ff4b74ea59" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "e678d783-c9d7-498d-a7ce-5d8d05274b06" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055207Z:e678d783-c9d7-498d-a7ce-5d8d05274b06" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "39f66bd8-a09c-4415-8927-6cc4fde3694e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANRw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "68e6c58a-a63e-4b87-90e7-fcea81a3cc22" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "95d1eacb-f603-4e83-ac55-2bebd15f1806" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055207Z:95d1eacb-f603-4e83-ac55-2bebd15f1806" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b20a413b-eeac-4c01-a9c0-bdb74313418d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "18ec9f97-1bb7-4a36-baf1-4f3ea20df3b9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "db23ccf9-3acd-4b40-b088-1de9d2ee7e8b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055208Z:db23ccf9-3acd-4b40-b088-1de9d2ee7e8b" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3e3eac1c-a8a7-4396-b1f7-29bf228294af" + ], + "If-Match": [ + "\"AAAAAAAANRw=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a5b93898-4108-476f-8369-782350ac246e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "331cbfa2-aed9-426b-9968-b35220819b42" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055207Z:331cbfa2-aed9-426b-9968-b35220819b42" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/diagnostics/diagnoticId627?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9kaWFnbm9zdGljcy9kaWFnbm90aWNJZDYyNz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a1bf344a-d4d6-4fef-a1ab-1968c9bf2ce3" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6dfab19d-01d6-4d7d-aa94-a47b80427655" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "cb683f7f-9493-4238-a8f8-75d0d5600c84" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055209Z:cb683f7f-9493-4238-a8f8-75d0d5600c84" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "840af0ba-ea97-4daa-a480-4d9c2639ce03" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANRc=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "34c258bc-9d23-4106-b497-b594d88ec63d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "6a6732b1-7399-4288-995a-de6ab2ec3edc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055208Z:6a6732b1-7399-4288-995a-de6ab2ec3edc" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "87c459eb-4fcf-45f6-9f70-7158169a1333" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "54655f69-c2e8-4839-99c4-4f1fdc542f7e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "056e156d-334f-439f-9b01-e7af07c44028" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055208Z:056e156d-334f-439f-9b01-e7af07c44028" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fae9a4df-6a37-4eb2-b0f7-afaf0729ddbe" + ], + "If-Match": [ + "\"AAAAAAAANRc=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b046ff4f-913b-49cf-8c32-14d7947eeece" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "ef4dfd83-8d7e-42c4-8879-0568b5ea5592" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055208Z:ef4dfd83-8d7e-42c4-8879-0568b5ea5592" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/appInsights5963?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcEluc2lnaHRzNTk2Mz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "34d22b1d-c289-460e-a86a-90824a369d3e" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:52:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "adf6e829-f2e0-45dc-9390-a69b214596d7" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "fde43987-7a54-41ed-83bd-7daf2434e665" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055209Z:fde43987-7a54-41ed-83bd-7daf2434e665" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "diagnoticId627", + "appInsights5963" + ], + "appInsights": [ + "851001a7-d786-4ceb-9150-ff6588941895" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.EmailTemplateTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.EmailTemplateTests/CreateListUpdateDelete.json index 61e83dcedbe3..4d0fa5946566 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.EmailTemplateTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.EmailTemplateTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "be1383d5-da96-4de3-af18-e4327d4c2f30" + "28b80064-db33-46cd-9ab4-be9b30ee742b" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:51 GMT" + "Mon, 19 Feb 2018 23:59:13 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1843cdb5-36f9-4e6f-973e-f8bf36cbed3a", - "b3676c65-91e5-4b72-88d7-8d08c41fd133" + "c57c7e98-8976-4668-a19a-9876ba213122", + "82026211-823a-4608-8083-88baec943608" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1199" ], "x-ms-correlation-request-id": [ - "f6380b63-02f6-4d29-a576-f44ab13612ff" + "8620ecec-1e91-459d-99c7-00d93d10dbb2" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191751Z:f6380b63-02f6-4d29-a576-f44ab13612ff" + "WESTUS2:20180219T235914Z:8620ecec-1e91-459d-99c7-00d93d10dbb2" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "717dc528-322e-49b9-a3e6-075a05406f3e" + "88bfee1a-5c28-4e62-9eaf-b2e6fdcd17ac" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:51 GMT" + "Mon, 19 Feb 2018 23:59:13 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5dd57bb1-ccdf-4021-8662-c6e9b615cac7" + "d0ed37ee-62f1-4cc9-9f7f-dae9ee5c5bef" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14997" ], "x-ms-correlation-request-id": [ - "ddee4284-db47-47d1-8a6e-d662f2dd8fa4" + "2f86b25e-1ab8-4ad8-a544-05e8f39de53b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191751Z:ddee4284-db47-47d1-8a6e-d662f2dd8fa4" + "WESTUS2:20180219T235914Z:2f86b25e-1ab8-4ad8-a544-05e8f39de53b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fbcbfa0f-bf44-4e8c-8113-f628b3b2b6e9" + "e92ecf44-6da6-45bc-baf2-ee2938d8d736" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"ApplicationApprovedNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your application $AppName is published in the application gallery\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"Application gallery submission approved\",\r\n \"description\": \"Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"AppId\",\r\n \"title\": \"Application id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"AppName\",\r\n \"title\": \"Application name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/AccountClosedDeveloper\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"AccountClosedDeveloper\",\r\n \"properties\": {\r\n \"subject\": \"Thank you for using the $OrganizationName API!\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n On behalf of $OrganizationName and our customers we thank you for giving us a try. Your $OrganizationName API account is now closed.\\r\\n

\\r\\n

Thank you,

\\r\\n

Your $OrganizationName Team

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer farewell letter\",\r\n \"description\": \"Developers receive this fairwell email after they close their account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/QuotaLimitApproachingDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"QuotaLimitApproachingDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"You are approaching an API quota limit\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

Greetings $DevFirstName $DevLastName!

\\r\\n

\\r\\n You are approaching the quota limit on you subscription to the $ProdName product (primary key $SubPrimaryKey).\\r\\n #if ($QuotaResetDate != \\\"\\\")\\r\\n This quota will be renewed on $QuotaResetDate.\\r\\n #else\\r\\n This quota will not be renewed.\\r\\n #end\\r\\n

\\r\\n

Below are details on quota usage for the subscription:

\\r\\n

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n #foreach ($api in $Apis)\\r\\n \\r\\n #foreach ($operation in $api.Operations)\\r\\n \\r\\n #end\\r\\n #end\\r\\n \\r\\n
Quota ScopeCallsCall QuotaBandwidthBandwidth Quota
Subscription\\r\\n #if ($CallsAlert == true)\\r\\n $Calls\\r\\n #else\\r\\n $Calls\\r\\n #end\\r\\n $CallQuota\\r\\n #if ($BandwidthAlert == true)\\r\\n $Bandwidth\\r\\n #else\\r\\n $Bandwidth\\r\\n #end\\r\\n $BandwidthQuota
API: $api.Name\\r\\n #if ($api.CallsAlert == true)\\r\\n $api.Calls\\r\\n #else\\r\\n $api.Calls\\r\\n #end\\r\\n $api.CallQuota\\r\\n #if ($api.BandwidthAlert == true)\\r\\n $api.Bandwidth\\r\\n #else\\r\\n $api.Bandwidth\\r\\n #end\\r\\n $api.BandwidthQuota
Operation: $operation.Name\\r\\n #if ($operation.CallsAlert == true)\\r\\n $operation.Calls\\r\\n #else\\r\\n $operation.Calls\\r\\n #end\\r\\n $operation.CallQuota\\r\\n #if ($operation.BandwidthAlert == true)\\r\\n $operation.Bandwidth\\r\\n #else\\r\\n $operation.Bandwidth\\r\\n #end\\r\\n $operation.BandwidthQuota
\\r\\n

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer quota limit approaching notification\",\r\n \"description\": \"Developers receive this email to alert them when they are approaching a quota limit.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubPrimaryKey\",\r\n \"title\": \"Primary Subscription key\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"QuotaResetDate\",\r\n \"title\": \"Quota reset date\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Welcome to the $OrganizationName API!\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n

\\r\\n Welcome to $OrganizationName API!

\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

Your $OrganizationName API program registration is completed and we are thrilled to have you as a customer. Here are a few important bits of information for your reference:

\\r\\n \\r\\n \\r\\n #if ($IdentityProvider == \\\"Basic\\\")\\r\\n \\r\\n #else\\r\\n \\r\\n #end\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Please use the following username when signing into any of the ${OrganizationName}-hosted developer portals:\\r\\n $DevUsername\\r\\n Please use the following $IdentityProvider account when signing into any of the ${OrganizationName}-hosted developer portals:\\r\\n $DevUsername
\\r\\n We will direct all communications to the following email address:\\r\\n \\r\\n \\r\\n $DevEmail\\r\\n \\r\\n
\\r\\n

Best of luck in your API pursuits!

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer welcome letter\",\r\n \"description\": \"Developers receive this “welcome” email after they confirm their new account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevUsername\",\r\n \"title\": \"Developer user name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevEmail\",\r\n \"title\": \"Developer email\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IdentityProvider\",\r\n \"title\": \"Identity Provider selected by Organization\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/EmailChangeIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"EmailChangeIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Please confirm the new email associated with your $OrganizationName API account\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

You are receiving this email because you made a change to the email address on your $OrganizationName API account.

\\r\\n

Please click on the following link to confirm the change:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Email change confirmation\",\r\n \"description\": \"Developers receive this email to confirm a new e-mail address after they change their existing one associated with their account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer confirmation URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/InviteUserNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"InviteUserNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"You are invited to join the $OrganizationName developer network\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n Your account has been created. Please follow the link below to visit the $OrganizationName developer portal and claim it:\\r\\n

\\r\\n

\\r\\n $ConfirmUrl\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"Invite user\",\r\n \"description\": \"An e-mail invitation to create an account, sent on request by API publishers.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Confirmation link\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewCommentNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewCommentNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"$IssueName issue has a new comment\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

This is a brief note to let you know that $CommenterFirstName $CommenterLastName made the following comment on the issue $IssueName you created:

\\r\\n

$CommentText

\\r\\n

\\r\\n To view the issue on the developer portal click here.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"New comment added to an issue\",\r\n \"description\": \"Developers receive this email when someone comments on the issue they created on the Issues page of the developer portal.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommenterFirstName\",\r\n \"title\": \"Commenter first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommenterLastName\",\r\n \"title\": \"Commenter last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueId\",\r\n \"title\": \"Issue id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueName\",\r\n \"title\": \"Issue name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommentText\",\r\n \"title\": \"Comment text\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ConfirmSignUpIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"ConfirmSignUpIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Please confirm your new $OrganizationName API account\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

Thank you for joining the $OrganizationName API program! We host a growing number of cool APIs and strive to provide an awesome experience for API developers.

\\r\\n

First order of business is to activate your account and get you going. To that end, please click on the following link:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"New developer account confirmation\",\r\n \"description\": \"Developers receive this email to confirm their e-mail address after they sign up for a new account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer activation URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewIssueNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewIssueNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your request $IssueName was received\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\\r\\n

\\r\\n Click this link to view or edit your request.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"New issue received\",\r\n \"description\": \"This email is sent to developers after they create a new topic on the Issues page of the developer portal.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueId\",\r\n \"title\": \"Issue id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueName\",\r\n \"title\": \"Issue name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PurchaseDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PurchaseDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription to the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Greetings $DevFirstName $DevLastName!

\\r\\n

\\r\\n Thank you for subscribing to the $ProdName and welcome to the $OrganizationName developer community. We are delighted to have you as part of the team and are looking forward to the amazing applications you will build using our API!\\r\\n

\\r\\n

Below are a few subscription details for your reference:

\\r\\n

\\r\\n

    \\r\\n #if ($SubStartDate != \\\"\\\")\\r\\n
  • Start date: $SubStartDate
  • \\r\\n #end\\r\\n \\r\\n #if ($SubTerm != \\\"\\\")\\r\\n
  • Subscription term: $SubTerm
  • \\r\\n #end\\r\\n
\\r\\n

\\r\\n

\\r\\n Visit the developer profile area to manage your subscription and subscription keys\\r\\n

\\r\\n

A couple of pointers to help get you started:

\\r\\n

\\r\\n \\r\\n Learn about the API\\r\\n \\r\\n

\\r\\n

The API documentation provides all information necessary to make a request and to process a response. Code samples are provided per API operation in a variety of languages. Moreover, an interactive console allows making API calls directly from the developer portal without writing any code.

\\r\\n

\\r\\n \\r\\n Feature your app in the app gallery\\r\\n \\r\\n

\\r\\n

You can publish your application on our gallery for increased visibility to potential new users.

\\r\\n

\\r\\n \\r\\n Stay in touch\\r\\n \\r\\n

\\r\\n

\\r\\n If you have an issue, a question, a suggestion, a request, or if you just want to tell us something, go to the Issues page on the developer portal and create a new topic.\\r\\n

\\r\\n

Happy hacking,

\\r\\n

The $OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n \\r\\n\",\r\n \"title\": \"New subscription activated\",\r\n \"description\": \"Developers receive this acknowledgement email after subscribing to a product.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubStartDate\",\r\n \"title\": \"Subscription start date\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubTerm\",\r\n \"title\": \"Subscription term\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PasswordResetIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PasswordResetIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Your password change request\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

You are receiving this email because you requested to change the password on your $OrganizationName API account.

\\r\\n

Please click on the link below and follow instructions to create your new password:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Password change confirmation\",\r\n \"description\": \"Developers receive this email when they request a password change of their account. The purpose of the email is to verify that the account owner made the request and to provide a one-time perishable URL for changing the password.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer new password instruction URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PasswordResetByAdminNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PasswordResetByAdminNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your password was reset\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

The password of your $OrganizationName API account has been reset, per your request.

\\r\\n

\\r\\n Your new password is: $DevPassword

\\r\\n

Please make sure to change it next time you sign in.

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Password reset by publisher notification (Password reset by admin)\",\r\n \"description\": \"Developers receive this email when the publisher resets their password.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPassword\",\r\n \"title\": \"New Developer password\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/RejectDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"RejectDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription request for the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n We would like to inform you that we reviewed your subscription request for the $ProdName.\\r\\n

\\r\\n #if ($SubDeclineReason == \\\"\\\")\\r\\n

Regretfully, we were unable to approve it, as subscriptions are temporarily suspended at this time.

\\r\\n #else\\r\\n

\\r\\n Regretfully, we were unable to approve it at this time for the following reason:\\r\\n

$SubDeclineReason

\\r\\n #end\\r\\n

We truly appreciate your interest.

All the best,

The $OrganizationName API Team

$DevPortalUrl\\r\\n\",\r\n \"title\": \"Subscription request declined\",\r\n \"description\": \"This email is sent to developers when their subscription requests for products requiring publisher approval is declined.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubDeclineReason\",\r\n \"title\": \"Reason for declining subscription\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/RequestDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"RequestDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription request for the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n Thank you for your interest in our $ProdName API product!\\r\\n

\\r\\n

\\r\\n We were delighted to receive your subscription request. We will promptly review it and get back to you at $DevEmail.\\r\\n

\\r\\n

Thank you,

\\r\\n

The $OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n \\r\\n\",\r\n \"title\": \"Subscription request received\",\r\n \"description\": \"This email is sent to developers to acknowledge receipt of their subscription requests for products requiring publisher approval.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevEmail\",\r\n \"title\": \"Developer email\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"ApplicationApprovedNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your application $AppName is published in the application gallery\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n We are happy to let you know that your request to publish the $AppName application in the application gallery has been approved. Your application has been published and can be viewed here.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"Application gallery submission approved\",\r\n \"description\": \"Developers who submitted their application for publication in the application gallery on the developer portal receive this email after their submission is approved.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"AppId\",\r\n \"title\": \"Application id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"AppName\",\r\n \"title\": \"Application name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/AccountClosedDeveloper\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"AccountClosedDeveloper\",\r\n \"properties\": {\r\n \"subject\": \"Thank you for using the $OrganizationName API!\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n On behalf of $OrganizationName and our customers we thank you for giving us a try. Your $OrganizationName API account is now closed.\\r\\n

\\r\\n

Thank you,

\\r\\n

Your $OrganizationName Team

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer farewell letter\",\r\n \"description\": \"Developers receive this farewell email after they close their account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/QuotaLimitApproachingDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"QuotaLimitApproachingDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"You are approaching an API quota limit\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

Greetings $DevFirstName $DevLastName!

\\r\\n

\\r\\n You are approaching the quota limit on you subscription to the $ProdName product (primary key $SubPrimaryKey).\\r\\n #if ($QuotaResetDate != \\\"\\\")\\r\\n This quota will be renewed on $QuotaResetDate.\\r\\n #else\\r\\n This quota will not be renewed.\\r\\n #end\\r\\n

\\r\\n

Below are details on quota usage for the subscription:

\\r\\n

\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n #foreach ($api in $Apis)\\r\\n \\r\\n #foreach ($operation in $api.Operations)\\r\\n \\r\\n #end\\r\\n #end\\r\\n \\r\\n
Quota ScopeCallsCall QuotaBandwidthBandwidth Quota
Subscription\\r\\n #if ($CallsAlert == true)\\r\\n $Calls\\r\\n #else\\r\\n $Calls\\r\\n #end\\r\\n $CallQuota\\r\\n #if ($BandwidthAlert == true)\\r\\n $Bandwidth\\r\\n #else\\r\\n $Bandwidth\\r\\n #end\\r\\n $BandwidthQuota
API: $api.Name\\r\\n #if ($api.CallsAlert == true)\\r\\n $api.Calls\\r\\n #else\\r\\n $api.Calls\\r\\n #end\\r\\n $api.CallQuota\\r\\n #if ($api.BandwidthAlert == true)\\r\\n $api.Bandwidth\\r\\n #else\\r\\n $api.Bandwidth\\r\\n #end\\r\\n $api.BandwidthQuota
Operation: $operation.Name\\r\\n #if ($operation.CallsAlert == true)\\r\\n $operation.Calls\\r\\n #else\\r\\n $operation.Calls\\r\\n #end\\r\\n $operation.CallQuota\\r\\n #if ($operation.BandwidthAlert == true)\\r\\n $operation.Bandwidth\\r\\n #else\\r\\n $operation.Bandwidth\\r\\n #end\\r\\n $operation.BandwidthQuota
\\r\\n

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer quota limit approaching notification\",\r\n \"description\": \"Developers receive this email to alert them when they are approaching a quota limit.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubPrimaryKey\",\r\n \"title\": \"Primary Subscription key\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"QuotaResetDate\",\r\n \"title\": \"Quota reset date\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Welcome to the $OrganizationName API!\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n

\\r\\n Welcome to $OrganizationName API!

\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

Your $OrganizationName API program registration is completed and we are thrilled to have you as a customer. Here are a few important bits of information for your reference:

\\r\\n \\r\\n \\r\\n #if ($IdentityProvider == \\\"Basic\\\")\\r\\n \\r\\n #else\\r\\n \\r\\n #end\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n Please use the following username when signing into any of the ${OrganizationName}-hosted developer portals:\\r\\n $DevUsername\\r\\n Please use the following $IdentityProvider account when signing into any of the ${OrganizationName}-hosted developer portals:\\r\\n $DevUsername
\\r\\n We will direct all communications to the following email address:\\r\\n \\r\\n \\r\\n $DevEmail\\r\\n \\r\\n
\\r\\n

Best of luck in your API pursuits!

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n \\r\\n\",\r\n \"title\": \"Developer welcome letter\",\r\n \"description\": \"Developers receive this “welcome” email after they confirm their new account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevUsername\",\r\n \"title\": \"Developer user name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevEmail\",\r\n \"title\": \"Developer email\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IdentityProvider\",\r\n \"title\": \"Identity Provider selected by Organization\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/EmailChangeIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"EmailChangeIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Please confirm the new email associated with your $OrganizationName API account\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

You are receiving this email because you made a change to the email address on your $OrganizationName API account.

\\r\\n

Please click on the following link to confirm the change:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Email change confirmation\",\r\n \"description\": \"Developers receive this email to confirm a new e-mail address after they change their existing one associated with their account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer confirmation URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/InviteUserNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"InviteUserNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"You are invited to join the $OrganizationName developer network\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n Your account has been created. Please follow the link below to visit the $OrganizationName developer portal and claim it:\\r\\n

\\r\\n

\\r\\n $ConfirmUrl\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"Invite user\",\r\n \"description\": \"An e-mail invitation to create an account, sent on request by API publishers.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Confirmation link\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewCommentNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewCommentNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"$IssueName issue has a new comment\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

This is a brief note to let you know that $CommenterFirstName $CommenterLastName made the following comment on the issue $IssueName you created:

\\r\\n

$CommentText

\\r\\n

\\r\\n To view the issue on the developer portal click here.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"New comment added to an issue\",\r\n \"description\": \"Developers receive this email when someone comments on the issue they created on the Issues page of the developer portal.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommenterFirstName\",\r\n \"title\": \"Commenter first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommenterLastName\",\r\n \"title\": \"Commenter last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueId\",\r\n \"title\": \"Issue id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueName\",\r\n \"title\": \"Issue name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"CommentText\",\r\n \"title\": \"Comment text\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ConfirmSignUpIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"ConfirmSignUpIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Please confirm your new $OrganizationName API account\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

Thank you for joining the $OrganizationName API program! We host a growing number of cool APIs and strive to provide an awesome experience for API developers.

\\r\\n

First order of business is to activate your account and get you going. To that end, please click on the following link:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"New developer account confirmation\",\r\n \"description\": \"Developers receive this email to confirm their e-mail address after they sign up for a new account.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer activation URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/NewIssueNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"NewIssueNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your request $IssueName was received\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

Thank you for contacting us. Our API team will review your issue and get back to you soon.

\\r\\n

\\r\\n Click this link to view or edit your request.\\r\\n

\\r\\n

Best,

\\r\\n

The $OrganizationName API Team

\\r\\n \\r\\n\",\r\n \"title\": \"New issue received\",\r\n \"description\": \"This email is sent to developers after they create a new topic on the Issues page of the developer portal.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueId\",\r\n \"title\": \"Issue id\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"IssueName\",\r\n \"title\": \"Issue name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PurchaseDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PurchaseDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription to the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Greetings $DevFirstName $DevLastName!

\\r\\n

\\r\\n Thank you for subscribing to the $ProdName and welcome to the $OrganizationName developer community. We are delighted to have you as part of the team and are looking forward to the amazing applications you will build using our API!\\r\\n

\\r\\n

Below are a few subscription details for your reference:

\\r\\n

\\r\\n

    \\r\\n #if ($SubStartDate != \\\"\\\")\\r\\n
  • Start date: $SubStartDate
  • \\r\\n #end\\r\\n \\r\\n #if ($SubTerm != \\\"\\\")\\r\\n
  • Subscription term: $SubTerm
  • \\r\\n #end\\r\\n
\\r\\n

\\r\\n

\\r\\n Visit the developer profile area to manage your subscription and subscription keys\\r\\n

\\r\\n

A couple of pointers to help get you started:

\\r\\n

\\r\\n \\r\\n Learn about the API\\r\\n \\r\\n

\\r\\n

The API documentation provides all information necessary to make a request and to process a response. Code samples are provided per API operation in a variety of languages. Moreover, an interactive console allows making API calls directly from the developer portal without writing any code.

\\r\\n

\\r\\n \\r\\n Feature your app in the app gallery\\r\\n \\r\\n

\\r\\n

You can publish your application on our gallery for increased visibility to potential new users.

\\r\\n

\\r\\n \\r\\n Stay in touch\\r\\n \\r\\n

\\r\\n

\\r\\n If you have an issue, a question, a suggestion, a request, or if you just want to tell us something, go to the Issues page on the developer portal and create a new topic.\\r\\n

\\r\\n

Happy hacking,

\\r\\n

The $OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n \\r\\n\",\r\n \"title\": \"New subscription activated\",\r\n \"description\": \"Developers receive this acknowledgement email after subscribing to a product.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubStartDate\",\r\n \"title\": \"Subscription start date\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubTerm\",\r\n \"title\": \"Subscription term\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PasswordResetIdentityDefault\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PasswordResetIdentityDefault\",\r\n \"properties\": {\r\n \"subject\": \"Your password change request\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n Letter\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

You are receiving this email because you requested to change the password on your $OrganizationName API account.

\\r\\n

Please click on the link below and follow instructions to create your new password:

\\r\\n

\\r\\n \\r\\n $ConfirmUrl\\r\\n \\r\\n

\\r\\n

If clicking the link does not work, please copy-and-paste or re-type it into your browser's address bar and hit \\\"Enter\\\".

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Password change confirmation\",\r\n \"description\": \"Developers receive this email when they request a password change of their account. The purpose of the email is to verify that the account owner made the request and to provide a one-time perishable URL for changing the password.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ConfirmUrl\",\r\n \"title\": \"Developer new password instruction URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/PasswordResetByAdminNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"PasswordResetByAdminNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your password was reset\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n

The password of your $OrganizationName API account has been reset, per your request.

\\r\\n

\\r\\n Your new password is: $DevPassword

\\r\\n

Please make sure to change it next time you sign in.

\\r\\n

Thank you,

\\r\\n

$OrganizationName API Team

\\r\\n

\\r\\n $DevPortalUrl\\r\\n

\\r\\n
\\r\\n \\r\\n\",\r\n \"title\": \"Password reset by publisher notification (Password reset by admin)\",\r\n \"description\": \"Developers receive this email when the publisher resets their password.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPassword\",\r\n \"title\": \"New Developer password\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/RejectDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"RejectDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription request for the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n We would like to inform you that we reviewed your subscription request for the $ProdName.\\r\\n

\\r\\n #if ($SubDeclineReason == \\\"\\\")\\r\\n

Regretfully, we were unable to approve it, as subscriptions are temporarily suspended at this time.

\\r\\n #else\\r\\n

\\r\\n Regretfully, we were unable to approve it at this time for the following reason:\\r\\n

$SubDeclineReason

\\r\\n #end\\r\\n

We truly appreciate your interest.

All the best,

The $OrganizationName API Team

$DevPortalUrl\\r\\n\",\r\n \"title\": \"Subscription request declined\",\r\n \"description\": \"This email is sent to developers when their subscription requests for products requiring publisher approval is declined.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"SubDeclineReason\",\r\n \"title\": \"Reason for declining subscription\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/RequestDeveloperNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/templates\",\r\n \"name\": \"RequestDeveloperNotificationMessage\",\r\n \"properties\": {\r\n \"subject\": \"Your subscription request for the $ProdName\",\r\n \"body\": \"\\r\\n\\r\\n \\r\\n \\r\\n

Dear $DevFirstName $DevLastName,

\\r\\n

\\r\\n Thank you for your interest in our $ProdName API product!\\r\\n

\\r\\n

\\r\\n We were delighted to receive your subscription request. We will promptly review it and get back to you at $DevEmail.\\r\\n

\\r\\n

Thank you,

\\r\\n

The $OrganizationName API Team

\\r\\n $DevPortalUrl\\r\\n \\r\\n\",\r\n \"title\": \"Subscription request received\",\r\n \"description\": \"This email is sent to developers to acknowledge receipt of their subscription requests for products requiring publisher approval.\",\r\n \"isDefault\": true,\r\n \"parameters\": [\r\n {\r\n \"name\": \"DevFirstName\",\r\n \"title\": \"Developer first name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevLastName\",\r\n \"title\": \"Developer last name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevEmail\",\r\n \"title\": \"Developer email\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"ProdName\",\r\n \"title\": \"Product name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"OrganizationName\",\r\n \"title\": \"Organization name\",\r\n \"description\": null\r\n },\r\n {\r\n \"name\": \"DevPortalUrl\",\r\n \"title\": \"Developer portal URL\",\r\n \"description\": null\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:52 GMT" + "Mon, 19 Feb 2018 23:59:14 GMT" ], "Pragma": [ "no-cache" @@ -182,23 +182,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5510795b-bba8-4d64-b239-221dd858d3c3" + "ac6ea91d-c241-46ca-af6b-4e7e37cbe0e3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14996" ], "x-ms-correlation-request-id": [ - "014eb4cc-ffe5-4a16-8f7f-0f9aa475ed33" + "f0d60929-64d5-4dce-a50c-da6514b7246a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191752Z:014eb4cc-ffe5-4a16-8f7f-0f9aa475ed33" + "WESTUS2:20180219T235914Z:f0d60929-64d5-4dce-a50c-da6514b7246a" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"subject\": \"New Subject\"\r\n }\r\n}", "RequestHeaders": { @@ -209,7 +209,7 @@ "58" ], "x-ms-client-request-id": [ - "f855dd15-41ef-4ba0-a713-111a14f235ce" + "74ec826a-fe79-4841-b60a-52b1d14484fd" ], "accept-language": [ "en-US" @@ -234,13 +234,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:52 GMT" + "Mon, 19 Feb 2018 23:59:14 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD8w=\"" + "\"AAAAAAAANBc=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -249,28 +249,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f27705b8-d205-4264-8a15-fb8fdd9ef7a6" + "556b977b-9216-4042-a9cf-a5a1d7b423b3" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1198" ], "x-ms-correlation-request-id": [ - "664eb7fe-debf-46f8-942a-2c1eb597fc04" + "a687cc80-6dab-4d8b-aa32-e7ce49ce44bd" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191753Z:664eb7fe-debf-46f8-942a-2c1eb597fc04" + "WESTUS2:20180219T235915Z:a687cc80-6dab-4d8b-aa32-e7ce49ce44bd" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b630385f-b0c8-497b-a6c9-6e4f5fa80928" + "85f4ffc4-1ea3-4611-b7e5-2616f878f203" ], "accept-language": [ "en-US" @@ -292,7 +292,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:53 GMT" + "Mon, 19 Feb 2018 23:59:15 GMT" ], "Pragma": [ "no-cache" @@ -301,7 +301,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8w=\"" + "\"AAAAAAAANBc=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -313,28 +313,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9a6bc5af-2871-483a-a9ec-c4fa96c5b108" + "5987d06c-54d9-466d-a99b-49693f501a5a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14995" ], "x-ms-correlation-request-id": [ - "a3551961-65ce-41fe-a9b3-cf63d9c7d5fc" + "8a7792e1-5c82-4596-a6d6-0b7367ef8f51" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191753Z:a3551961-65ce-41fe-a9b3-cf63d9c7d5fc" + "WESTUS2:20180219T235915Z:8a7792e1-5c82-4596-a6d6-0b7367ef8f51" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "df79b065-e4ee-4176-91a3-da0f919458e4" + "b9a49687-c190-49cc-987b-32ade18d25ac" ], "accept-language": [ "en-US" @@ -356,7 +356,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:53 GMT" + "Mon, 19 Feb 2018 23:59:15 GMT" ], "Pragma": [ "no-cache" @@ -377,31 +377,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "25448179-ca8c-47b1-9e24-8012e09321e3" + "5f549d5a-42c8-4a87-9900-a41248272022" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14994" ], "x-ms-correlation-request-id": [ - "bdc5c8f6-b95a-4ba0-b224-545478235077" + "e8b060f9-b1a9-4b2b-90a4-bd90168fabf6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191753Z:bdc5c8f6-b95a-4ba0-b224-545478235077" + "WESTUS2:20180219T235916Z:e8b060f9-b1a9-4b2b-90a4-bd90168fabf6" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2aaf0906-ded1-4092-9bda-1ee9d66e9cae" + "22f57d10-891e-450d-b513-af9f04febdc7" ], "If-Match": [ - "\"AAAAAAAAD8w=\"" + "\"AAAAAAAANBc=\"" ], "accept-language": [ "en-US" @@ -423,7 +423,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:53 GMT" + "Mon, 19 Feb 2018 23:59:15 GMT" ], "Pragma": [ "no-cache" @@ -435,28 +435,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8b7b9020-1930-40ec-8217-29c3b0733e5d" + "94859595-234b-4656-90a0-3cce702a1515" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1197" ], "x-ms-correlation-request-id": [ - "5aa07855-e479-4e3d-ae98-f79ed3c11238" + "16ea4942-9764-44dd-8fa3-229a6b4ee608" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191753Z:5aa07855-e479-4e3d-ae98-f79ed3c11238" + "WESTUS2:20180219T235916Z:16ea4942-9764-44dd-8fa3-229a6b4ee608" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/templates/ApplicationApprovedNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW1wbGF0ZXMvQXBwbGljYXRpb25BcHByb3ZlZE5vdGlmaWNhdGlvbk1lc3NhZ2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "93bcdecf-57d4-4b43-8c54-d198bf4c1515" + "6268b2ae-626d-41d6-b78e-e39f82852ed9" ], "If-Match": [ "*" @@ -471,9 +471,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -481,7 +478,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:53 GMT" + "Mon, 19 Feb 2018 23:59:15 GMT" ], "Pragma": [ "no-cache" @@ -493,16 +490,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "db155af2-aae8-408c-b9b7-8173a83b98e1" + "9510e910-a5aa-4838-905b-9093edc2643b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1196" ], "x-ms-correlation-request-id": [ - "dc276740-9768-4c3e-87d5-aab2107bcd97" + "4530bd14-781a-462b-a502-f198e418c379" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191754Z:dc276740-9768-4c3e-87d5-aab2107bcd97" + "WESTUS2:20180219T235916Z:4530bd14-781a-462b-a502-f198e418c379" ] }, "StatusCode": 204 @@ -511,9 +508,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupTests/CreateListUpdateDelete.json index c8666321fa72..8ff6085ef5a6 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "6a8bf6b3-a344-42a8-89c6-912474c1cdce" + "5cce902e-07ff-4052-8b32-b658b0e70adf" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:00 GMT" + "Tue, 20 Feb 2018 05:55:03 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f9304724-8add-4af2-9e20-725e73bd185f", - "74c094c8-3197-4f79-b209-46494f101812" + "52574d06-b3b6-4631-979d-0c8e0b4b3e0f", + "13953116-1d29-4891-b8ce-fb746e8055a9" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "45c9d9b8-2b11-4384-a7d0-382f892b48e9" + "3eada5b9-c308-4743-b85a-7a660c8e6c24" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191801Z:45c9d9b8-2b11-4384-a7d0-382f892b48e9" + "WESTUS2:20180220T055503Z:3eada5b9-c308-4743-b85a-7a660c8e6c24" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "41d03762-5392-419f-bc2d-c2209315f8b4" + "7383d76a-0ca0-43ab-8ba1-f52d5ea46fda" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:00 GMT" + "Tue, 20 Feb 2018 05:55:03 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "184916bd-de71-4182-8f0a-0369e631c4ff" + "aed60786-fe29-4bd3-a323-c2a28893bf83" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14999" ], "x-ms-correlation-request-id": [ - "3e28ca84-2dc1-4a36-8b18-d502a82ed4bd" + "8365fb56-6ed9-4b9a-a55f-69db27c2ae40" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191801Z:3e28ca84-2dc1-4a36-8b18-d502a82ed4bd" + "WESTUS2:20180220T055503Z:8365fb56-6ed9-4b9a-a55f-69db27c2ae40" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cfd46078-a200-4217-9b28-094df78c2b86" + "4bcb7226-ad72-4c70-b831-63e7c3ad3a6d" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:00 GMT" + "Tue, 20 Feb 2018 05:55:03 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9e93ec9c-f715-41ec-9333-126dead898fb" + "98a6d878-1e0b-4728-91a4-efdb52b26840" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14998" ], "x-ms-correlation-request-id": [ - "6c95bbf6-42b1-4d1b-ad31-6041668579c0" + "12b5d46d-46d6-4936-9705-22116f5209b8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191801Z:6c95bbf6-42b1-4d1b-ad31-6041668579c0" + "WESTUS2:20180220T055503Z:12b5d46d-46d6-4936-9705-22116f5209b8" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHM/JHRvcD0xJmFwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHM/JHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2064e612-0dc0-43a2-9ba6-83ed065c5509" + "f4107ca7-1966-47c7-9437-14822eb3a069" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:01 GMT" + "Tue, 20 Feb 2018 05:55:04 GMT" ], "Pragma": [ "no-cache" @@ -243,25 +243,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f78ceecf-ab7b-4fb2-841f-f0da76674707" + "397a62df-54dc-4b38-beab-0d31b80cacef" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14997" ], "x-ms-correlation-request-id": [ - "1878be6e-1994-452c-9865-3bd231e83292" + "80d1901f-13b6-4703-b760-432136bb6f28" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191801Z:1878be6e-1994-452c-9865-3bd231e83292" + "WESTUS2:20180220T055504Z:80d1901f-13b6-4703-b760-432136bb6f28" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup1758\",\r\n \"description\": \"Group created from Sdk client\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup6944\",\r\n \"description\": \"Group created from Sdk client\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -270,7 +270,7 @@ "116" ], "x-ms-client-request-id": [ - "73d98b56-5ed1-4d1e-ae74-3d1876ba8336" + "26558374-c809-4243-b088-8f2c3c6c4b9f" ], "accept-language": [ "en-US" @@ -280,7 +280,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId8089\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup1758\",\r\n \"description\": \"Group created from Sdk client\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId5450\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup6944\",\r\n \"description\": \"Group created from Sdk client\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -295,13 +295,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:01 GMT" + "Tue, 20 Feb 2018 05:55:04 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD80=\"" + "\"AAAAAAAANSM=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -310,28 +310,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ebed625f-60fd-4598-b2d4-443020ee9e58" + "49260802-acb8-4be0-b036-09f269a1ee85" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1198" ], "x-ms-correlation-request-id": [ - "21f823cc-2348-4701-8850-5f611d4872c3" + "bf811247-4fbe-4d79-9a34-7aedef4620d3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191802Z:21f823cc-2348-4701-8850-5f611d4872c3" + "WESTUS2:20180220T055504Z:bf811247-4fbe-4d79-9a34-7aedef4620d3" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0153b195-084b-4d90-b4ac-46cf7a60d3e3" + "b3b25a1a-b9be-4aef-bff7-d6642c47e6bc" ], "accept-language": [ "en-US" @@ -341,10 +341,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId8089\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup1758\",\r\n \"description\": \"Group created from Sdk client\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -353,49 +353,43 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:01 GMT" + "Tue, 20 Feb 2018 05:55:04 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "ETag": [ - "\"AAAAAAAAD80=\"" + "\"AAAAAAAANSM=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "03c7b5a6-48db-4d10-a785-53513b47c22f" + "718d9cee-afad-4f5a-a179-4c208a931dee" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14996" ], "x-ms-correlation-request-id": [ - "85a8f3e3-bc94-468c-8540-3db9b2a3d4fe" + "ba4cf660-3b92-4c82-a12e-81979f9218f1" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191802Z:85a8f3e3-bc94-468c-8540-3db9b2a3d4fe" + "WESTUS2:20180220T055504Z:ba4cf660-3b92-4c82-a12e-81979f9218f1" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "727d2eb1-d5ed-46aa-839b-fed5000a56ad" + "b2add329-a2e7-4c41-aa3c-84e3eadb0f16" ], "accept-language": [ "en-US" @@ -405,10 +399,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId8089\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup1758\",\r\n \"description\": \"Updating the description of the Sdk\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -417,49 +411,104 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:02 GMT" + "Tue, 20 Feb 2018 05:55:05 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "ETag": [ - "\"AAAAAAAAD84=\"" + "\"AAAAAAAANSY=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "55446f5d-8f96-431b-a281-29741d335de6" + "c77feed3-ef09-49c2-be7b-0af1c37ab4b8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "14994" ], "x-ms-correlation-request-id": [ - "8a1ee4b5-2202-4459-8f2c-81367baf61e9" + "9c97a6b6-ec0a-4e63-83f0-eae7f2698d1f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191803Z:8a1ee4b5-2202-4459-8f2c-81367baf61e9" + "WESTUS2:20180220T055505Z:9c97a6b6-ec0a-4e63-83f0-eae7f2698d1f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"Updating the description of the Sdk\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "86" + ], + "x-ms-client-request-id": [ + "48284bed-6cba-4088-ad7e-58f8c3395e23" + ], + "If-Match": [ + "\"AAAAAAAANSM=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 05:55:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2c8f847e-eb25-41c4-8665-73bb540afff0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "4f2286e5-cca6-4f51-aac1-0474b5c6385b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T055505Z:4f2286e5-cca6-4f51-aac1-0474b5c6385b" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fbfeb2e6-0d8e-48a0-9476-81a42a1cfb5e" + "329c6264-e558-4280-a254-5c0947f3fdad" ], "accept-language": [ "en-US" @@ -469,11 +518,8 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Group not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId5450\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup6944\",\r\n \"description\": \"Updating the description of the Sdk\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "81" - ], "Content-Type": [ "application/json; charset=utf-8" ], @@ -484,49 +530,49 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:03 GMT" + "Tue, 20 Feb 2018 05:55:05 GMT" ], "Pragma": [ "no-cache" ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANSY=\"" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Vary": [ + "Accept-Encoding" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3be93e21-0de2-4bbd-8897-e58114aa63a2" + "fc020077-adaa-477b-8e95-fd418274b73f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "14995" ], "x-ms-correlation-request-id": [ - "2d00a070-e4dc-46db-b450-110a0930d412" + "bc816742-613f-4e95-b8fb-6772cf7e4a5e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191803Z:2d00a070-e4dc-46db-b450-110a0930d412" + "WESTUS2:20180220T055505Z:bc816742-613f-4e95-b8fb-6772cf7e4a5e" ] }, - "StatusCode": 404 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"Updating the description of the Sdk\"\r\n }\r\n}", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "86" - ], "x-ms-client-request-id": [ - "f0045773-f393-4aee-b7bc-974342d30eea" - ], - "If-Match": [ - "\"AAAAAAAAD80=\"" + "258fc1c2-7bc2-4d2b-ba32-688c688b84dc" ], "accept-language": [ "en-US" @@ -536,10 +582,13 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Group not found.\",\r\n \"details\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "81" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -548,7 +597,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:02 GMT" + "Tue, 20 Feb 2018 05:55:05 GMT" ], "Pragma": [ "no-cache" @@ -560,31 +609,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "670679a7-d3d4-4409-973f-12fc49488a2c" + "945c4640-e18b-44b6-a6ee-9a08e1e7ea95" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" ], "x-ms-correlation-request-id": [ - "16bdaab1-6274-458d-b221-dd8fef6fef5f" + "efd1b552-7292-4c51-ab84-782884f90893" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191802Z:16bdaab1-6274-458d-b221-dd8fef6fef5f" + "WESTUS2:20180220T055505Z:efd1b552-7292-4c51-ab84-782884f90893" ] }, - "StatusCode": 204 + "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4b4e27f3-7089-46d8-bf58-b1f6b057062c" + "6aec451b-c7b9-4163-be98-df4b19b0806d" ], "If-Match": [ - "\"AAAAAAAAD84=\"" + "\"AAAAAAAANSY=\"" ], "accept-language": [ "en-US" @@ -606,7 +655,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:02 GMT" + "Tue, 20 Feb 2018 05:55:05 GMT" ], "Pragma": [ "no-cache" @@ -618,28 +667,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3b112fd8-96a5-4c1e-b3d7-d36dec1f00be" + "946f316b-cb74-4ced-9ec9-463394c79f30" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1196" ], "x-ms-correlation-request-id": [ - "a03cbb65-1a3f-4d24-a07d-5ad82068c31a" + "ad1140d8-6c59-4660-8f09-d4cdda42dbe8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191803Z:a03cbb65-1a3f-4d24-a07d-5ad82068c31a" + "WESTUS2:20180220T055505Z:ad1140d8-6c59-4660-8f09-d4cdda42dbe8" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId8089?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDgwODk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5450?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDU0NTA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c9fb2f00-760f-411f-b7e1-6b02ff82542c" + "7884cc52-d336-4b54-809f-ffb115711093" ], "If-Match": [ "*" @@ -654,9 +703,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -664,7 +710,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:03 GMT" + "Tue, 20 Feb 2018 05:55:06 GMT" ], "Pragma": [ "no-cache" @@ -676,16 +722,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e8c944dc-c11e-410f-b4a0-b5bd9607face" + "58f3abbb-5873-42c7-b3d6-0e8356dcba1e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1195" ], "x-ms-correlation-request-id": [ - "fd312b09-752d-416a-acb6-0b92d36027d7" + "6e107312-7770-4e8c-bd1d-f0a324237fab" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191803Z:fd312b09-752d-416a-acb6-0b92d36027d7" + "WESTUS2:20180220T055506Z:6e107312-7770-4e8c-bd1d-f0a324237fab" ] }, "StatusCode": 204 @@ -693,15 +739,14 @@ ], "Names": { "CreateListUpdateDelete": [ - "sdkGroupId8089", - "sdkGroup1758" + "sdkGroupId5450", + "sdkGroup6944" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupUserTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupUserTests/CreateListUpdateDelete.json index 26f3b16057b3..e727f9f470ed 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupUserTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.GroupUserTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "5ef95536-853b-4175-a601-94afe10691de" + "48ab927c-8195-4c80-a9bd-f18ce0b0c336" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:11 GMT" + "Tue, 20 Feb 2018 06:26:34 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "073728de-29f8-4c67-87cf-50fa978d1e90", - "a167521f-140d-43dd-9bee-a2f6c0181e99" + "4b9c4269-48b3-4c5d-a737-0d634da0d78e", + "a7e19a7e-8871-470b-bf92-0cb6c5b6634e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1199" ], "x-ms-correlation-request-id": [ - "81cdd4f9-6ff6-42c7-add8-16e77be60317" + "a35e3b4d-cfe5-4307-b75c-0b291a208aec" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191811Z:81cdd4f9-6ff6-42c7-add8-16e77be60317" + "WESTUS2:20180220T062635Z:a35e3b4d-cfe5-4307-b75c-0b291a208aec" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f45d0563-7a7b-4190-90d5-2d5ca53422d1" + "9d11510b-f4f2-49c4-bff6-4d642570c893" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:11 GMT" + "Tue, 20 Feb 2018 06:26:34 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,25 +121,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2ecee320-5175-450d-97e9-81fdc32d4658" + "f013807a-cb09-49f4-b490-c149159dc252" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14999" ], "x-ms-correlation-request-id": [ - "bf7d087c-4887-48cd-83d7-7e17557ee1b7" + "94bd3c7d-f1c1-4473-b8bd-48e471ce7289" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191811Z:bf7d087c-4887-48cd-83d7-7e17557ee1b7" + "WESTUS2:20180220T062635Z:94bd3c7d-f1c1-4473-b8bd-48e471ce7289" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup5719\",\r\n \"description\": \"Group created from Sdk client\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup5723\",\r\n \"description\": \"Group created from Sdk client\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -148,7 +148,7 @@ "116" ], "x-ms-client-request-id": [ - "1d34c4c0-efad-48f7-b9a3-b7a0ff13a578" + "313e0dcb-fc62-40b1-82a9-16f92567da71" ], "accept-language": [ "en-US" @@ -158,7 +158,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId5129\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup5719\",\r\n \"description\": \"Group created from Sdk client\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"sdkGroupId2218\",\r\n \"properties\": {\r\n \"displayName\": \"sdkGroup5723\",\r\n \"description\": \"Group created from Sdk client\",\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "449" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:11 GMT" + "Tue, 20 Feb 2018 06:26:35 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD88=\"" + "\"AAAAAAAANVs=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +188,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "263adbf0-8839-43d1-a52c-987de18aca1d" + "6ee5e6e6-07ae-4bd9-902e-2eb710dc0eb3" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1198" ], "x-ms-correlation-request-id": [ - "48e68ec0-691a-4ec0-8092-0b29f22dace0" + "4bf91cad-ba68-484f-b7cc-7a4b8f5a6f3c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191811Z:48e68ec0-691a-4ec0-8092-0b29f22dace0" + "WESTUS2:20180220T062636Z:4bf91cad-ba68-484f-b7cc-7a4b8f5a6f3c" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129/users?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjkvdXNlcnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "64105860-8822-4f49-b184-46d2fee1472c" + "b813f788-7b0a-411b-8bb7-8a7aea722cf7" ], "accept-language": [ "en-US" @@ -231,7 +231,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:11 GMT" + "Tue, 20 Feb 2018 06:26:35 GMT" ], "Pragma": [ "no-cache" @@ -249,28 +249,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "03ef5520-3329-42b4-8e55-2e14873845da" + "6943180e-40c7-4524-b58a-937812574e40" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14998" ], "x-ms-correlation-request-id": [ - "86e699d8-25ed-42d9-915c-1a0a3b1f07b1" + "23a0d917-0135-4e61-bf85-fc3657351f13" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191811Z:86e699d8-25ed-42d9-915c-1a0a3b1f07b1" + "WESTUS2:20180220T062636Z:23a0d917-0135-4e61-bf85-fc3657351f13" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129/users?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjkvdXNlcnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ee190995-a5db-47fe-a0a9-09b1148a0f32" + "bfd095e0-e10f-4494-9d67-7f9c7c956b2f" ], "accept-language": [ "en-US" @@ -280,7 +280,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId8055\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"sdkUserId8055\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst6274\",\r\n \"lastName\": \"sdkLast1361\",\r\n \"email\": \"sdkFirst.Last9227@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:18:12.073\",\r\n \"note\": \"dummy note\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"sdkFirst.Last9227@contoso.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"sdkUserId5415\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst5099\",\r\n \"lastName\": \"sdkLast2843\",\r\n \"email\": \"sdkFirst.Last7055@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-20T06:26:37.533Z\",\r\n \"note\": \"dummy note\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"sdkFirst.Last7055@contoso.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -292,7 +292,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:12 GMT" + "Tue, 20 Feb 2018 06:26:36 GMT" ], "Pragma": [ "no-cache" @@ -310,28 +310,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ff0d6d15-7523-4181-9767-5dc03de0c07c" + "897caaa4-d090-4db2-911d-e1eb690b2526" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14997" ], "x-ms-correlation-request-id": [ - "942eb7ae-88d7-48c8-828b-4be8dfe80c84" + "0db96491-f392-4472-be6e-c3bf07df7ce0" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191812Z:942eb7ae-88d7-48c8-828b-4be8dfe80c84" + "WESTUS2:20180220T062637Z:0db96491-f392-4472-be6e-c3bf07df7ce0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129/users?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjkvdXNlcnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId5415?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy9zZGtVc2VySWQ1NDE1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"dummy note\",\r\n \"email\": \"sdkFirst.Last7055@contoso.com\",\r\n \"firstName\": \"sdkFirst5099\",\r\n \"lastName\": \"sdkLast2843\"\r\n }\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "191" + ], "x-ms-client-request-id": [ - "39602fc8-e5eb-4baa-92d3-6651093c3422" + "2a02b53d-15d0-4fb4-b61f-6c1d55e5728a" ], "accept-language": [ "en-US" @@ -341,8 +347,11 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId5415\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"sdkUserId5415\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst5099\",\r\n \"lastName\": \"sdkLast2843\",\r\n \"email\": \"sdkFirst.Last7055@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-20T06:26:37.533Z\",\r\n \"note\": \"dummy note\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"sdkFirst.Last7055@contoso.com\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { + "Content-Length": [ + "1101" + ], "Content-Type": [ "application/json; charset=utf-8" ], @@ -353,52 +362,43 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:13 GMT" + "Tue, 20 Feb 2018 06:26:36 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "ETag": [ + "\"AAAAAAAANV4AAAAAAAA1YA==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "afbb2188-3ad7-4bb3-85d9-56aab9740173" + "97fdbebc-674d-4fc0-841d-9d0cf977b971" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "4905b9f8-f7d8-446b-a511-c71defb7fb58" + "3aaec78b-fafa-45e0-93c1-f93f446e245e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191813Z:4905b9f8-f7d8-446b-a511-c71defb7fb58" + "WESTUS2:20180220T062636Z:3aaec78b-fafa-45e0-93c1-f93f446e245e" ] }, - "StatusCode": 200 + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId8055?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy9zZGtVc2VySWQ4MDU1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnMvc2RrVXNlcklkNTQxNT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"dummy note\",\r\n \"email\": \"sdkFirst.Last9227@contoso.com\",\r\n \"firstName\": \"sdkFirst6274\",\r\n \"lastName\": \"sdkLast1361\"\r\n }\r\n}", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "191" - ], "x-ms-client-request-id": [ - "f7ff8594-052e-4876-9b9b-a725be2d3b75" + "ac8a081c-490b-47fd-b878-8e032542d1a3" ], "accept-language": [ "en-US" @@ -408,10 +408,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId8055\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"sdkUserId8055\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst6274\",\r\n \"lastName\": \"sdkLast1361\",\r\n \"email\": \"sdkFirst.Last9227@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:18:12.5753734Z\",\r\n \"note\": \"dummy note\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"sdkFirst.Last9227@contoso.com\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"sdkUserId5415\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst5099\",\r\n \"lastName\": \"sdkLast2843\",\r\n \"email\": \"sdkFirst.Last7055@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-20T06:26:37.533Z\",\r\n \"note\": \"dummy note\",\r\n \"groups\": [],\r\n \"identities\": []\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1105" + "573" ], "Content-Type": [ "application/json; charset=utf-8" @@ -423,13 +423,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:12 GMT" + "Tue, 20 Feb 2018 06:26:36 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD9A=\"" + "\"AAAAAAAANWc=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -438,28 +438,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "53e27791-b590-403a-9f2c-a2d699031758" + "6af9fa40-9701-42df-9ae8-4171c8dc76c4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1196" ], "x-ms-correlation-request-id": [ - "b0ffe6a6-84f6-4a93-8baa-853d62f86eb2" + "13c16564-3794-4a24-8f3f-cab25474a446" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191812Z:b0ffe6a6-84f6-4a93-8baa-853d62f86eb2" + "WESTUS2:20180220T062637Z:13c16564-3794-4a24-8f3f-cab25474a446" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129/users/sdkUserId8055?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjkvdXNlcnMvc2RrVXNlcklkODA1NT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "PUT", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnMvc2RrVXNlcklkNTQxNT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9913b7cf-c0d0-469c-bb21-c3e6cad6ec9c" + "597d607a-f920-4292-ab27-d9c01b4ec5c6" ], "accept-language": [ "en-US" @@ -469,13 +469,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId8055\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"sdkUserId8055\",\r\n \"properties\": {\r\n \"firstName\": \"sdkFirst6274\",\r\n \"lastName\": \"sdkLast1361\",\r\n \"email\": \"sdkFirst.Last9227@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:18:12.073\",\r\n \"note\": \"dummy note\",\r\n \"groups\": [],\r\n \"identities\": []\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "550" - ], - "Content-Type": [ - "application/json; charset=utf-8" + "0" ], "Expires": [ "-1" @@ -484,13 +481,65 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:12 GMT" + "Tue, 20 Feb 2018 06:26:36 GMT" ], "Pragma": [ "no-cache" ], - "ETag": [ - "\"AAAAAAAAD9U=\"" + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "677363c5-57c3-4abd-a615-0b8fd2efbc9a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "51e9b704-d62c-45d2-bb37-152c71556ccd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T062637Z:51e9b704-d62c-45d2-bb37-152c71556ccd" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnMvc2RrVXNlcklkNTQxNT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5df8cfcf-f615-417d-96e2-e9968c12f153" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:26:37 GMT" + ], + "Pragma": [ + "no-cache" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -499,28 +548,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "212dcbf5-a583-4c4b-ba1c-38b65c2f2eb1" + "88a399b8-1204-49d8-ac58-34cdf4049514" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" ], "x-ms-correlation-request-id": [ - "60ad9586-a1f9-4907-89f2-913e2747563b" + "def102f6-8e97-4c15-9674-764417f63785" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191812Z:60ad9586-a1f9-4907-89f2-913e2747563b" + "WESTUS2:20180220T062638Z:def102f6-8e97-4c15-9674-764417f63785" ] }, - "StatusCode": 201 + "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129/users/sdkUserId8055?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjkvdXNlcnMvc2RrVXNlcklkODA1NT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218/users/sdkUserId5415?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTgvdXNlcnMvc2RrVXNlcklkNTQxNT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b17116ff-88fd-47ec-ad26-023edbb51b46" + "eac314d2-5840-4b6b-9850-18660cf1ac92" ], "accept-language": [ "en-US" @@ -542,7 +591,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:13 GMT" + "Tue, 20 Feb 2018 06:26:37 GMT" ], "Pragma": [ "no-cache" @@ -554,28 +603,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8830428d-5cac-4e1c-b788-bd85ea40090f" + "bcb9583c-c099-4a31-8778-45f112e54101" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1195" ], "x-ms-correlation-request-id": [ - "522178f6-1c54-486c-99ab-0dd389d807c4" + "516b09a9-7f91-42fe-b2d5-e61634601e86" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191813Z:522178f6-1c54-486c-99ab-0dd389d807c4" + "WESTUS2:20180220T062638Z:516b09a9-7f91-42fe-b2d5-e61634601e86" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId8055?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy9zZGtVc2VySWQ4MDU1P2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/sdkUserId5415?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy9zZGtVc2VySWQ1NDE1P2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "479393c5-bfb3-4e01-8bd6-5b1ce113298c" + "c0068171-01a0-43ff-b0d2-2e46fd9373de" ], "If-Match": [ "*" @@ -600,7 +649,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:13 GMT" + "Tue, 20 Feb 2018 06:26:37 GMT" ], "Pragma": [ "no-cache" @@ -612,28 +661,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f2a5f8e3-65bd-4e8c-ba64-210072a0d95c" + "23120aeb-9003-4b5f-b37b-01c3d13fad32" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1194" ], "x-ms-correlation-request-id": [ - "052fe111-6917-49e7-ac9b-eb088a3b9973" + "d69a6cdd-8a8e-4a98-8062-8b3974415d12" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191813Z:052fe111-6917-49e7-ac9b-eb088a3b9973" + "WESTUS2:20180220T062638Z:d69a6cdd-8a8e-4a98-8062-8b3974415d12" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId5129?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDUxMjk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/sdkGroupId2218?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvc2RrR3JvdXBJZDIyMTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "43146d2b-69f1-4d37-8340-f92620615203" + "ec784ef0-4692-4792-b028-78d1117994b2" ], "If-Match": [ "*" @@ -658,7 +707,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:14 GMT" + "Tue, 20 Feb 2018 06:26:38 GMT" ], "Pragma": [ "no-cache" @@ -670,36 +719,35 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f5bd077e-932b-4676-b634-60d42b196898" + "ee55fd5d-4af6-47ed-b99a-8f884be053b9" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1193" ], "x-ms-correlation-request-id": [ - "50840fc3-badc-4c25-8364-dac13bd25d9f" + "d5714782-613b-4164-a493-577c9356816a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191814Z:50840fc3-badc-4c25-8364-dac13bd25d9f" + "WESTUS2:20180220T062638Z:d5714782-613b-4164-a493-577c9356816a" ] }, - "StatusCode": 204 + "StatusCode": 200 } ], "Names": { "CreateListUpdateDelete": [ - "sdkUserId8055", - "sdkGroupId5129", - "sdkGroup5719", - "sdkFirst6274", - "sdkLast1361", - "sdkFirst.Last9227" + "sdkUserId5415", + "sdkGroupId2218", + "sdkGroup5723", + "sdkFirst5099", + "sdkLast2843", + "sdkFirst.Last7055" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.IdentityProviderTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.IdentityProviderTests/CreateListUpdateDelete.json index 635a58ae3f4e..8bba31386a79 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.IdentityProviderTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.IdentityProviderTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "4f2ed45c-e814-4cdb-984f-c924897bbc02" + "878c7ace-0df8-4b18-a681-7d289541af65" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:12 GMT" + "Sun, 04 Mar 2018 20:00:31 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,32 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bd51c9e9-1dd4-4dac-aa01-26cc8d7b8b89", - "b39b5a35-47a3-4b15-9038-ff5f34138cea" + "c91ad95a-dd73-487f-adcf-6fad8b077920", + "a06d3217-323c-43bc-a1dc-9f27cbb85240" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "9668aa59-e099-4556-a15b-626a2c4e5c2e" + "5df05360-185c-4360-9919-a8b4848e3ebf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191012Z:9668aa59-e099-4556-a15b-626a2c4e5c2e" + "WESTUS2:20180304T200031Z:5df05360-185c-4360-9919-a8b4848e3ebf" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8e5e1b79-a8d5-4d41-a9f1-6737620228a2" + "e1412c10-74c7-44e6-ad21-5dde5970e66a" ], "accept-language": [ "en-US" @@ -88,7 +91,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +103,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:13 GMT" + "Sun, 04 Mar 2018 20:00:31 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +112,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,25 +124,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7c8df162-9c4c-4c5a-b202-9f0dfcbb8020" + "def1fa9f-54be-4191-948b-018b37e96792" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14996" ], "x-ms-correlation-request-id": [ - "c1f9d3f3-0718-4441-9c36-d785b8ad78b2" + "c57c7ca4-9ca1-4c53-a6f0-f9f28481ec45" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191013Z:c1f9d3f3-0718-4441-9c36-d785b8ad78b2" + "WESTUS2:20180304T200032Z:c57c7ca4-9ca1-4c53-a6f0-f9f28481ec45" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"clientId\": \"clientId4020\",\r\n \"clientSecret\": \"clientSecret2844\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"clientId\": \"clientId8283\",\r\n \"clientSecret\": \"clientSecret5968\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -148,7 +154,7 @@ "101" ], "x-ms-client-request-id": [ - "66c7f466-4166-43c2-8b9e-6f0e50a63ef7" + "c7b3116c-8c58-490b-b9ea-84e0be14a2b6" ], "accept-language": [ "en-US" @@ -158,10 +164,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId4020\",\r\n \"clientSecret\": \"clientSecret2844\",\r\n \"type\": \"facebook\",\r\n \"allowedTenants\": null,\r\n \"signupPolicyName\": null,\r\n \"signinPolicyName\": null,\r\n \"profileEditingPolicyName\": null,\r\n \"passwordResetPolicyName\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId8283\",\r\n \"clientSecret\": \"clientSecret5968\",\r\n \"type\": \"facebook\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "566" + "398" ], "Content-Type": [ "application/json; charset=utf-8" @@ -173,13 +179,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:14 GMT" + "Sun, 04 Mar 2018 20:00:32 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD2U=\"" + "\"AAAAAAAANsQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +194,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ae25ac65-a1a1-4db8-ab59-adda10982c15" + "32ec662d-1097-453c-bc5d-b00e4a37dc00" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "cfb168c8-da76-45cb-b524-9ccb5577b7b8" + "e980b231-38f8-4107-9796-2db0f3760dc9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191014Z:cfb168c8-da76-45cb-b524-9ccb5577b7b8" + "WESTUS2:20180304T200033Z:e980b231-38f8-4107-9796-2db0f3760dc9" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5a554f0f-90ea-4de9-a544-b4ec44e6ade6" + "08048242-fcda-4378-af7d-175e376e22c6" ], "accept-language": [ "en-US" @@ -219,7 +228,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId4020\",\r\n \"clientSecret\": \"clientSecret2844\",\r\n \"type\": \"facebook\",\r\n \"allowedTenants\": null,\r\n \"signupPolicyName\": null,\r\n \"signinPolicyName\": null,\r\n \"profileEditingPolicyName\": null,\r\n \"passwordResetPolicyName\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId8283\",\r\n \"clientSecret\": \"clientSecret5968\",\r\n \"type\": \"facebook\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -231,7 +240,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:14 GMT" + "Sun, 04 Mar 2018 20:00:32 GMT" ], "Pragma": [ "no-cache" @@ -239,9 +248,6 @@ "Transfer-Encoding": [ "chunked" ], - "ETag": [ - "\"AAAAAAAAD2U=\"" - ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -252,28 +258,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4dcd0b03-fb9d-476e-9d79-76b73e5bdcf6" + "db3538f0-2ffe-463e-b29e-3b574817e631" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14995" ], "x-ms-correlation-request-id": [ - "1b6ae8e6-2130-431c-b003-c9b83778e13e" + "c4c99076-21bd-410c-9bcd-fafe097b4f35" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191014Z:1b6ae8e6-2130-431c-b003-c9b83778e13e" + "WESTUS2:20180304T200033Z:c4c99076-21bd-410c-9bcd-fafe097b4f35" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "68507f91-9e6f-4b39-961f-79f88ed01701" + "fe830384-f7a8-46a1-9e56-7a96307ea073" ], "accept-language": [ "en-US" @@ -283,10 +292,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId4020\",\r\n \"clientSecret\": \"clientSecret7694\",\r\n \"type\": \"facebook\",\r\n \"allowedTenants\": null,\r\n \"signupPolicyName\": null,\r\n \"signinPolicyName\": null,\r\n \"profileEditingPolicyName\": null,\r\n \"passwordResetPolicyName\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -295,49 +304,46 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:15 GMT" + "Sun, 04 Mar 2018 20:00:32 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "ETag": [ - "\"AAAAAAAAD2Y=\"" + "\"AAAAAAAANsQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "17ea36f3-4016-4fa8-98a9-07d5567da3a0" + "d98201db-839b-4c4e-b36b-7a724096e9d4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14994" ], "x-ms-correlation-request-id": [ - "5a0f4fa3-c0fe-4df4-a5b9-4aa15ded1e08" + "0ae90e81-2801-4b0e-9c5d-53073e7d0321" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191015Z:5a0f4fa3-c0fe-4df4-a5b9-4aa15ded1e08" + "WESTUS2:20180304T200033Z:0ae90e81-2801-4b0e-9c5d-53073e7d0321" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c6206ced-162a-40bc-9a2f-655023f6d9de" + "18216456-483b-499c-8dcb-fb9921a302f9" ], "accept-language": [ "en-US" @@ -347,14 +353,78 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"IdentityProvider not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ - "92" + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:00:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANsU=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], + "x-ms-request-id": [ + "41350818-8bff-4671-a95a-9fb70aedf78a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "814653dd-8ce6-4da5-9ada-9261aa707722" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T200033Z:814653dd-8ce6-4da5-9ada-9261aa707722" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"clientSecret\": \"clientSecret1629\"\r\n }\r\n}", + "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], + "Content-Length": [ + "68" + ], + "x-ms-client-request-id": [ + "9496643c-198b-4bc1-9440-9eef2e7a1af8" + ], + "If-Match": [ + "\"AAAAAAAANsQ=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { "Expires": [ "-1" ], @@ -362,7 +432,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:15 GMT" + "Sun, 04 Mar 2018 20:00:32 GMT" ], "Pragma": [ "no-cache" @@ -374,28 +444,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "56cafafd-5d28-4d12-a5e8-c2ed9935df79" + "94f71b09-5ca4-432f-ab0f-7f74cf138700" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" ], "x-ms-correlation-request-id": [ - "ca49d75b-139c-4ac8-99e8-8210f5585122" + "5c36852d-222a-4e91-b18b-26c258b6afa7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191015Z:ca49d75b-139c-4ac8-99e8-8210f5585122" + "WESTUS2:20180304T200033Z:5c36852d-222a-4e91-b18b-26c258b6afa7" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 404 + "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "54087704-3e06-4071-bd52-8cfdf20022a4" + "2000f415-6dd3-41ab-94bc-969bea2ac8d3" ], "accept-language": [ "en-US" @@ -405,7 +478,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId4020\",\r\n \"clientSecret\": \"clientSecret2844\",\r\n \"type\": \"facebook\",\r\n \"allowedTenants\": null,\r\n \"signupPolicyName\": null,\r\n \"signinPolicyName\": null,\r\n \"profileEditingPolicyName\": null,\r\n \"passwordResetPolicyName\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/Facebook\",\r\n \"type\": \"Microsoft.ApiManagement/service/identityProviders\",\r\n \"name\": \"Facebook\",\r\n \"properties\": {\r\n \"clientId\": \"clientId8283\",\r\n \"clientSecret\": \"clientSecret1629\",\r\n \"type\": \"facebook\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -417,7 +490,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:14 GMT" + "Sun, 04 Mar 2018 20:00:32 GMT" ], "Pragma": [ "no-cache" @@ -425,6 +498,9 @@ "Transfer-Encoding": [ "chunked" ], + "ETag": [ + "\"AAAAAAAANsU=\"" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -435,37 +511,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "aee2d789-83e3-4446-9d9c-5e7484b295a3" + "3fb641b5-2e34-4a62-841f-48e8234f2e8b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14993" ], "x-ms-correlation-request-id": [ - "029c00e3-81d9-4128-83ea-d949cd37da96" + "45baffc3-26d1-43ba-b3ee-4308240eb4f0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191014Z:029c00e3-81d9-4128-83ea-d949cd37da96" + "WESTUS2:20180304T200033Z:45baffc3-26d1-43ba-b3ee-4308240eb4f0" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"clientSecret\": \"clientSecret7694\"\r\n }\r\n}", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "68" - ], "x-ms-client-request-id": [ - "cdb02186-c646-4cbb-91f8-8abe7fc1e145" - ], - "If-Match": [ - "\"AAAAAAAAD2U=\"" + "11a5781d-291e-4646-a74c-c8acb4235f3a" ], "accept-language": [ "en-US" @@ -475,10 +545,13 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"IdentityProvider not found.\",\r\n \"details\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "92" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -487,7 +560,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:15 GMT" + "Sun, 04 Mar 2018 20:00:33 GMT" ], "Pragma": [ "no-cache" @@ -499,31 +572,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "87e64acf-42ac-4ea7-bc70-17908a0ec9fe" + "304c4e41-feec-47c4-95d0-9ae5fdfe6396" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" ], "x-ms-correlation-request-id": [ - "abcfb994-530d-4945-a32a-79b7e9ebce17" + "8c4a8638-979d-4d72-8184-2f0c1314b797" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191015Z:abcfb994-530d-4945-a32a-79b7e9ebce17" + "WESTUS2:20180304T200034Z:8c4a8638-979d-4d72-8184-2f0c1314b797" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f09cec9c-e880-4ed2-95ad-3e61936e33ae" + "b93e5b43-ff35-4e03-b019-59f17ba1390f" ], "If-Match": [ - "\"AAAAAAAAD2Y=\"" + "\"AAAAAAAANsU=\"" ], "accept-language": [ "en-US" @@ -545,7 +621,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:15 GMT" + "Sun, 04 Mar 2018 20:00:33 GMT" ], "Pragma": [ "no-cache" @@ -557,28 +633,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "82c64f24-999d-4aa7-b4d4-32479a504114" + "b807f468-921b-40e2-bf4b-31ae57268600" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "8f28ee48-db3a-4ba7-a6ba-276ed405f116" + "db9a01ed-0c63-41e6-9d66-92eee03030dd" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191015Z:8f28ee48-db3a-4ba7-a6ba-276ed405f116" + "WESTUS2:20180304T200034Z:db9a01ed-0c63-41e6-9d66-92eee03030dd" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/identityProviders/facebook?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9pZGVudGl0eVByb3ZpZGVycy9mYWNlYm9vaz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "618d0122-59d7-4147-9600-d1b491a0b253" + "391fa7dd-fdc1-4f8d-8622-24ef2dd644d9" ], "If-Match": [ "*" @@ -593,9 +672,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -603,7 +679,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:15 GMT" + "Sun, 04 Mar 2018 20:00:33 GMT" ], "Pragma": [ "no-cache" @@ -615,16 +691,19 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f6ebd7d6-15d7-43c7-b175-461a78ca7a2c" + "209b06f0-0683-4aa2-9c9f-fb3aed6a9213" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "a4e6e9ee-6b72-4c3a-bc1a-28803f05ed70" + "008494aa-34b1-482d-86d4-cacc8c1b9e8b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191015Z:a4e6e9ee-6b72-4c3a-bc1a-28803f05ed70" + "WESTUS2:20180304T200034Z:008494aa-34b1-482d-86d4-cacc8c1b9e8b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 204 @@ -632,16 +711,15 @@ ], "Names": { "CreateListUpdateDelete": [ - "clientId4020", - "clientSecret2844", - "clientSecret7694" + "clientId8283", + "clientSecret5968", + "clientSecret1629" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteApplicationInsights.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteApplicationInsights.json new file mode 100644 index 000000000000..28cf0030ae86 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteApplicationInsights.json @@ -0,0 +1,698 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "fda82083-4b35-455d-b065-f7bbe407fb43" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a74eacc8-ac52-4106-810d-caf11ab825d7", + "aed90521-49e4-41fe-9c17-690faa28e03a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "8cc5eeab-5d77-4343-9a3b-2254785dae54" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000720Z:8cc5eeab-5d77-4343-9a3b-2254785dae54" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "17343b17-f599-4350-8682-2df83611ba10" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "97f6f214-4f50-4cc9-9aa2-bf72cb6146eb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14976" + ], + "x-ms-correlation-request-id": [ + "a886c219-c938-4e50-bff9-71b1a72bc695" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000720Z:a886c219-c938-4e50-bff9-71b1a72bc695" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": \"newloggerDescription1223\",\r\n \"credentials\": {\r\n \"instrumentationKey\": \"7a13856c-fed3-498e-afcd-e6a4b9718e52\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "215" + ], + "x-ms-client-request-id": [ + "3755e369-38f8-4111-91e4-c01d620ad81f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"applicationInsight5178\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": \"newloggerDescription1223\",\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{Logger-Credentials-5a8b66ba50f4b80c404ecbc8}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "531" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANGw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "db86da67-51fd-49e8-a7c4-fcbf6212ec08" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "99493177-ede3-4351-aeaa-771e7800d49b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000721Z:99493177-ede3-4351-aeaa-771e7800d49b" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "83ab6986-bdda-49f8-bd65-608a8ca2441f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"applicationInsight5178\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": \"newloggerDescription1223\",\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{Logger-Credentials-5a8b66ba50f4b80c404ecbc8}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "98cb6af3-08f7-4fa1-8eb5-a1cb03c90d89" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14975" + ], + "x-ms-correlation-request-id": [ + "a4278c6e-86ee-43aa-9145-5ec666d4c31c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000721Z:a4278c6e-86ee-43aa-9145-5ec666d4c31c" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fca09956-3d00-483c-b582-b396d16988eb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANGw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "80d0ac20-a4d4-4b82-9563-bf27e44a95a2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14974" + ], + "x-ms-correlation-request-id": [ + "6d6d9c6e-e1ea-4a08-936a-b5a0a717e03a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000721Z:6d6d9c6e-e1ea-4a08-936a-b5a0a717e03a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d47ae342-52e3-491d-af84-dca317943f6b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANG0=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "373047a7-1e6d-48ba-9766-41305f3f1558" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-correlation-request-id": [ + "db64c0d1-36c8-459c-9075-fc460c4d26f8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:db64c0d1-36c8-459c-9075-fc460c4d26f8" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": \"patchedDescription5397\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "115" + ], + "x-ms-client-request-id": [ + "bfaa1c7b-40de-4c63-8c79-ac76a4987263" + ], + "If-Match": [ + "\"AAAAAAAANGw=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:21 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "643e5812-1225-4bd8-bec1-497dcc62da5c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "8937560f-bfb0-4cb9-9169-4b32a83e20e5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:8937560f-bfb0-4cb9-9169-4b32a83e20e5" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7dbf5e48-c8f5-4e8f-bc06-2d6b6db6d82d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"applicationInsight5178\",\r\n \"properties\": {\r\n \"loggerType\": \"applicationInsights\",\r\n \"description\": \"patchedDescription5397\",\r\n \"credentials\": {\r\n \"instrumentationKey\": \"{{Logger-Credentials-5a8b66ba50f4b80c404ecbc8}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANG0=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "93bb4bce-1908-44b9-a7b6-73351cb13745" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14973" + ], + "x-ms-correlation-request-id": [ + "b11bb169-6d9f-41a0-8843-054ef332633e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:b11bb169-6d9f-41a0-8843-054ef332633e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8b37b48-5e93-467a-aab2-fac837c56c07" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Logger not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "82" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8f3959bc-79fb-475a-9402-a7162f3a041a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14971" + ], + "x-ms-correlation-request-id": [ + "f2bf35b9-b23c-42df-af9c-d0bd35da7b5b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:f2bf35b9-b23c-42df-af9c-d0bd35da7b5b" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77040143-6758-4260-b5b9-ae13993b56ad" + ], + "If-Match": [ + "\"AAAAAAAANG0=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2d74f5d6-40ca-4ba5-9c3e-3fcf6e47040e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "4cb9f810-5445-4af5-bf25-1ccd767e509f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:4cb9f810-5445-4af5-bf25-1ccd767e509f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/applicationInsight5178?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL2FwcGxpY2F0aW9uSW5zaWdodDUxNzg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "daf92c95-bd7f-4812-a424-a54b600b0dd2" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:22 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c0823434-d2b4-4200-aaf2-35d59ca90fe1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "be4e99cd-7b2d-49ba-851d-368c20085ea7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000722Z:be4e99cd-7b2d-49ba-851d-368c20085ea7" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteApplicationInsights": [ + "applicationInsight5178", + "newloggerDescription1223", + "patchedDescription5397" + ], + "appInsights": [ + "7a13856c-fed3-498e-afcd-e6a4b9718e52" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteEventHub.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteEventHub.json new file mode 100644 index 000000000000..cfaabf2a9090 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.LoggerTests/CreateListUpdateDeleteEventHub.json @@ -0,0 +1,1209 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "9ac6e0d2-78da-4769-8fbf-76d84e35c11a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "934618cf-57a4-462b-9abf-a93d31687249", + "01a86766-5c20-45a8-92be-26bf1b65e22c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "bc7c60c9-d31b-473c-b0ae-c1751951c9ec" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000744Z:bc7c60c9-d31b-473c-b0ae-c1751951c9ec" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "57157c52-02f8-4e98-bb26-f5b4f50d7418" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b1a6c6ad-9b75-457f-9622-b58f6ee96cee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "8b373b27-a1a9-4073-9926-938180c5c520" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000744Z:8b373b27-a1a9-4073-9926-938180c5c520" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"CentralUS\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ], + "x-ms-client-request-id": [ + "f6f9ddaa-a268-4819-a379-b7b5d342246f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720\",\r\n \"name\": \"eventHubNamespace6720\",\r\n \"type\": \"Microsoft.EventHub/namespaces\",\r\n \"location\": \"Central US\",\r\n \"kind\": \"EventHub\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"provisioningState\": \"Unknown\",\r\n \"metricId\": \"bab08e11-7b12-4354-9fd1-4b5d64d40b68:eventhubnamespace6720\",\r\n \"enabled\": false,\r\n \"namespaceType\": \"EventHub\",\r\n \"messagingSku\": 2\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:07:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "68e4d2b3-eb51-4f65-8160-59ea9aaf2607_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "98d5b988-4ab9-41bd-8776-38ae3ad33beb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000746Z:98d5b988-4ab9-41bd-8776-38ae3ad33beb" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720\",\r\n \"name\": \"eventHubNamespace6720\",\r\n \"type\": \"Microsoft.EventHub/namespaces\",\r\n \"location\": \"Central US\",\r\n \"kind\": \"EventHub\",\r\n \"sku\": {\r\n \"name\": \"Standard\",\r\n \"tier\": \"Standard\",\r\n \"capacity\": 1\r\n },\r\n \"tags\": {},\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"metricId\": \"bab08e11-7b12-4354-9fd1-4b5d64d40b68:eventhubnamespace6720\",\r\n \"status\": \"Active\",\r\n \"createdAt\": \"2018-02-20T00:07:45.803Z\",\r\n \"serviceBusEndpoint\": \"https://eventHubNamespace6720.servicebus.windows.net:443/\",\r\n \"enabled\": true,\r\n \"critical\": false,\r\n \"scaleUnit\": \"DM2-505\",\r\n \"dataCenter\": \"DM2\",\r\n \"updatedAt\": \"2018-02-20T00:08:09.457Z\",\r\n \"eventHubEnabled\": true,\r\n \"namespaceType\": \"EventHub\",\r\n \"messagingSku\": 2\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "466bf87f-5d3e-4f61-96b4-ef0256105632_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "f44639fe-ad6f-4548-8d60-74bd2ac70a51" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000816Z:f44639fe-ad6f-4548-8d60-74bd2ac70a51" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwL2V2ZW50aHVicy9ldmVudGh1Ym5hbWUzOTU2P2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"CentralUS\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "31" + ], + "x-ms-client-request-id": [ + "eb60d9ee-81aa-4f3b-abc4-21e76d7401d6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956\",\r\n \"name\": \"eventhubname3956\",\r\n \"type\": \"Microsoft.EventHub/EventHubs\",\r\n \"location\": \"Central US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"path\": \"eventhubname3956\",\r\n \"messageRetentionInDays\": 7,\r\n \"status\": \"Active\",\r\n \"createdAt\": \"2018-02-20T00:08:16.98Z\",\r\n \"updatedAt\": \"2018-02-20T00:08:26.29Z\",\r\n \"partitionCount\": 4,\r\n \"partitionIds\": [\r\n \"0\",\r\n \"1\",\r\n \"2\",\r\n \"3\"\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "04e72626-2201-4395-aa42-80cd55b1a89e_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "71f42cc6-edae-4d45-b495-269bc66ed583" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000833Z:71f42cc6-edae-4d45-b495-269bc66ed583" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956/authorizationRules/sendPolicy6284?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwL2V2ZW50aHVicy9ldmVudGh1Ym5hbWUzOTU2L2F1dGhvcml6YXRpb25SdWxlcy9zZW5kUG9saWN5NjI4ND9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\"\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "66" + ], + "x-ms-client-request-id": [ + "72e3a330-bd2c-4066-8320-6bd5a93214c5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956/authorizationRules/sendPolicy6284\",\r\n \"name\": \"sendPolicy6284\",\r\n \"type\": \"Microsoft.EventHub/AuthorizationRules\",\r\n \"location\": \"Central US\",\r\n \"tags\": null,\r\n \"properties\": {\r\n \"rights\": [\r\n \"Send\"\r\n ]\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "cf9b8426-281f-4c9b-b12a-2d5db5f803e6_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "f56a97d8-06de-4e9b-a952-dee324d0ad2d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000838Z:f56a97d8-06de-4e9b-a952-dee324d0ad2d" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956/authorizationRules/sendPolicy6284/ListKeys?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwL2V2ZW50aHVicy9ldmVudGh1Ym5hbWUzOTU2L2F1dGhvcml6YXRpb25SdWxlcy9zZW5kUG9saWN5NjI4NC9MaXN0S2V5cz9hcGktdmVyc2lvbj0yMDE1LTA4LTAx", + "RequestMethod": "POST", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "374f47cf-621e-4dfb-96af-3c46dd67cb3c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "{\r\n \"primaryConnectionString\": \"Endpoint=sb://eventhubnamespace6720.servicebus.windows.net/;SharedAccessKeyName=sendPolicy6284;SharedAccessKey=IvMkcRHxwiMD34lZaW3tPkHocGTQzd/TxcBIy8ibeFg=;EntityPath=eventhubname3956\",\r\n \"secondaryConnectionString\": \"Endpoint=sb://eventhubnamespace6720.servicebus.windows.net/;SharedAccessKeyName=sendPolicy6284;SharedAccessKey=TPoOGATzAAMoHxR0ESDxq7sWnyTYqoktk3Vudcy+xWs=;EntityPath=eventhubname3956\",\r\n \"primaryKey\": \"IvMkcRHxwiMD34lZaW3tPkHocGTQzd/TxcBIy8ibeFg=\",\r\n \"secondaryKey\": \"TPoOGATzAAMoHxR0ESDxq7sWnyTYqoktk3Vudcy+xWs=\",\r\n \"keyName\": \"sendPolicy6284\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-request-id": [ + "72530a60-4c0c-40ae-9315-af7b580128e1_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "d67c0556-bb11-4ac5-a0d1-29bc56e555d2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000839Z:d67c0556-bb11-4ac5-a0d1-29bc56e555d2" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"loggerType\": \"azureEventHub\",\r\n \"description\": \"newloggerDescription3287\",\r\n \"credentials\": {\r\n \"name\": \"eventhubname3956\",\r\n \"connectionString\": \"Endpoint=sb://eventhubnamespace6720.servicebus.windows.net/;SharedAccessKeyName=sendPolicy6284;SharedAccessKey=IvMkcRHxwiMD34lZaW3tPkHocGTQzd/TxcBIy8ibeFg=;EntityPath=eventhubname3956\"\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "389" + ], + "x-ms-client-request-id": [ + "39cd79d3-464e-46f5-b23c-bfafe4a8d518" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"newlogger2308\",\r\n \"properties\": {\r\n \"loggerType\": \"azureEventHub\",\r\n \"description\": \"newloggerDescription3287\",\r\n \"credentials\": {\r\n \"name\": \"eventhubname3956\",\r\n \"connectionString\": \"{{Logger-Credentials-5a8b670950f4b80c404ecbcd}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "540" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANG8=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1a94cac9-2035-4660-9f30-35efd6e468d6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "e0463caf-256e-452f-b55a-2798f4c2ec42" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000839Z:e0463caf-256e-452f-b55a-2798f4c2ec42" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "79a90cc1-c49b-43fc-902f-540a3c7af6af" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"newlogger2308\",\r\n \"properties\": {\r\n \"loggerType\": \"azureEventHub\",\r\n \"description\": \"newloggerDescription3287\",\r\n \"credentials\": {\r\n \"name\": \"eventhubname3956\",\r\n \"connectionString\": \"{{Logger-Credentials-5a8b670950f4b80c404ecbcd}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f22f64ee-6e80-4542-90c4-b9e3cf35023e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "84b13a78-0d79-4c33-b5d2-835ce770fa34" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000840Z:84b13a78-0d79-4c33-b5d2-835ce770fa34" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "34d4e880-9f61-452e-883f-eb7c83783f99" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANG8=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "54c4fe82-d193-41bd-a67e-db17845aa428" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "50335376-e023-41b7-bcf8-b486ed01cff3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000840Z:50335376-e023-41b7-bcf8-b486ed01cff3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "92fe7bae-5d60-4697-ae0d-c1a3bb7dc527" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANHA=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "00f1e3b7-478d-45e0-bd8f-1d2342faf1bd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "0b6d7f3b-0fbb-4032-b898-f71bcae601b8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000840Z:0b6d7f3b-0fbb-4032-b898-f71bcae601b8" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"loggerType\": \"azureEventHub\",\r\n \"description\": \"patchedDescription4333\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "109" + ], + "x-ms-client-request-id": [ + "b76421a6-c3ce-4612-af5f-735c8bd9e07d" + ], + "If-Match": [ + "\"AAAAAAAANG8=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "66d3d152-039f-4e54-9ad4-7c53a1c3108b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "24cc0b2e-dbea-4dea-aaa6-1aad0def2d2b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000840Z:24cc0b2e-dbea-4dea-aaa6-1aad0def2d2b" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "597cd3c5-9ee8-4b9b-9571-432cb94db0d1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308\",\r\n \"type\": \"Microsoft.ApiManagement/service/loggers\",\r\n \"name\": \"newlogger2308\",\r\n \"properties\": {\r\n \"loggerType\": \"azureEventHub\",\r\n \"description\": \"patchedDescription4333\",\r\n \"credentials\": {\r\n \"name\": \"eventhubname3956\",\r\n \"connectionString\": \"{{Logger-Credentials-5a8b670950f4b80c404ecbcd}}\"\r\n },\r\n \"isBuffered\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANHA=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0ec3cd70-d4a2-42dd-bfc9-c041e8858b63" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "633a0bc0-cb33-406d-9a8d-aeae29530d9f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000840Z:633a0bc0-cb33-406d-9a8d-aeae29530d9f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7ed91cf9-28be-40f8-9cb6-3e827a38c42a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Logger not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "82" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "df03843d-5d01-4ceb-b6e3-a36c976ef4c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "47cf28f4-d7cb-4d90-ae20-bf42ff873be0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000841Z:47cf28f4-d7cb-4d90-ae20-bf42ff873be0" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "740b4d2d-043a-493c-ba85-5d8f5dadc408" + ], + "If-Match": [ + "\"AAAAAAAANHA=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "825a1c34-9ba4-4b98-8676-157e922227fb" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "9f207804-3a49-4e25-8836-7df5df388136" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000841Z:9f207804-3a49-4e25-8836-7df5df388136" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/loggers/newlogger2308?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9sb2dnZXJzL25ld2xvZ2dlcjIzMDg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3b452c1d-f001-41ec-8580-2b5d355fb441" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e9dd3375-1542-42f2-a882-b06133d0789c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "9d35e59c-e313-470b-8275-d585316aae18" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000841Z:9d35e59c-e313-470b-8275-d585316aae18" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/eventhubs/eventhubname3956?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwL2V2ZW50aHVicy9ldmVudGh1Ym5hbWUzOTU2P2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "057c6ea3-5215-475c-ba53-0fe4831484c7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-request-id": [ + "7920cda9-05ea-483a-927f-25ce3cbee310" + ], + "x-ms-correlation-request-id": [ + "7920cda9-05ea-483a-927f-25ce3cbee310" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000842Z:7920cda9-05ea-483a-927f-25ce3cbee310" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7f8ef990-93b6-47ef-b6e6-e2e16d64a3a4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:08:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/operationresults/eventHubNamespace6720?api-version=2015-08-01" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "3e9c0a92-5746-4332-9f88-644256193e51_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "32922f4b-204f-4e84-a295-5199a90494aa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000843Z:32922f4b-204f-4e84-a295-5199a90494aa" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.EventHub/namespaces/eventHubNamespace6720/operationresults/eventHubNamespace6720?api-version=2015-08-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkV2ZW50SHViL25hbWVzcGFjZXMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwL29wZXJhdGlvbnJlc3VsdHMvZXZlbnRIdWJOYW1lc3BhY2U2NzIwP2FwaS12ZXJzaW9uPTIwMTUtMDgtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.EventHub.EventHubManagementClient/1.2.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 00:09:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Service-Bus-Resource-Provider/SN1", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "99504a2a-c85d-4b33-9044-d76e5a61aa1c_M3SN1_M3SN1" + ], + "Server-SB": [ + "Service-Bus-Resource-Provider/SN1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "4e3bf98b-823e-4a96-af8b-bade3dbe1604" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T000913Z:4e3bf98b-823e-4a96-af8b-bade3dbe1604" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "CreateListUpdateDeleteEventHub": [ + "newlogger2308", + "eventHubNamespace6720", + "eventhubname3956", + "sendPolicy6284", + "newloggerDescription3287", + "patchedDescription4333" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientEmail.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientEmail.json new file mode 100644 index 000000000000..b5309d1302ef --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientEmail.json @@ -0,0 +1,494 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "771a8a5b-bc1a-4058-940d-7a4f5fa92153" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7e8824c9-93af-4714-9496-25967422a5f8", + "bfeac761-0e76-40d5-a07e-dd4d7a3eb809" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ac438631-fb4b-4690-843c-500254c22aad" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065224Z:ac438631-fb4b-4690-843c-500254c22aad" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8f4c5c92-c34b-4462-af47-89ee5ba819c1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:23 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4f3aa22b-350e-4a26-8152-4d4e6ddc21e8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "48e93173-3830-47f4-bf19-e19129fae6e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065224Z:48e93173-3830-47f4-bf19-e19129fae6e1" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "1a1aa32b-7b7d-4965-9d08-4a38a647de8a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"RequestPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Subscription requests (requiring approval)\",\r\n \"description\": \"The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/PurchasePublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"PurchasePublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"New subscriptions\",\r\n \"description\": \"The following email recipients and users will receive email notifications about new API product subscriptions.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/NewApplicationNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"NewApplicationNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Application gallery requests\",\r\n \"description\": \"The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/BCC\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"BCC\",\r\n \"properties\": {\r\n \"title\": \"BCC\",\r\n \"description\": \"The following recipients will receive blind carbon copies of all emails sent to developers.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/NewIssuePublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"NewIssuePublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"New issue or comment\",\r\n \"description\": \"The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/AccountClosedPublisher\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"AccountClosedPublisher\",\r\n \"properties\": {\r\n \"title\": \"Close account message\",\r\n \"description\": \"The following email recipients and users will receive email notifications when developer closes his account\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/QuotaLimitApproachingPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"QuotaLimitApproachingPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Approaching subscription quota limit\",\r\n \"description\": \"The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9f07ee07-3f8c-4035-851e-04251c0502d4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "2efe3348-4a8c-4415-9b8a-ddeabc44c112" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065224Z:2efe3348-4a8c-4415-9b8a-ddeabc44c112" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso%40microsoft.com?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudEVtYWlscy9jb250b3NvJTQwbWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "95231576-3177-4dc9-88c9-bf37ac215dcd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso@microsoft.com\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications/recipientEmails\",\r\n \"name\": \"contoso@microsoft.com\",\r\n \"properties\": {\r\n \"email\": \"contoso@microsoft.com\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "424" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f8e93f32-ee26-41c5-ba42-33daaf7a0b63" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "5dc8e87b-4cc0-4676-8b28-ca3476767f7a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065225Z:5dc8e87b-4cc0-4676-8b28-ca3476767f7a" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso%40microsoft.com?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudEVtYWlscy9jb250b3NvJTQwbWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "10f1b516-80ad-40a7-9e1a-5ebc7ecec55e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0e84d083-07ec-43f8-9066-3c4db9c9d0a4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "7eacdeef-54e3-41f7-9286-aa38be37084d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065226Z:7eacdeef-54e3-41f7-9286-aa38be37084d" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso%40microsoft.com?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudEVtYWlscy9jb250b3NvJTQwbWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6e7c5d53-8826-4417-8d95-ea45ca0a8115" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0773224f-17eb-4faf-89da-d534248f7469" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "25e31bce-82ed-4f2b-8e70-b7f93527e71d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065226Z:25e31bce-82ed-4f2b-8e70-b7f93527e71d" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "eabb09c2-5d8d-4230-b484-c0028e6f1c4c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"RequestPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Subscription requests (requiring approval)\",\r\n \"description\": \"The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.\",\r\n \"recipients\": {\r\n \"emails\": [\r\n \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/recipientEmails/contoso@microsoft.com\"\r\n ],\r\n \"users\": []\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9405bc13-775a-4876-ac75-a1ba13a73e96" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "6209e0d3-865a-447f-8b38-9e68e7ba39b4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065226Z:6209e0d3-865a-447f-8b38-9e68e7ba39b4" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientEmails/contoso%40microsoft.com?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudEVtYWlscy9jb250b3NvJTQwbWljcm9zb2Z0LmNvbT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "82a0cbe4-4d61-4375-b83a-2d9f8a632cad" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:52:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2aa71899-482a-4d17-a2d6-1187d4ce4fde" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "9a31d3ca-21b6-48b0-a45d-28ce143ef798" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065226Z:9a31d3ca-21b6-48b0-a45d-28ce143ef798" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientUser.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientUser.json new file mode 100644 index 000000000000..59d7c93fa449 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.NotificationTests/UpdateDeleteRecipientUser.json @@ -0,0 +1,555 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "6796f4c1-6f0b-4099-b626-45392124a82b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8edd34ce-9e21-40b4-b6bb-e23cbf1da495", + "1f8d8675-d841-4538-bc19-38c9587d488d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "b98c4b18-4134-43cc-b9e5-1f5e2aff3c3f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065328Z:b98c4b18-4134-43cc-b9e5-1f5e2aff3c3f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c90c0a43-eebd-4134-9db0-3050d02b1a10" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c681b49a-abf9-4bf2-844e-af68611c4bdd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "bce85e4d-2f72-4560-8e04-80a9c9416835" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065328Z:bce85e4d-2f72-4560-8e04-80a9c9416835" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "78971d09-ef72-428c-b03f-98afc7052677" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"RequestPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Subscription requests (requiring approval)\",\r\n \"description\": \"The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/PurchasePublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"PurchasePublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"New subscriptions\",\r\n \"description\": \"The following email recipients and users will receive email notifications about new API product subscriptions.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/NewApplicationNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"NewApplicationNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Application gallery requests\",\r\n \"description\": \"The following email recipients and users will receive email notifications when new applications are submitted to the application gallery.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/BCC\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"BCC\",\r\n \"properties\": {\r\n \"title\": \"BCC\",\r\n \"description\": \"The following recipients will receive blind carbon copies of all emails sent to developers.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/NewIssuePublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"NewIssuePublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"New issue or comment\",\r\n \"description\": \"The following email recipients and users will receive email notifications when a new issue or comment is submitted on the developer portal.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/AccountClosedPublisher\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"AccountClosedPublisher\",\r\n \"properties\": {\r\n \"title\": \"Close account message\",\r\n \"description\": \"The following email recipients and users will receive email notifications when developer closes his account\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/QuotaLimitApproachingPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"QuotaLimitApproachingPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Approaching subscription quota limit\",\r\n \"description\": \"The following email recipients and users will receive email notifications when subscription usage gets close to usage quota.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": []\r\n }\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0f8a701f-ec59-44f8-891a-030031c16949" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "22f67339-8853-4ae0-be58-6c66bb6fde67" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065328Z:22f67339-8853-4ae0-be58-6c66bb6fde67" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9bbb6350-03f4-409a-972d-db65362d9522" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "52e1b2a2-8c52-4f6c-ab38-a14180f1a346" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "ac833ed3-b0dd-4114-9d6e-c7bf42056afa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065328Z:ac833ed3-b0dd-4114-9d6e-c7bf42056afa" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientUsers/1?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudFVzZXJzLzE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f467df7d-3ab7-41a8-8c3c-34cd37e78b27" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientUsers/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications/recipientUsers\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "515" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6abad666-bc43-4904-a1a1-65c4061f937f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "5674a30e-4324-4e1f-9412-fc3f13fd9f95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065329Z:5674a30e-4324-4e1f-9412-fc3f13fd9f95" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientUsers/1?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudFVzZXJzLzE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3320f8ae-1445-4f33-bb1d-d0456d33d418" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1bcd6ae2-a589-419b-9897-f756b24273ea" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "e3eb5dc0-6792-4e99-bad2-f870ae9f9de9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065329Z:e3eb5dc0-6792-4e99-bad2-f870ae9f9de9" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientUsers/1?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudFVzZXJzLzE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "54c17f87-ddaa-4aef-99d5-58de6ba11127" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "35a26260-b073-45a6-93b0-57f038e5d782" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-correlation-request-id": [ + "98bcc4a1-0726-4c08-b66c-f605ce6b628f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065330Z:98bcc4a1-0726-4c08-b66c-f605ce6b628f" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c01ff931-473e-439d-9a6e-f42ec0655ecf" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage\",\r\n \"type\": \"Microsoft.ApiManagement/service/notifications\",\r\n \"name\": \"RequestPublisherNotificationMessage\",\r\n \"properties\": {\r\n \"title\": \"Subscription requests (requiring approval)\",\r\n \"description\": \"The following email recipients and users will receive email notifications about subscription requests for API products requiring approval.\",\r\n \"recipients\": {\r\n \"emails\": [],\r\n \"users\": [\r\n \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\"\r\n ]\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "557c00b9-c4e7-4056-bb7c-789385caea6c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14987" + ], + "x-ms-correlation-request-id": [ + "82b056cb-0250-4661-952f-ad1f94fce363" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065329Z:82b056cb-0250-4661-952f-ad1f94fce363" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/notifications/RequestPublisherNotificationMessage/recipientUsers/1?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ub3RpZmljYXRpb25zL1JlcXVlc3RQdWJsaXNoZXJOb3RpZmljYXRpb25NZXNzYWdlL3JlY2lwaWVudFVzZXJzLzE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4b74b822-88c0-4edc-aefd-f049c77c1c83" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 06:53:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "659117be-82bc-45af-936f-8609d7cec027" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "3e3d05ec-d467-4db2-84dc-768c1bf97ff2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T065330Z:3e3d05ec-d467-4db2-84dc-768c1bf97ff2" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.OpenIdConnectProviderTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.OpenIdConnectProviderTests/CreateListUpdateDelete.json index e41e94208f77..fd066c8d6d9e 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.OpenIdConnectProviderTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.OpenIdConnectProviderTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "3adb6433-c9ba-467f-8e5e-c0bb4e398877" + "831f090c-9d2a-4d0d-87ed-94d3ae97bd11" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:00 GMT" + "Tue, 20 Feb 2018 07:00:58 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "010db530-6d1f-48e8-abce-e894f4f0ec0a", - "8374b9b4-a096-4115-9edd-60c2a38b2010" + "73bed865-decb-47be-8e23-072bac6156c2", + "4f62dfee-d8b3-4f9f-ae87-1b00a90e25a8" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "161f2287-073d-485a-bbba-20f8c6fc5c99" + "d08fc83d-72dd-4b4c-9402-6b439e889115" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191101Z:161f2287-073d-485a-bbba-20f8c6fc5c99" + "WESTUS2:20180220T070058Z:d08fc83d-72dd-4b4c-9402-6b439e889115" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b800fe74-246a-4812-8721-b9b8e8c47fd3" + "4c8fd317-063a-4f06-920c-f50094723db7" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:00 GMT" + "Tue, 20 Feb 2018 07:00:58 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,34 +121,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "89bc1ec0-7cda-449b-a74d-b8bb5a363c9c" + "fcfc4007-617c-4228-a389-f3eee079e224" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14999" ], "x-ms-correlation-request-id": [ - "e463f8fc-9e9a-4552-bd6a-872dddb4b55c" + "a9e8224a-a7a6-45e9-9b65-6d9707406014" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191101Z:e463f8fc-9e9a-4552-bd6a-872dddb4b55c" + "WESTUS2:20180220T070058Z:a9e8224a-a7a6-45e9-9b65-6d9707406014" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDU1MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"openIdName2000\",\r\n \"metadataEndpoint\": \"https://provider418.endpoint4223\",\r\n \"clientId\": \"clientId2164\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"openIdName5587\",\r\n \"metadataEndpoint\": \"https://provider65.endpoint1957\",\r\n \"clientId\": \"clientId4681\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "159" + "158" ], "x-ms-client-request-id": [ - "cd11297b-3712-4ade-8529-743574f1b9c0" + "829b781b-805d-4465-9199-86a297fca6cd" ], "accept-language": [ "en-US" @@ -158,10 +158,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5510\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName2000\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider418.endpoint4223\",\r\n \"clientId\": \"clientId2164\",\r\n \"clientSecret\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5328\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5587\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider65.endpoint1957\",\r\n \"clientId\": \"clientId4681\",\r\n \"clientSecret\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "498" + "497" ], "Content-Type": [ "application/json; charset=utf-8" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:01 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD30=\"" + "\"AAAAAAAANXo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +188,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "03eee779-6d21-4616-a341-1f439f119cc2" + "2fdb4b68-d995-4dbe-ae85-4b9c53211816" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "65828dc5-72cb-4948-a6f8-07a70f6810cd" + "3cd8f9b6-848e-45be-a517-3653e46afbef" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191102Z:65828dc5-72cb-4948-a6f8-07a70f6810cd" + "WESTUS2:20180220T070059Z:3cd8f9b6-848e-45be-a517-3653e46afbef" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDU1MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2acade28-47cb-4825-9f40-89d9961c186d" + "6b659b75-1d46-4701-8153-ceb403a9890f" ], "accept-language": [ "en-US" @@ -219,7 +219,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5510\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName2000\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider418.endpoint4223\",\r\n \"clientId\": \"clientId2164\",\r\n \"clientSecret\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5328\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5587\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider65.endpoint1957\",\r\n \"clientId\": \"clientId4681\",\r\n \"clientSecret\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -231,7 +231,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:01 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" @@ -240,7 +240,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD30=\"" + "\"AAAAAAAANXo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -252,28 +252,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8b205294-0a1a-4a99-ae62-970ce746b964" + "932a5ed2-da41-4085-9902-57eb58457fd7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14998" ], "x-ms-correlation-request-id": [ - "fe400c83-462f-4d2b-91e9-05bef35ebe0b" + "befe6690-e9cd-49d6-900c-b5aabeb511cb" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191102Z:fe400c83-462f-4d2b-91e9-05bef35ebe0b" + "WESTUS2:20180220T070059Z:befe6690-e9cd-49d6-900c-b5aabeb511cb" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDU1MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e4443da3-1e13-484e-94f5-2a83c44ee649" + "5d6f3593-189e-4a4f-bc8d-42849ceadcb1" ], "accept-language": [ "en-US" @@ -298,7 +298,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:02 GMT" + "Tue, 20 Feb 2018 07:01:00 GMT" ], "Pragma": [ "no-cache" @@ -310,34 +310,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a8c2ba25-754c-4e80-a66c-2ef4b725ae0b" + "e6d0b999-4b1f-46b6-b437-a123b432be4b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14993" ], "x-ms-correlation-request-id": [ - "82e66b79-287e-4032-b61b-ed9db08a78a9" + "27d8490b-3836-4241-bac4-6c3a80da3f9a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:82e66b79-287e-4032-b61b-ed9db08a78a9" + "WESTUS2:20180220T070100Z:27d8490b-3836-4241-bac4-6c3a80da3f9a" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"openIdName6716\",\r\n \"description\": \"description6618\",\r\n \"metadataEndpoint\": \"https://provider9197.endpoint6751\",\r\n \"clientId\": \"clientId751\",\r\n \"clientSecret\": \"clientSecret3875\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"openIdName5846\",\r\n \"description\": \"description3167\",\r\n \"metadataEndpoint\": \"https://provider4592.endpoint9592\",\r\n \"clientId\": \"clientId5442\",\r\n \"clientSecret\": \"clientSecret6099\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "239" + "240" ], "x-ms-client-request-id": [ - "5ee2ca8e-8eed-4ee4-8abd-d3513a2f389d" + "6b852fc3-1744-4dd4-a65a-de69f6dd61b6" ], "accept-language": [ "en-US" @@ -347,10 +347,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId4382\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName6716\",\r\n \"description\": \"description6618\",\r\n \"metadataEndpoint\": \"https://provider9197.endpoint6751\",\r\n \"clientId\": \"clientId751\",\r\n \"clientSecret\": \"clientSecret3875\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId7805\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5846\",\r\n \"description\": \"description3167\",\r\n \"metadataEndpoint\": \"https://provider4592.endpoint9592\",\r\n \"clientId\": \"clientId5442\",\r\n \"clientSecret\": \"clientSecret6099\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "525" + "526" ], "Content-Type": [ "application/json; charset=utf-8" @@ -362,13 +362,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:01 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD34=\"" + "\"AAAAAAAANXs=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -377,28 +377,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fa9697f5-c87c-43b2-b813-33a2f7b3a052" + "f081439a-b14b-4216-a735-313b2e83359b" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "41ea224b-90e9-46c1-bfb9-9256a6e918b8" + "2fb05007-2220-439b-8f27-1590c2c3c9c4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191102Z:41ea224b-90e9-46c1-bfb9-9256a6e918b8" + "WESTUS2:20180220T070059Z:2fb05007-2220-439b-8f27-1590c2c3c9c4" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7c7cafb9-0e0a-4edf-8af9-6a60d5dd4a58" + "166dfc8a-6cba-4f7e-8368-86ce807a8380" ], "accept-language": [ "en-US" @@ -408,7 +408,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId4382\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName6716\",\r\n \"description\": \"description6618\",\r\n \"metadataEndpoint\": \"https://provider9197.endpoint6751\",\r\n \"clientId\": \"clientId751\",\r\n \"clientSecret\": \"clientSecret3875\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId7805\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5846\",\r\n \"description\": \"description3167\",\r\n \"metadataEndpoint\": \"https://provider4592.endpoint9592\",\r\n \"clientId\": \"clientId5442\",\r\n \"clientSecret\": \"clientSecret6099\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -420,7 +420,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:02 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" @@ -429,7 +429,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD34=\"" + "\"AAAAAAAANXs=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -441,28 +441,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f711dfb8-a553-466f-b739-9b74a50b6c94" + "f90f9f1a-75ee-4c74-9c38-e0ed54a21d97" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14997" ], "x-ms-correlation-request-id": [ - "7981ac30-2399-4c0e-81fa-7f4d720f4bee" + "c5c79046-d052-4e0a-9833-eea9eca42634" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191102Z:7981ac30-2399-4c0e-81fa-7f4d720f4bee" + "WESTUS2:20180220T070059Z:c5c79046-d052-4e0a-9833-eea9eca42634" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1dc70336-111f-48ed-b77a-e25a248eb45d" + "80782196-7a0c-452f-bee0-d375772eb9c8" ], "accept-language": [ "en-US" @@ -472,7 +472,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId4382\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName6716\",\r\n \"description\": \"description6618\",\r\n \"metadataEndpoint\": \"https://provider2355.endpoint7041\",\r\n \"clientId\": \"updatedClient2694\",\r\n \"clientSecret\": \"clientSecret3875\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId7805\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5846\",\r\n \"description\": \"description3167\",\r\n \"metadataEndpoint\": \"https://provider8541.endpoint6607\",\r\n \"clientId\": \"updatedClient1418\",\r\n \"clientSecret\": \"clientSecret6099\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -484,7 +484,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -493,7 +493,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD38=\"" + "\"AAAAAAAANXw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -505,28 +505,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6b403941-969d-4645-a835-3bcb3fe41337" + "16119aa8-0805-41cb-b802-fa01d6bc49bd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14991" ], "x-ms-correlation-request-id": [ - "0155d671-4443-4be9-a014-8997fdc41359" + "3b80aced-9e33-45cd-a870-602e8bf488f6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:0155d671-4443-4be9-a014-8997fdc41359" + "WESTUS2:20180220T070101Z:3b80aced-9e33-45cd-a870-602e8bf488f6" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0b3a4152-9473-4673-94f3-4aa05192a942" + "ec1460fb-0e28-4707-9705-7d00f98e10f0" ], "accept-language": [ "en-US" @@ -551,7 +551,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -563,28 +563,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d6198bf9-de41-4715-8ae7-af7f2810d6da" + "5dc96026-c5c5-4b7e-bfe7-fc4f3585ee37" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14990" ], "x-ms-correlation-request-id": [ - "758470d9-ffaa-4143-8b13-dde79d4b19fa" + "092db4d8-c890-4edd-bbed-06f95e7fceb3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191104Z:758470d9-ffaa-4143-8b13-dde79d4b19fa" + "WESTUS2:20180220T070101Z:092db4d8-c890-4edd-bbed-06f95e7fceb3" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a43f3ecd-1734-461d-a11b-9ac27478a973" + "4d6d770e-cfae-404d-880c-ae6f0855588f" ], "accept-language": [ "en-US" @@ -594,7 +594,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5510\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName2000\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider418.endpoint4223\",\r\n \"clientId\": \"clientId2164\",\r\n \"clientSecret\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId4382\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName6716\",\r\n \"description\": \"description6618\",\r\n \"metadataEndpoint\": \"https://provider9197.endpoint6751\",\r\n \"clientId\": \"clientId751\",\r\n \"clientSecret\": \"clientSecret3875\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5328\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5587\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider65.endpoint1957\",\r\n \"clientId\": \"clientId4681\",\r\n \"clientSecret\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId7805\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5846\",\r\n \"description\": \"description3167\",\r\n \"metadataEndpoint\": \"https://provider4592.endpoint9592\",\r\n \"clientId\": \"clientId5442\",\r\n \"clientSecret\": \"clientSecret6099\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -606,7 +606,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:02 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" @@ -624,28 +624,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f33022d2-b8b2-41e7-99ce-8cc382332bc8" + "a356100e-f39e-46fa-8024-4b4498cac6a4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14996" ], "x-ms-correlation-request-id": [ - "71596fda-ca7d-4cad-85b4-4c8554bacd79" + "d8f9c027-4bcb-4076-8881-05d0ccfa2f9d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:71596fda-ca7d-4cad-85b4-4c8554bacd79" + "WESTUS2:20180220T070059Z:d8f9c027-4bcb-4076-8881-05d0ccfa2f9d" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0fdbd387-9de8-4b28-9d80-aa08a3dc9046" + "76fb58ba-cf1d-429e-a600-c99a636f3d3a" ], "accept-language": [ "en-US" @@ -655,7 +655,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5510\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName2000\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider418.endpoint4223\",\r\n \"clientId\": \"clientId2164\",\r\n \"clientSecret\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328\",\r\n \"type\": \"Microsoft.ApiManagement/service/openidConnectProviders\",\r\n \"name\": \"openId5328\",\r\n \"properties\": {\r\n \"displayName\": \"openIdName5587\",\r\n \"description\": null,\r\n \"metadataEndpoint\": \"https://provider65.endpoint1957\",\r\n \"clientId\": \"clientId4681\",\r\n \"clientSecret\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -667,7 +667,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:02 GMT" + "Tue, 20 Feb 2018 07:00:59 GMT" ], "Pragma": [ "no-cache" @@ -685,31 +685,89 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a6e8d83f-2721-4536-a141-43122f321d45" + "b894a3c7-66cd-457b-abd2-944b774fd9cd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14995" ], "x-ms-correlation-request-id": [ - "33716d92-131d-455f-bea1-dbdbf777b77d" + "600b43b5-9617-439b-b8d9-f70c3bf67bbd" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:33716d92-131d-455f-bea1-dbdbf777b77d" + "WESTUS2:20180220T070100Z:600b43b5-9617-439b-b8d9-f70c3bf67bbd" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDU1MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "415f3a6b-71b3-4634-ad44-612818b6c976" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 07:01:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANXo=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a011bca1-0eec-4739-b98f-be1fb4f1e213" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "82984da8-f800-4cc9-85a5-d1d5ec1a5892" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T070100Z:82984da8-f800-4cc9-85a5-d1d5ec1a5892" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "50ec31aa-bbca-42a0-ad49-80f1882cd717" + "7222a71d-9fac-4a29-a846-ad17ca03eabb" ], "If-Match": [ - "\"AAAAAAAAD30=\"" + "\"AAAAAAAANXo=\"" ], "accept-language": [ "en-US" @@ -731,7 +789,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:02 GMT" + "Tue, 20 Feb 2018 07:01:00 GMT" ], "Pragma": [ "no-cache" @@ -743,28 +801,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7367c803-5996-4a83-a559-1aa6a6376031" + "dd2b7abf-f489-49a6-a9b6-4764093ebcba" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "75e0beeb-cb0d-46c2-bc9b-5c89fc6a49d4" + "b2215c11-db0b-43b5-8346-eefe2ed6165c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:75e0beeb-cb0d-46c2-bc9b-5c89fc6a49d4" + "WESTUS2:20180220T070100Z:b2215c11-db0b-43b5-8346-eefe2ed6165c" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5510?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDU1MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId5328?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDUzMjg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "11104c93-c6d6-44fc-9a28-62d46641fffa" + "622e45b9-a89a-4e6a-961e-75c5c6f73988" ], "If-Match": [ "*" @@ -779,9 +837,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -789,7 +844,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -801,25 +856,83 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8c0fdd3e-dc8a-4b57-92c5-1e330d021e80" + "fd7d9ebc-b449-4fc6-8878-bf7a84319dd4" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], "x-ms-correlation-request-id": [ - "137fe1d7-e143-4938-b53d-4c7a319847f0" + "51fcafeb-2118-4c73-8bae-0176523f4e72" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191104Z:137fe1d7-e143-4938-b53d-4c7a319847f0" + "WESTUS2:20180220T070101Z:51fcafeb-2118-4c73-8bae-0176523f4e72" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "99392705-e1b9-4e9c-bdad-5d1ec0fc2e8e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 07:01:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANXs=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "803eccd5-5c72-4fed-a034-e05253f524e8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "a1a8edee-73b2-416b-b7e1-274dad39f0e3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T070100Z:a1a8edee-73b2-416b-b7e1-274dad39f0e3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"metadataEndpoint\": \"https://provider2355.endpoint7041\",\r\n \"clientId\": \"updatedClient2694\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"metadataEndpoint\": \"https://provider8541.endpoint6607\",\r\n \"clientId\": \"updatedClient1418\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -828,10 +941,10 @@ "127" ], "x-ms-client-request-id": [ - "bda7ac22-3e0b-4354-a3aa-e6b896f6b4c8" + "d7e15c29-38b8-45cf-a527-87f1c06a23ce" ], "If-Match": [ - "*" + "\"AAAAAAAANXs=\"" ], "accept-language": [ "en-US" @@ -843,9 +956,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -853,7 +963,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -865,31 +975,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "71132ed3-a9e5-4b45-9744-ddfa633d6687" + "0ddcc5fd-c832-4f80-acc2-1491e395a72d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "2135431b-265f-43b9-bfee-e469384326dc" + "eb3f508b-2d92-471e-ab8f-18f03c3d6f9b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191103Z:2135431b-265f-43b9-bfee-e469384326dc" + "WESTUS2:20180220T070101Z:eb3f508b-2d92-471e-ab8f-18f03c3d6f9b" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a521d4a5-938c-4883-b25d-3b52c9b44d8f" + "122120dd-5813-4620-a04f-8cff7dadcab8" ], "If-Match": [ - "\"AAAAAAAAD38=\"" + "\"AAAAAAAANXw=\"" ], "accept-language": [ "en-US" @@ -911,7 +1021,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -923,28 +1033,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ff97acaf-9dc5-4fb1-a784-dd2b762ec0c4" + "69c81979-dcd3-4804-ba23-5009b85d5fe9" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "090c2600-e921-4a4d-af58-5136a0e5d639" + "6c2f35f3-638b-4c46-b1a6-2cfd62678659" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191104Z:090c2600-e921-4a4d-af58-5136a0e5d639" + "WESTUS2:20180220T070101Z:6c2f35f3-638b-4c46-b1a6-2cfd62678659" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId4382?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDQzODI/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/openidConnectProviders/openId7805?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9vcGVuaWRDb25uZWN0UHJvdmlkZXJzL29wZW5JZDc4MDU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9d97dd89-4ce3-49ef-9d1f-d09d209c3316" + "47a79f36-2e8a-4a68-a06a-0487f86a3049" ], "If-Match": [ "*" @@ -959,9 +1069,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -969,7 +1076,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:03 GMT" + "Tue, 20 Feb 2018 07:01:01 GMT" ], "Pragma": [ "no-cache" @@ -981,16 +1088,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5c6e2309-98fc-47ea-b670-0fe0c25b85f8" + "65021d5d-05f9-478c-9389-77c3d1337e6f" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], "x-ms-correlation-request-id": [ - "57f1e859-2d8a-40eb-8a7e-2fa7def5968c" + "61a4ce22-9c17-4a24-839b-4be3c3813794" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191104Z:57f1e859-2d8a-40eb-8a7e-2fa7def5968c" + "WESTUS2:20180220T070102Z:61a4ce22-9c17-4a24-839b-4be3c3813794" ] }, "StatusCode": 204 @@ -998,30 +1105,29 @@ ], "Names": { "CreateListUpdateDelete": [ - "openId5510", - "openId4382", - "openIdName2000", - "clientId2164", - "openIdName6716", - "clientId751", - "clientSecret3875", - "description6618", - "updatedClient2694" + "openId5328", + "openId7805", + "openIdName5587", + "clientId4681", + "openIdName5846", + "clientId5442", + "clientSecret6099", + "description3167", + "updatedClient1418" ], "GetHttpsUrl": [ - "provider418", - "endpoint4223", - "provider9197", - "endpoint6751", - "provider2355", - "endpoint7041" + "provider65", + "endpoint1957", + "provider4592", + "endpoint9592", + "provider8541", + "endpoint6607" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyTests/CreateListUpdateDelete.json index aedbd88f8367..052eb5f5f9a9 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,17 +13,17 @@ "289" ], "x-ms-client-request-id": [ - "1a577dd2-f1e6-4c5b-83ae-f4e459070856" + "adc0894b-20da-4293-a60d-6e262b10be5e" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:49 GMT" + "Tue, 06 Mar 2018 18:51:25 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,39 +56,42 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "952a8a5f-8df3-4955-8fcb-86342d603c78", - "bc45ba00-bd14-47c0-8ce2-c78bf6072a5a" + "e014a232-0963-413a-b8b6-16c956fe52b6", + "3b212492-67e5-4ae7-b58b-2bbc08e45493" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "9900910f-8384-4832-9120-9f5b12ede916" + "55715192-794c-4e9f-a775-9525f5bd129e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190949Z:9900910f-8384-4832-9120-9f5b12ede916" + "WESTUS2:20180306T185126Z:55715192-794c-4e9f-a775-9525f5bd129e" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "654aa0d0-bdba-4e1b-8564-6b8e7da9a4da" + "2fb7a1ac-c8c9-4390-9af7-fda02c91bc0e" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +103,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:49 GMT" + "Tue, 06 Mar 2018 18:51:25 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +112,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,35 +124,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fd31f271-e0f1-4654-bf22-7d8c470b8e97" + "247bbfc3-6818-4fa0-adc9-7692bdf682df" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14999" ], "x-ms-correlation-request-id": [ - "632bc8c5-e11f-4ad0-9a3f-c9362113333a" + "f06f0c39-e410-4c22-9ad7-a34ae569cf64" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190949Z:632bc8c5-e11f-4ad0-9a3f-c9362113333a" + "WESTUS2:20180306T185126Z:f06f0c39-e410-4c22-9ad7-a34ae569cf64" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e558e33d-e23e-4985-a57b-bcb22aa369d6" + "6552d099-b755-45f7-a27f-119107de9166" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -164,7 +170,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:51 GMT" + "Tue, 06 Mar 2018 18:51:25 GMT" ], "Pragma": [ "no-cache" @@ -173,7 +179,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAADpE=\"" + "\"AAAAAAAAM9Y=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -185,35 +191,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "acb103ca-88a2-4e38-897b-15aa36d2a007" + "cca9ae5d-4dc3-4562-ba33-cef19990c09b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14998" ], "x-ms-correlation-request-id": [ - "61c43c19-1505-4b7c-a364-b6dccb8bd5f4" + "1b7b9f0c-759f-4923-bf41-51696a273a83" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190951Z:61c43c19-1505-4b7c-a364-b6dccb8bd5f4" + "WESTUS2:20180306T185126Z:1b7b9f0c-759f-4923-bf41-51696a273a83" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5ebffac0-ecb8-4f5a-9265-cfacd82e72a6" + "0fa03a28-cd42-4760-93b6-afa512049321" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -228,7 +237,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:54 GMT" + "Tue, 06 Mar 2018 18:51:26 GMT" ], "Pragma": [ "no-cache" @@ -237,7 +246,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAADpE=\"" + "\"AAAAAAAAM9Y=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -249,35 +258,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "15b6f585-ac10-4630-a767-88bead8b5f28" + "46e06b23-63b4-4286-820e-a09ec8034f5a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14997" ], "x-ms-correlation-request-id": [ - "ac8253af-3f8b-4a31-b8b2-2777a19c4553" + "4d7be0a2-44e3-4735-ac78-a29f8a2948da" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190954Z:ac8253af-3f8b-4a31-b8b2-2777a19c4553" + "WESTUS2:20180306T185127Z:4d7be0a2-44e3-4735-ac78-a29f8a2948da" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "52cad490-20a0-482e-8cb0-5a249bcd9dee" + "bc0ae538-8b95-405b-8b61-42d9d4c70cf9" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -295,7 +307,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:55 GMT" + "Tue, 06 Mar 2018 18:51:27 GMT" ], "Pragma": [ "no-cache" @@ -307,23 +319,26 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a541b667-d75e-47e2-a67b-976f4610fc8f" + "7864e8bb-dee0-47a4-b0d7-fdc81f98909c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14995" ], "x-ms-correlation-request-id": [ - "3767df49-1d95-440b-bf52-86ea20357127" + "041414fc-ba81-4c18-a203-17afe08691f1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190955Z:3767df49-1d95-440b-bf52-86ea20357127" + "WESTUS2:20180306T185128Z:041414fc-ba81-4c18-a203-17afe08691f1" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", "RequestHeaders": { @@ -334,14 +349,14 @@ "1064" ], "x-ms-client-request-id": [ - "9f5f3e86-79e3-487c-b654-59ad6869b2e9" + "f364d95a-a1ba-47f3-a659-bcdb951d3f3d" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -356,7 +371,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:54 GMT" + "Tue, 06 Mar 2018 18:51:26 GMT" ], "Pragma": [ "no-cache" @@ -365,7 +380,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAADpE=\"" + "\"AAAAAAAAM9Y=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -377,23 +392,26 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "49dfdf9d-cb56-4c11-bccd-c492b9b6abcd" + "1dbc3f89-e2d6-44ba-8610-9d4dfbaa5bad" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "0827c49d-9367-4ce1-b024-aa779043fb7e" + "fe32b7f8-8704-4030-b8ba-e2636887ea44" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190954Z:0827c49d-9367-4ce1-b024-aa779043fb7e" + "WESTUS2:20180306T185127Z:fe32b7f8-8704-4030-b8ba-e2636887ea44" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", "RequestHeaders": { @@ -404,14 +422,14 @@ "1064" ], "x-ms-client-request-id": [ - "8d4e0938-9b75-4c8f-9382-a186a9fc99ce" + "5d8795e6-ad4d-4291-852b-49864b97a71e" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -429,13 +447,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:55 GMT" + "Tue, 06 Mar 2018 18:51:27 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD1M=\"" + "\"AAAAAAAAN00=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -444,38 +462,102 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f0ecbd52-4822-4808-b08a-398011539784" + "8a266710-08e4-49cd-aefd-59b811269db1" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "996911b1-3a32-42d9-9390-f4e996c79ae7" + "301481f8-eaa6-48d5-a94f-aab354fbdc3e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190956Z:996911b1-3a32-42d9-9390-f4e996c79ae7" + "WESTUS2:20180306T185128Z:301481f8-eaa6-48d5-a94f-aab354fbdc3e" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6c2e6062-69e1-4ba0-b777-95790d569fe8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:51:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAM9Y=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6e6a93ac-dd4d-4a68-b1bb-70d7e8fdecc5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "6e0229f6-c69f-43bd-813a-5ee0cfffd4e3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T185127Z:6e0229f6-c69f-43bd-813a-5ee0cfffd4e3" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "15d95406-d815-4481-aa42-05d0f605fc75" + "6aa522be-b8d1-474a-a737-050c0dbbe952" ], "If-Match": [ - "\"AAAAAAAADpE=\"" + "\"AAAAAAAAM9Y=\"" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -490,7 +572,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:54 GMT" + "Tue, 06 Mar 2018 18:51:27 GMT" ], "Pragma": [ "no-cache" @@ -502,35 +584,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b4d5e45b-1f2a-49e5-a22e-3e59fc72f3db" + "70688773-4179-415b-a7f2-f029ef898047" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "d298e1ea-903c-4719-ab29-9d5b19eddf67" + "19fee829-987e-4813-8971-2abf72f0d17b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190955Z:d298e1ea-903c-4719-ab29-9d5b19eddf67" + "WESTUS2:20180306T185127Z:19fee829-987e-4813-8971-2abf72f0d17b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e8df15f0-64c6-495b-ad8f-67dd58c0357b" + "4140ad95-4cf7-45a4-b5da-d914ad45fe92" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", @@ -545,7 +630,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:55 GMT" + "Tue, 06 Mar 2018 18:51:27 GMT" ], "Pragma": [ "no-cache" @@ -563,35 +648,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e12ae5da-3dd2-4b21-b59a-487f434dba6a" + "676ac9b0-553d-441e-9809-9ce1933a5885" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14994" ], "x-ms-correlation-request-id": [ - "ca791a58-5b85-4d72-ada3-9b42df4b8ddf" + "7a8476e1-f3bb-4f8e-97dc-ca6a21d8d4e0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190956Z:ca791a58-5b85-4d72-ada3-9b42df4b8ddf" + "WESTUS2:20180306T185128Z:7a8476e1-f3bb-4f8e-97dc-ca6a21d8d4e0" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/%2Fsubscriptions%2Fbab08e11-7b12-4354-9fd1-4b5d64d40b68%2FresourceGroups%2FApi-Default-CentralUS%2Fproviders%2FMicrosoft.ApiManagement%2Fservice%2Fsdktestservice%2Fapis%2Fecho-api/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzLyUyRnN1YnNjcmlwdGlvbnMlMkZiYWIwOGUxMS03YjEyLTQzNTQtOWZkMS00YjVkNjRkNDBiNjglMkZyZXNvdXJjZUdyb3VwcyUyRkFwaS1EZWZhdWx0LUNlbnRyYWxVUyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5BcGlNYW5hZ2VtZW50JTJGc2VydmljZSUyRnNka3Rlc3RzZXJ2aWNlJTJGYXBpcyUyRmVjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/%2Fsubscriptions%2Fbab08e11-7b12-4354-9fd1-4b5d64d40b68%2FresourceGroups%2FApi-Default-CentralUS%2Fproviders%2FMicrosoft.ApiManagement%2Fservice%2Fsdktestservice%2Fapis%2Fecho-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzLyUyRnN1YnNjcmlwdGlvbnMlMkZiYWIwOGUxMS03YjEyLTQzNTQtOWZkMS00YjVkNjRkNDBiNjglMkZyZXNvdXJjZUdyb3VwcyUyRkFwaS1EZWZhdWx0LUNlbnRyYWxVUyUyRnByb3ZpZGVycyUyRk1pY3Jvc29mdC5BcGlNYW5hZ2VtZW50JTJGc2VydmljZSUyRnNka3Rlc3RzZXJ2aWNlJTJGYXBpcyUyRmVjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7c54c345-95f2-475f-b400-dbd7f349e0ae" + "e78343b6-f465-4e1b-b1b6-2f4bec301d94" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -606,7 +694,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:55 GMT" + "Tue, 06 Mar 2018 18:51:27 GMT" ], "Pragma": [ "no-cache" @@ -618,23 +706,26 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3122fdcd-2306-4744-9ed2-52980a8bc455" + "68a4238a-bab1-4228-b353-d2704e174e76" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14993" ], "x-ms-correlation-request-id": [ - "b09238fa-1b41-4e21-83f5-51ca6b6edeee" + "1cf75323-bb70-476e-8c68-0d165df48308" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190956Z:b09238fa-1b41-4e21-83f5-51ca6b6edeee" + "WESTUS2:20180306T185128Z:1cf75323-bb70-476e-8c68-0d165df48308" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n true\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", "RequestHeaders": { @@ -645,7 +736,7 @@ "336" ], "x-ms-client-request-id": [ - "4310d2c5-0fe5-44b4-8f29-688a5f36fb6e" + "f3c35d90-d18c-49de-abcb-8f983410e499" ], "If-Match": [ "*" @@ -655,7 +746,7 @@ ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n true\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -673,13 +764,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:56 GMT" + "Tue, 06 Mar 2018 18:51:28 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD1s=\"" + "\"AAAAAAAAN04=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -688,35 +779,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "86a6cbbe-acb5-4108-83ad-7c2514da9d92" + "7d4804f5-8737-441b-8743-1fab1c0810d7" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "7d92d7c2-d7a6-4e38-87ac-6b04c58c301b" + "806d5565-82d6-46a2-88bf-51c621fad39c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190957Z:7d92d7c2-d7a6-4e38-87ac-6b04c58c301b" + "WESTUS2:20180306T185129Z:806d5565-82d6-46a2-88bf-51c621fad39c" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "59c7d7e2-d524-4443-86ba-fadc1305a25a" + "66a4cd4a-e994-4384-b103-bc1da3771603" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n true\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -731,7 +825,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:57 GMT" + "Tue, 06 Mar 2018 18:51:28 GMT" ], "Pragma": [ "no-cache" @@ -740,7 +834,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD1s=\"" + "\"AAAAAAAAN04=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -752,35 +846,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c374ea0c-566c-4d9f-bc41-31e1a6d37ead" + "86805798-1d85-46a4-ab70-c63a5fde6b53" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14992" ], "x-ms-correlation-request-id": [ - "cab39336-3a94-4830-a5b4-fbca94ae9f5a" + "32cdc105-2318-48c1-b61d-47fe2f72ffad" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190957Z:cab39336-3a94-4830-a5b4-fbca94ae9f5a" + "WESTUS2:20180306T185129Z:32cdc105-2318-48c1-b61d-47fe2f72ffad" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "be3df518-654e-4ecd-ad7e-4f6392d72b23" + "2b0df7ba-1a15-4bd4-acac-40e1a42d325a" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -798,7 +895,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:57 GMT" + "Tue, 06 Mar 2018 18:51:28 GMT" ], "Pragma": [ "no-cache" @@ -810,38 +907,102 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6832a154-53f1-4dd6-ae51-e89888f8ecdc" + "06de700e-ceab-4740-9bb5-646e595c127a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14990" ], "x-ms-correlation-request-id": [ - "003ae4fa-c505-4386-8423-c03ec5420ec0" + "00964571-5c7d-4a1e-a4ac-5e21b02dd077" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190958Z:003ae4fa-c505-4386-8423-c03ec5420ec0" + "WESTUS2:20180306T185129Z:00964571-5c7d-4a1e-a4ac-5e21b02dd077" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d79c1324-b5f6-4c17-a273-40a44bc485d1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:51:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN04=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4e79130d-a433-4ace-b225-e127980323dd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "8ff7ba4f-9854-46ee-8fa9-14247889336c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T185129Z:8ff7ba4f-9854-46ee-8fa9-14247889336c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "32260e18-db53-47f6-a4ef-d8cdf472392e" + "200d8712-a674-431c-a0fc-c75cde5c5b63" ], "If-Match": [ - "\"AAAAAAAAD1s=\"" + "\"AAAAAAAAN04=\"" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -856,7 +1017,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:57 GMT" + "Tue, 06 Mar 2018 18:51:28 GMT" ], "Pragma": [ "no-cache" @@ -868,38 +1029,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d8673bf6-a0c5-428c-aeb3-bed1f5f09150" + "12192d10-ec73-4bdb-8cb1-e3243cac8c1d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "6fd2e662-c8fa-4876-a18e-838bc0ff5094" + "d7c450e5-b2bd-4beb-b00c-825e7589588b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190958Z:6fd2e662-c8fa-4876-a18e-838bc0ff5094" + "WESTUS2:20180306T185129Z:d7c450e5-b2bd-4beb-b00c-825e7589588b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "615e6ae6-e702-4593-919d-750b8726e710" + "730b1d62-2658-454c-99b4-9adc327ba66e" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"modify-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Modify Resource\",\r\n \"method\": \"PUT\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a PUT call handled by the same \\\"echo\\\" backend as above. You can now specify a request body in addition to headers and it will be returned as well.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/remove-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"remove-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Remove resource\",\r\n \"method\": \"DELETE\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a DELETE call which traditionally deletes the resource. It is based on the same \\\"echo\\\" backend as in all other operations so nothing is actually deleted.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-header-only\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-header-only\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve header only\",\r\n \"method\": \"HEAD\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"The HEAD operation returns only headers. In this demonstration a policy is used to set additional headers when the response is returned and to enable JSONP.\",\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call on a sample resource. It is handled by an \\\"echo\\\" backend which returns a response equal to the request (the supplied headers and body are being returned as received).\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"number\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": \"Returned in all cases.\",\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"retrieve-resource-cached\",\r\n \"properties\": {\r\n \"displayName\": \"Retrieve resource (cached)\",\r\n \"method\": \"GET\",\r\n \"urlTemplate\": \"/resource-cached\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a GET call with caching enabled on the same \\\"echo\\\" backend as above. Cache TTL is set to 1 hour. When you make the first request the headers you supplied will be cached. Subsequent calls will return the same headers as the first time even if you change them in your request.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [\r\n {\r\n \"name\": \"param1\",\r\n \"description\": \"A sample parameter that is required and has a default value of \\\"sample\\\".\",\r\n \"type\": \"string\",\r\n \"defaultValue\": \"sample\",\r\n \"required\": true,\r\n \"values\": [\r\n \"sample\"\r\n ]\r\n },\r\n {\r\n \"name\": \"param2\",\r\n \"description\": \"Another sample parameter, set to not required.\",\r\n \"type\": \"string\",\r\n \"defaultValue\": null,\r\n \"required\": false,\r\n \"values\": []\r\n }\r\n ],\r\n \"headers\": [],\r\n \"representations\": []\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -911,7 +1075,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:58 GMT" + "Tue, 06 Mar 2018 18:51:30 GMT" ], "Pragma": [ "no-cache" @@ -929,35 +1093,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "38b8d126-6219-4c6b-bcc8-a0b1ab3aeaa7" + "e6c77abb-5997-4027-860c-eecadb039713" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14989" ], "x-ms-correlation-request-id": [ - "192e7175-e23b-4c32-9590-e816b590e860" + "4af8aebb-09db-483c-a670-c46705fd8329" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190958Z:192e7175-e23b-4c32-9590-e816b590e860" + "WESTUS2:20180306T185130Z:4af8aebb-09db-483c-a670-c46705fd8329" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2f78ab24-2fe1-4a8e-b9f9-b88c3655b3e0" + "b4bcd434-2b91-480d-87d9-74adfec38cca" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -975,7 +1142,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:58 GMT" + "Tue, 06 Mar 2018 18:51:30 GMT" ], "Pragma": [ "no-cache" @@ -987,35 +1154,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "88a7e925-06e5-4175-9b9e-e8dd5f2032ff" + "d0a94275-1c27-4d2a-b8b3-59cf1e4bf389" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14988" ], "x-ms-correlation-request-id": [ - "e755e1fe-35bd-487e-9927-4fc00bf6ddff" + "001d4fe3-3e88-4628-83e8-eae1864bff3b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190959Z:e755e1fe-35bd-487e-9927-4fc00bf6ddff" + "WESTUS2:20180306T185130Z:001d4fe3-3e88-4628-83e8-eae1864bff3b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ef28cb4b-afa7-4072-99c1-e30e7235ed6d" + "67973376-b1dd-4374-89ef-814da9557ee2" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -1030,7 +1200,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:59 GMT" + "Tue, 06 Mar 2018 18:51:32 GMT" ], "Pragma": [ "no-cache" @@ -1039,7 +1209,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD14=\"" + "\"AAAAAAAAN1E=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1051,35 +1221,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "752f355d-fee7-4a23-b83c-76745f9dec5c" + "902d7230-7b88-4098-9361-f1b45859719e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14987" ], "x-ms-correlation-request-id": [ - "3f4276a9-c45b-48a7-b2f0-247c61516b39" + "67fe7d7f-5157-46d5-b62f-04bcc80be21d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191000Z:3f4276a9-c45b-48a7-b2f0-247c61516b39" + "WESTUS2:20180306T185132Z:67fe7d7f-5157-46d5-b62f-04bcc80be21d" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "218964ca-7d0a-43d8-8a61-cb0766707856" + "a5e5d6dd-4e4d-4927-a05d-8545d2776fe4" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -1097,7 +1270,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:00 GMT" + "Tue, 06 Mar 2018 18:51:33 GMT" ], "Pragma": [ "no-cache" @@ -1109,23 +1282,26 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1fa9068d-0ca3-419a-884f-529c52d0b6a8" + "8870a1f3-ee34-4930-94d3-d9f2774f0f12" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14985" ], "x-ms-correlation-request-id": [ - "e0c93279-1679-41c0-a7dd-ea10273a40bc" + "f0bcc630-0b66-4e85-acb7-79b9db9d90ec" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191000Z:e0c93279-1679-41c0-a7dd-ea10273a40bc" + "WESTUS2:20180306T185133Z:f0bcc630-0b66-4e85-acb7-79b9db9d90ec" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", "RequestHeaders": { @@ -1136,7 +1312,7 @@ "267" ], "x-ms-client-request-id": [ - "6597f734-668d-4e75-8daf-7a3838e93374" + "1a43188f-e62c-4282-9c0f-b6c4078f7c9b" ], "If-Match": [ "*" @@ -1146,7 +1322,7 @@ ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -1164,13 +1340,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:59 GMT" + "Tue, 06 Mar 2018 18:51:31 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD14=\"" + "\"AAAAAAAAN1E=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1179,38 +1355,102 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2b5d7bb9-185c-4ba4-a177-68ff1b9b3ce1" + "3eaa2fe3-f131-43c1-9899-3626a5542382" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], "x-ms-correlation-request-id": [ - "f16235be-93d6-4959-a0d9-4cd6fc1cfbcf" + "6a127d9c-23a5-4d47-86ba-6ed0f023c4f2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T190959Z:f16235be-93d6-4959-a0d9-4cd6fc1cfbcf" + "WESTUS2:20180306T185131Z:6a127d9c-23a5-4d47-86ba-6ed0f023c4f2" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44ca66b7-a4ac-4856-a541-da3d4c2c0f00" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:51:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN1E=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "17217d1c-9f9b-4dcc-9554-97a30cd18710" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" + ], + "x-ms-correlation-request-id": [ + "a82eb1e1-dd70-4654-a629-e3cf779f4ce3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T185132Z:a82eb1e1-dd70-4654-a629-e3cf779f4ce3" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/modify-resource/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvbW9kaWZ5LXJlc291cmNlL3BvbGljaWVzL3BvbGljeT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7d52cf36-f6b3-4ecc-a7fc-9b03d91fa13b" + "a1f9dbe2-7270-45cc-bcc6-d286e82c1147" ], "If-Match": [ - "\"AAAAAAAAD14=\"" + "\"AAAAAAAAN1E=\"" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -1225,7 +1465,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:09:59 GMT" + "Tue, 06 Mar 2018 18:51:32 GMT" ], "Pragma": [ "no-cache" @@ -1237,35 +1477,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "db313ec3-2075-4743-83a5-598f64069f0f" + "2d59dff3-0002-4ee2-b32d-0b57ce463251" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], "x-ms-correlation-request-id": [ - "683e0065-8fda-4dd3-b6d4-b5ddf3b299d0" + "645bec39-66a1-4d35-ba6a-6ab5ce009d2c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191000Z:683e0065-8fda-4dd3-b6d4-b5ddf3b299d0" + "WESTUS2:20180306T185132Z:645bec39-66a1-4d35-ba6a-6ab5ce009d2c" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Unlimited'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdVbmxpbWl0ZWQnJmFwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Unlimited'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdVbmxpbWl0ZWQnJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2bd7936e-5001-491e-80b2-dc09693cc0bd" + "c2c070b9-85ee-4ece-8432-bdd0c5f04fc9" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", @@ -1280,7 +1523,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:01 GMT" + "Tue, 06 Mar 2018 18:51:33 GMT" ], "Pragma": [ "no-cache" @@ -1298,35 +1541,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f27b402a-318a-42e5-bc97-66159afb2c3a" + "67fa4abd-ce60-44da-b0e3-1f4f541785e7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "14984" ], "x-ms-correlation-request-id": [ - "4627d4fb-8fce-4df4-8a9d-2470dccf55f5" + "fa02feaa-7d2c-4f24-8e37-2e9b76f479a6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191001Z:4627d4fb-8fce-4df4-8a9d-2470dccf55f5" + "WESTUS2:20180306T185133Z:fa02feaa-7d2c-4f24-8e37-2e9b76f479a6" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "34f92fc7-a4cf-43d5-912e-38e1fc3fd3fa" + "55e12507-5c4a-49cb-ab41-9d6f8012020a" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -1344,7 +1590,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:01 GMT" + "Tue, 06 Mar 2018 18:51:33 GMT" ], "Pragma": [ "no-cache" @@ -1356,35 +1602,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "23a6f486-2958-4c8c-b63f-ffdcaa1ff126" + "2c0d666a-73bf-428c-8817-a0e20aa88345" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "14983" ], "x-ms-correlation-request-id": [ - "a4132bd0-2249-49ba-aba4-a0c9dccac519" + "dd620154-621f-449e-a919-c8bb2f56d343" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191001Z:a4132bd0-2249-49ba-aba4-a0c9dccac519" + "WESTUS2:20180306T185133Z:dd620154-621f-449e-a919-c8bb2f56d343" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fbeb641f-cd5d-49bd-908d-2d899b17d5d1" + "5b89ed86-d15d-444b-a660-000712e2b97a" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -1399,7 +1648,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:02 GMT" + "Tue, 06 Mar 2018 18:51:34 GMT" ], "Pragma": [ "no-cache" @@ -1408,7 +1657,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD2E=\"" + "\"AAAAAAAAN1Q=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1420,35 +1669,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e0133f46-0d6f-4a3a-809c-d295c60152b4" + "0b3b92a2-2113-4248-8241-bbe64472fdb9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "14982" ], "x-ms-correlation-request-id": [ - "a008f643-303a-48f1-9271-fb53505f18eb" + "25894245-844b-4f18-8b0a-14def0d3f7ad" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191003Z:a008f643-303a-48f1-9271-fb53505f18eb" + "WESTUS2:20180306T185134Z:25894245-844b-4f18-8b0a-14def0d3f7ad" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a63b9221-b6a2-412c-ad40-1038f38f7f5d" + "b90fe765-2724-4369-b42b-92669fca8275" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -1466,7 +1718,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:03 GMT" + "Tue, 06 Mar 2018 18:51:35 GMT" ], "Pragma": [ "no-cache" @@ -1478,23 +1730,26 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f20288ce-31a4-4ac1-b5fa-6c2360b5ae63" + "0d6107c3-5196-49d7-8b41-ef766b81f095" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "14980" ], "x-ms-correlation-request-id": [ - "e25d59d7-8414-4c00-bedb-4cabc09028a8" + "92657243-b2fa-4ec5-a352-d7b8b53343e7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191003Z:e25d59d7-8414-4c00-bedb-4cabc09028a8" + "WESTUS2:20180306T185135Z:92657243-b2fa-4ec5-a352-d7b8b53343e7" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", "RequestHeaders": { @@ -1505,14 +1760,14 @@ "334" ], "x-ms-client-request-id": [ - "aaa10edd-38bc-4c93-86e2-571febf6eed7" + "db5979ea-c749-41a0-8929-94492fc9dafa" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", @@ -1530,13 +1785,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:02 GMT" + "Tue, 06 Mar 2018 18:51:34 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD2E=\"" + "\"AAAAAAAAN1Q=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -1545,38 +1800,102 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fc42c0fe-84ae-45fd-aba1-6d5be202e7a6" + "5bb82845-5b36-45d0-9b84-41608ebbaac3" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], "x-ms-correlation-request-id": [ - "5c7cf9ae-c746-478f-9b1b-feecf4116220" + "78cea464-8b06-409a-b175-a37582ce5b50" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191002Z:5c7cf9ae-c746-478f-9b1b-feecf4116220" + "WESTUS2:20180306T185134Z:78cea464-8b06-409a-b175-a37582ce5b50" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "67afc55f-c7cb-488f-a7d8-c6d22b103337" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:51:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN1Q=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a72575cb-fbbe-4333-9315-1f034020471c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14981" + ], + "x-ms-correlation-request-id": [ + "2d4257ca-d430-4050-80b9-000c73d53b4a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T185134Z:2d4257ca-d430-4050-80b9-000c73d53b4a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "03bf916a-33df-4fc3-a1a1-1f4d684ec32f" + "229654fe-633d-4a94-af6c-22c107680b6e" ], "If-Match": [ - "\"AAAAAAAAD2E=\"" + "\"AAAAAAAAN1Q=\"" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -1591,7 +1910,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:10:03 GMT" + "Tue, 06 Mar 2018 18:51:35 GMT" ], "Pragma": [ "no-cache" @@ -1603,27 +1922,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "73dd8bb0-8040-4364-9572-8da665cbcb87" + "64419166-7ee0-4eac-8275-1ecae96ec7a4" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], "x-ms-correlation-request-id": [ - "0812a7ed-ee76-4d59-875e-806e3e6c3e28" + "0382adfe-d408-441c-b49c-53c6f14e9288" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191003Z:0812a7ed-ee76-4d59-875e-806e3e6c3e28" + "WESTUS2:20180306T185135Z:0382adfe-d408-441c-b49c-53c6f14e9288" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 } ], "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyUriTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyUriTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..e3bfdb991cff --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PolicyUriTests/CreateListUpdateDelete.json @@ -0,0 +1,1058 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "d6bcaac3-b3e4-4f19-b4b2-471663d0c674" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "69af3eec-63ae-4907-b7ab-0b29630f777b", + "897ac3dc-bec0-4565-85f4-6ccc6b69dd04" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "58aaf275-1152-4db9-87e5-1241dd34ae67" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181030Z:58aaf275-1152-4db9-87e5-1241dd34ae67" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2a1ce726-09e6-4cb7-89e8-ae14ea5178bb" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "638e0a8c-de83-4bd9-b07d-b3aeae483a16" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "dad34bca-f723-4fee-8e6b-9a8848c57f90" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181030Z:dad34bca-f723-4fee-8e6b-9a8848c57f90" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb2xpY2llcy9wb2xpY3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da88d7fa-2ddb-4578-94fb-611089c23a5a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAM9Y=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8058e119-df82-464c-aae7-67861f8e79d7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "27a6a370-a3c7-43d6-a45b-9c38c2b42ce2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181030Z:27a6a370-a3c7-43d6-a45b-9c38c2b42ce2" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"description4249\",\r\n \"displayName\": \"display1000\",\r\n \"serviceUrl\": \"https://echoapi.cloudapp.net/echo\",\r\n \"path\": \"path6246\",\r\n \"protocols\": [\r\n \"https\",\r\n \"http\"\r\n ]\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "240" + ], + "x-ms-client-request-id": [ + "1309630c-6abc-4a0f-af62-e441a294d812" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"policyapi9225\",\r\n \"properties\": {\r\n \"displayName\": \"display1000\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"description4249\",\r\n \"serviceUrl\": \"https://echoapi.cloudapp.net/echo\",\r\n \"path\": \"path6246\",\r\n \"protocols\": [\r\n \"http\",\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": {\r\n \"oAuth2\": null,\r\n \"openid\": null\r\n },\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"Ocp-Apim-Subscription-Key\",\r\n \"query\": \"subscription-key\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "760" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN0U=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "66ac3ad9-3815-4942-9e41-96af32b34e01" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "372d77de-117e-4b8f-afe5-02e465de82f1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181031Z:372d77de-117e-4b8f-afe5-02e465de82f1" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjUvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"https://raw.githubusercontent.com/Azure/api-management-samples/master/sdkClientResources/ApiPolicy.xml\",\r\n \"contentFormat\": \"xml-link\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "189" + ], + "x-ms-client-request-id": [ + "9bac1807-4332-440d-99de-2265af68fa28" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "790" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN0c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1e618e87-2be2-4cfb-9506-6d98f0201b96" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "afcd0963-5ab8-47d5-9361-4878c31e81d5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181032Z:afcd0963-5ab8-47d5-9361-4878c31e81d5" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjUvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "90dacfef-0550-46fd-bdba-9c25a0d3aa22" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN0c=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "369ee332-5ab4-4f27-8dff-4f04a51d6a12" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "6b78c371-732d-4e5a-886b-ea92fe7476d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181032Z:6b78c371-732d-4e5a-886b-ea92fe7476d8" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjUvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "aef28d5c-bbb8-4034-9b61-39ab6e09f096" + ], + "If-Match": [ + "\"AAAAAAAAN0c=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "651bdba8-768f-409b-b3e5-ef70f58b5ffc" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "4135cad0-467f-451b-b963-c0b9302a25fd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181032Z:4135cad0-467f-451b-b963-c0b9302a25fd" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjUvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "885bf0aa-0a02-4c30-bf65-687b94b2100a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "84bd627b-6408-46eb-b9c6-cf75d0f1af7e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "0b7677ff-4a48-4617-b133-16baa9d5cb72" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181032Z:0b7677ff-4a48-4617-b133-16baa9d5cb72" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/policyapi9225?deleteRevisions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL3BvbGljeWFwaTkyMjU/ZGVsZXRlUmV2aXNpb25zPXRydWUmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4c93fc54-6c3f-46a7-adf1-88670d9ca42c" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e52b5a1f-a2cb-475a-9818-f055020e9971" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "864ce88c-4b8b-4e74-8394-83be2a40f2a3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181033Z:864ce88c-4b8b-4e74-8394-83be2a40f2a3" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Unlimited'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdVbmxpbWl0ZWQnJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "92e763c8-c1db-4a76-b5ad-7c54f61d460b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6988f947-91f2-43e1-898d-f91cf2e586f9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "12620d2d-e7ff-4e6d-b918-fa17bc1b828d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181033Z:12620d2d-e7ff-4e6d-b918-fa17bc1b828d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ac0468bd-d753-4681-bd3f-adbc0f526c44" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "99444ff1-ea85-4b26-95c5-c0ef5558eb17" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "c28bf2b6-3785-4ad9-8feb-638481eee583" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181033Z:c28bf2b6-3785-4ad9-8feb-638481eee583" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6c6ea2fb-de06-4b09-9b0c-5d5144957265" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAN0o=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2acc6fca-d36b-41b3-b86b-bb2bdfba0fe5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "ff56a634-2397-4b71-aaf3-2dc0f59f73ce" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181034Z:ff56a634-2397-4b71-aaf3-2dc0f59f73ce" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9980a951-c71b-4c0b-906b-341a5a5113b6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"PoliciesConfiguration not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "97" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "40dac5b5-0170-4bd1-8c82-131554c68655" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "dd34514d-2128-477c-94ed-6ef35fadef9d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181035Z:dd34514d-2128-477c-94ed-6ef35fadef9d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"policyContent\": \"https://raw.githubusercontent.com/Azure/api-management-samples/master/sdkClientResources/ProductPolicy.xml\",\r\n \"contentFormat\": \"xml-link\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "193" + ], + "x-ms-client-request-id": [ + "2458847e-82f9-489f-b814-1cd0701c5218" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/policies\",\r\n \"name\": \"policy\",\r\n \"properties\": {\r\n \"policyContent\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "571" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN0o=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cf2bac7f-3046-4573-bbb1-7cce77f3b6b4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "0357d847-09e5-4d07-852e-ad7aca05729b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181034Z:0357d847-09e5-4d07-852e-ad7aca05729b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a37aa7ea-6c11-4cd2-b4e6-9e2aea849e2f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN0o=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3ab497ad-f031-439c-bb71-a0408fbc8bbf" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "41e0c79d-d6fe-4e48-9aff-0f7908d0a110" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181034Z:41e0c79d-d6fe-4e48-9aff-0f7908d0a110" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited/policies/policy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy91bmxpbWl0ZWQvcG9saWNpZXMvcG9saWN5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "44708db5-50eb-45fd-89c6-2a61b93dd855" + ], + "If-Match": [ + "\"AAAAAAAAN0o=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 06 Mar 2018 18:10:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9e39b926-b152-45fd-9466-c309e5238242" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "5a6733c5-1c9f-4c47-be5e-ece16db0307f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180306T181034Z:5a6733c5-1c9f-4c47-be5e-ece16db0307f" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "policyapi9225", + "display1000", + "description4249", + "path6246" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/ApisListAddRemove.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/ApisListAddRemove.json index 76aec2447b68..cc1867ce2426 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/ApisListAddRemove.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/ApisListAddRemove.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "ac41ff05-1cd7-4727-821e-7e72fa3131a5" + "54526d38-a480-4ef8-a8fd-829fc7b15b17" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:58 GMT" + "Tue, 20 Feb 2018 07:03:30 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7c647eef-018b-42ec-a136-ee3ed18677cc", - "6fbe58b8-3be7-4f3f-b38e-30d60d9c9fcc" + "a7021b69-35b4-40e9-94c3-491bca11e266", + "25ab36f0-8f22-42cf-b8c6-ac4826554238" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "6f5d6f05-37f9-47a6-9fa1-40613b1bd2ae" + "443d4b3f-851d-43f8-9f39-9e0229677df7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191359Z:6f5d6f05-37f9-47a6-9fa1-40613b1bd2ae" + "WESTUS2:20180220T070330Z:443d4b3f-851d-43f8-9f39-9e0229677df7" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "70466cb3-c8ac-49cb-8642-b0dd96196e0b" + "476f1c31-8da0-4057-b676-caaa47f0bf1a" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:58 GMT" + "Tue, 20 Feb 2018 07:03:30 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "32a70a6d-3184-4386-9d3b-6c7e85800948" + "d56a8976-2a15-4622-b5fd-c9798134cf8b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14999" ], "x-ms-correlation-request-id": [ - "74ef2d89-3357-46d9-82fc-e4d5aba7c86a" + "5b000065-bac7-4d21-b211-2a738651b201" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191359Z:74ef2d89-3357-46d9-82fc-e4d5aba7c86a" + "WESTUS2:20180220T070331Z:5b000065-bac7-4d21-b211-2a738651b201" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2c76010f-809e-43e1-946a-87ad6c4881ed" + "46bccfa9-6afb-4314-ba77-c072c2d8577b" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:59 GMT" + "Tue, 20 Feb 2018 07:03:30 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0866485d-6de2-45d0-8cd5-b5b586d8e022" + "72574d9c-6b49-4fc1-ba8a-1f7008c641ce" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14998" ], "x-ms-correlation-request-id": [ - "bf3ec5ad-6d46-441f-8172-d9795c63fd2f" + "bb25f984-86ea-4b41-ab4a-e7c49251fb1f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191359Z:bf3ec5ad-6d46-441f-8172-d9795c63fd2f" + "WESTUS2:20180220T070331Z:bb25f984-86ea-4b41-ab4a-e7c49251fb1f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2d4f2a55-6fcc-42be-97c2-5bece7a9f937" + "46b1062a-380c-4798-840d-f6d8260970ca" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:59 GMT" + "Tue, 20 Feb 2018 07:03:30 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a6e8271f-e521-44a6-aa9f-ffd20549f95d" + "e5568260-69a5-4ac4-b9dd-7d5b69ef4a70" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14997" ], "x-ms-correlation-request-id": [ - "0509adf0-d274-43be-9f47-d73485f09f5a" + "c1325e48-8573-420e-8195-1b1ed1b9d838" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191400Z:0509adf0-d274-43be-9f47-d73485f09f5a" + "WESTUS2:20180220T070331Z:c1325e48-8573-420e-8195-1b1ed1b9d838" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "752ba745-55a7-461b-b213-0ccfcecf1f64" + "cc070635-7080-4f22-8b58-b364657b88b2" ], "accept-language": [ "en-US" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:00 GMT" + "Tue, 20 Feb 2018 07:03:31 GMT" ], "Pragma": [ "no-cache" @@ -304,28 +304,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "56c267b2-cda2-4ba6-a4d5-c4035bcabfbb" + "73d4b5b3-e768-420d-acb4-eb66c4b9422c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14995" ], "x-ms-correlation-request-id": [ - "5f0f22c6-3bf2-4fb3-be0b-f45e9ae7f235" + "d0932013-d9b2-43cc-a397-b0d03ab0c314" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191401Z:5f0f22c6-3bf2-4fb3-be0b-f45e9ae7f235" + "WESTUS2:20180220T070332Z:d0932013-d9b2-43cc-a397-b0d03ab0c314" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "237b0c10-d476-49b4-8a1f-8c547fee918f" + "17ac6dd1-4862-41d8-9f00-881c04e1d729" ], "accept-language": [ "en-US" @@ -335,7 +335,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +347,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:01 GMT" + "Tue, 20 Feb 2018 07:03:32 GMT" ], "Pragma": [ "no-cache" @@ -365,28 +365,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "df0f39a3-d242-46d7-8c8a-69786e509d37" + "3ed862d2-e4df-49c4-a9a4-726027d29856" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14994" ], "x-ms-correlation-request-id": [ - "7526bb11-3190-4645-a20e-aad6870560b7" + "7d8d0770-d27f-4833-b54e-73c8cc87da03" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191401Z:7526bb11-3190-4645-a20e-aad6870560b7" + "WESTUS2:20180220T070333Z:7d8d0770-d27f-4833-b54e-73c8cc87da03" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "252c9715-d13f-4c24-b5ef-f83ed82c4478" + "fa49f45a-7b2b-408e-9b7d-274343e08e2b" ], "accept-language": [ "en-US" @@ -408,7 +408,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:59 GMT" + "Tue, 20 Feb 2018 07:03:30 GMT" ], "Pragma": [ "no-cache" @@ -417,7 +417,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD10=\"" + "\"AAAAAAAAD78=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -429,28 +429,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "337d4738-61e9-4741-8c97-11681b9840db" + "d38207b1-817f-4f4e-b8a9-55abcc37d41f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14996" ], "x-ms-correlation-request-id": [ - "61c8269e-5443-4f57-8482-0af25992a1a0" + "a9c02740-1362-432a-833a-19c42eca6af4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191400Z:61c8269e-5443-4f57-8482-0af25992a1a0" + "WESTUS2:20180220T070331Z:a9c02740-1362-432a-833a-19c42eca6af4" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXMvZWNoby1hcGk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXMvZWNoby1hcGk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a4ffd2cd-1829-4294-8cb4-50164d11a166" + "4472a920-102d-47f3-83dc-ba35642a3586" ], "accept-language": [ "en-US" @@ -472,7 +472,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:00 GMT" + "Tue, 20 Feb 2018 07:03:31 GMT" ], "Pragma": [ "no-cache" @@ -484,28 +484,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "cc6e941a-59ec-4046-9ba7-314cf33a2618" + "b66a13c1-1fae-44c3-b68d-6cd6d3e527c2" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "aed72beb-be17-4d69-b241-01ec8f9df377" + "0a0a696b-f58a-4703-b7f1-268e1362407b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191401Z:aed72beb-be17-4d69-b241-01ec8f9df377" + "WESTUS2:20180220T070332Z:0a0a696b-f58a-4703-b7f1-268e1362407b" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXMvZWNoby1hcGk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2FwaXMvZWNoby1hcGk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "82def67d-49fc-4646-85f8-e7086154e381" + "e9f882e7-30b2-4458-8c4a-88be70440721" ], "accept-language": [ "en-US" @@ -515,10 +515,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "569" + "586" ], "Content-Type": [ "application/json; charset=utf-8" @@ -530,13 +530,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:00 GMT" + "Tue, 20 Feb 2018 07:03:32 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD10=\"" + "\"AAAAAAAAD78=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -545,16 +545,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a4c39beb-aaa4-4bef-9821-56d4ab31cebb" + "6e24ea51-7779-4cbd-9435-531e83cb9136" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "b6812998-54a1-4bcc-aeb9-f5beb6a21623" + "333f8355-d978-4aa5-a28b-928113ea1be9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191401Z:b6812998-54a1-4bcc-aeb9-f5beb6a21623" + "WESTUS2:20180220T070332Z:333f8355-d978-4aa5-a28b-928113ea1be9" ] }, "StatusCode": 201 @@ -563,9 +563,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/CreateListUpdateDelete.json index ce83406a86a5..8de6e513736e 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,17 +13,17 @@ "289" ], "x-ms-client-request-id": [ - "abcc0afe-2a73-4b68-83f7-30d7cc6fcd3f" + "d9dad58d-fc00-4608-b8ca-73344424dfec" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:23 GMT" + "Thu, 08 Mar 2018 21:25:56 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADe5eo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,39 +56,42 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "221f84d8-12f1-4584-98f8-8d4d8a8dbcdd", - "76c5f523-a45d-4f68-a7a2-712d6293b0a5" + "6fd8cc85-f303-4c7f-aecd-6f56f2e559e0", + "b9377489-e9c1-4019-9899-8ed45efe9e8a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "606c2f52-a7bf-4726-854e-e099f5eb2276" + "c74ab59f-d0db-46be-873b-9571f81834fe" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191324Z:606c2f52-a7bf-4726-854e-e099f5eb2276" + "WESTUS2:20180308T212557Z:c74ab59f-d0db-46be-873b-9571f81834fe" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5403fb42-18d7-4f1f-a5ea-3722c630a724" + "01f0a889-a03a-4e68-8c47-997cadb20f6b" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADe5eo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +103,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:23 GMT" + "Thu, 08 Mar 2018 21:25:56 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +112,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADe5eo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,35 +124,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9c3fa446-f1a3-4c51-8751-836e74cd75b9" + "531a0fd3-a3bf-4eab-8f75-40db970dc7f4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14999" ], "x-ms-correlation-request-id": [ - "b877b9e1-ec3f-47e4-976c-39bac70b7da1" + "6199af3d-08cf-4a25-983d-9ba2e6b34d1c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191324Z:b877b9e1-ec3f-47e4-976c-39bac70b7da1" + "WESTUS2:20180308T212557Z:6199af3d-08cf-4a25-983d-9ba2e6b34d1c" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5131fd3e-fffd-4ef0-b043-361246a768b0" + "524f6241-a8d1-489e-afc0-afc416b50b22" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", @@ -164,7 +170,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:24 GMT" + "Thu, 08 Mar 2018 21:25:57 GMT" ], "Pragma": [ "no-cache" @@ -182,47 +188,50 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b14c4aaa-e0e5-412c-baa5-3f09d8357a18" + "3607061c-aee1-462c-ac7c-a301265d52a9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14998" ], "x-ms-correlation-request-id": [ - "4d88a782-229e-4e2d-8311-c6f52252d630" + "4975d581-45d7-495b-9e76-179ed75d158b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191324Z:4d88a782-229e-4e2d-8311-c6f52252d630" + "WESTUS2:20180308T212557Z:4975d581-45d7-495b-9e76-179ed75d158b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"productDescription7219\",\r\n \"terms\": \"productTerms7740\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\",\r\n \"displayName\": \"productName5530\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"productDescription5836\",\r\n \"terms\": \"productTerms364\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\",\r\n \"displayName\": \"productName8968\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "273" + "272" ], "x-ms-client-request-id": [ - "8c60dece-f98b-4a6f-82c0-32a21d37216e" + "df0522f1-7371-4061-b62c-1c5d2529dde3" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct8620\",\r\n \"properties\": {\r\n \"displayName\": \"productName5530\",\r\n \"description\": \"productDescription7219\",\r\n \"terms\": \"productTerms7740\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct9484\",\r\n \"properties\": {\r\n \"displayName\": \"productName8968\",\r\n \"description\": \"productDescription5836\",\r\n \"terms\": \"productTerms364\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"name\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1054" + "1053" ], "Content-Type": [ "application/json; charset=utf-8" @@ -234,13 +243,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:25 GMT" + "Thu, 08 Mar 2018 21:25:58 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD5s=\"" + "\"AAAAAAAAN6s=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -249,41 +258,44 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d167fef4-96fd-42b9-a46d-8cba6cb71b8b" + "a9f7517f-fe63-404d-9f47-3a9cdbf944c7" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "e7e47305-8d9c-4da2-b351-d7ab40910ca1" + "3fa4ad0f-0f9b-410d-86ce-f9b1db9afcaa" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191325Z:e7e47305-8d9c-4da2-b351-d7ab40910ca1" + "WESTUS2:20180308T212558Z:3fa4ad0f-0f9b-410d-86ce-f9b1db9afcaa" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7a68f71e-b848-41c5-8043-796338bf4fd1" + "0bf376f7-0751-44c8-90ed-0eb5edc14846" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct8620\",\r\n \"properties\": {\r\n \"displayName\": \"productName5530\",\r\n \"description\": \"productDescription7219\",\r\n \"terms\": \"productTerms7740\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -292,59 +304,181 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:25 GMT" + "Thu, 08 Mar 2018 21:25:58 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" - ], "ETag": [ - "\"AAAAAAAAD5s=\"" + "\"AAAAAAAAN6s=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "28bb8de9-183c-4eb0-9b8c-a453a03b022e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "94b61b79-8740-4598-8c92-a989a326ddcc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180308T212558Z:94b61b79-8740-4598-8c92-a989a326ddcc" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "07ff891a-5132-45b7-bee9-14dc8d88f84d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 08 Mar 2018 21:25:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAN68=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "99dc26b3-7c34-49a4-aee6-e0cc571b5ccb" + "e427fd31-9d4f-4785-8d1e-8bd8f228d65d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14992" ], "x-ms-correlation-request-id": [ - "8f3b40e2-c107-4d9b-95d1-212d6b25819c" + "0e703cb1-121c-427e-bf41-7ca3a68131e6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191326Z:8f3b40e2-c107-4d9b-95d1-212d6b25819c" + "WESTUS2:20180308T212559Z:0e703cb1-121c-427e-bf41-7ca3a68131e6" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"productDescription1312\",\r\n \"terms\": \"productTerms7674\",\r\n \"displayName\": \"productName9029\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "146" + ], + "x-ms-client-request-id": [ + "5ffc967c-4c6c-41a9-872c-a755e0283d62" + ], + "If-Match": [ + "\"AAAAAAAAN6s=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 08 Mar 2018 21:25:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4b3e0997-f81c-46f7-9b6f-08cd320522a2" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "e9d1721c-c4a0-4a61-b215-42e24bc3de53" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180308T212558Z:e9d1721c-c4a0-4a61-b215-42e24bc3de53" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ec92b095-eb14-4f5d-966f-c44cb568fd27" + "d1c126e3-784d-4a42-85f6-967ab5e3e704" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct8620\",\r\n \"properties\": {\r\n \"displayName\": \"productName6190\",\r\n \"description\": \"productDescription733\",\r\n \"terms\": \"productTerms3444\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct9484\",\r\n \"properties\": {\r\n \"displayName\": \"productName9029\",\r\n \"description\": \"productDescription1312\",\r\n \"terms\": \"productTerms7674\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -356,7 +490,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:26 GMT" + "Thu, 08 Mar 2018 21:25:58 GMT" ], "Pragma": [ "no-cache" @@ -365,7 +499,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD58=\"" + "\"AAAAAAAAN68=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -377,35 +511,38 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0b8ce750-4f89-4453-a66b-bbbad9123d0f" + "93529cc0-b9e4-4418-8713-9ee7aeddd1e6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14996" ], "x-ms-correlation-request-id": [ - "75174b6d-595b-44f9-a59d-f7921020e223" + "b9f92c5d-10a7-4ad5-b429-66fbd6561424" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191326Z:75174b6d-595b-44f9-a59d-f7921020e223" + "WESTUS2:20180308T212559Z:b9f92c5d-10a7-4ad5-b429-66fbd6561424" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b081ad8c-bc92-497c-a142-17fbbd404dae" + "63cbd047-5ec5-4837-b69d-756a4490770d" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Product not found.\",\r\n \"details\": null\r\n }\r\n}", @@ -423,7 +560,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:27 GMT" + "Thu, 08 Mar 2018 21:25:59 GMT" ], "Pragma": [ "no-cache" @@ -435,50 +572,172 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e2cfb89b-9ff4-4d1c-9472-5a28a740124d" + "fdd3d057-2d0c-4f0b-aa49-d91272423e4c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14991" ], "x-ms-correlation-request-id": [ - "f482b177-2795-48d9-92b1-ea2523066712" + "eb3b7c51-b8d1-40ec-9354-ac15c9ba89ce" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191327Z:f482b177-2795-48d9-92b1-ea2523066712" + "WESTUS2:20180308T212600Z:eb3b7c51-b8d1-40ec-9354-ac15c9ba89ce" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"productDescription733\",\r\n \"terms\": \"productTerms3444\",\r\n \"name\": \"productName6190\"\r\n }\r\n}", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kdG9wPTEmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "bb0e0441-c695-4d3c-82a9-d152ebaf9048" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"newproduct9484\",\r\n \"properties\": {\r\n \"displayName\": \"productName9029\",\r\n \"description\": \"productDescription1312\",\r\n \"terms\": \"productTerms7674\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 10,\r\n \"state\": \"notPublished\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", + "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], - "Content-Length": [ - "138" + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 08 Mar 2018 21:25:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2d78223a-32ab-4e2a-a18a-8cbb50c87549" ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "cb4ca99c-d773-4f14-a9ce-170bbfc4ea49" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180308T212559Z:cb4ca99c-d773-4f14-a9ce-170bbfc4ea49" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?%24top=1&api-version=2018-01-01&%24skip=1", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8lMjR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAxJiUyNHNraXA9MQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { "x-ms-client-request-id": [ - "01050e9b-0265-4611-813d-b6d367cbca00" + "a2c2c5f5-4cd1-410f-b8d5-d6d55a3b12af" ], - "If-Match": [ - "\"AAAAAAAAD5s=\"" + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?%24top=1&api-version=2018-01-01&%24skip=2\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Thu, 08 Mar 2018 21:25:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "83cc0103-1dd4-4205-a6c6-0cea2cfb5e68" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "d5392342-7b54-4122-8937-ad5ff646da48" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180308T212559Z:d5392342-7b54-4122-8937-ad5ff646da48" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?%24top=1&api-version=2018-01-01&%24skip=2", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8lMjR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAxJiUyNHNraXA9Mg==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "38fa945a-581d-44e8-8dc2-2573f18ad61f" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -487,50 +746,59 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:26 GMT" + "Thu, 08 Mar 2018 21:25:59 GMT" ], "Pragma": [ "no-cache" ], + "Transfer-Encoding": [ + "chunked" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Vary": [ + "Accept-Encoding" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "52e07152-1629-4031-b8c9-4de404fdd858" + "00a80ee5-7ab3-4d0e-b3b6-926f2559f43d" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" ], "x-ms-correlation-request-id": [ - "734becde-5134-4b36-9b0a-08c92438ea4e" + "9dd10662-dd0d-48c6-8e4e-ec83c6e87f35" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191326Z:734becde-5134-4b36-9b0a-08c92438ea4e" + "WESTUS2:20180308T212559Z:9dd10662-dd0d-48c6-8e4e-ec83c6e87f35" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9kZWxldGVTdWJzY3JpcHRpb25zPXRydWUmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9kZWxldGVTdWJzY3JpcHRpb25zPXRydWUmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3e90521-1d62-490e-8a65-e7c821ab8fe5" + "026e33f7-358c-47bc-a7d0-4f8047b8ed19" ], "If-Match": [ - "*" + "\"AAAAAAAAN68=\"" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", @@ -545,7 +813,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:27 GMT" + "Thu, 08 Mar 2018 21:25:59 GMT" ], "Pragma": [ "no-cache" @@ -557,28 +825,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1bde2523-9ba6-450d-bd8c-e1a97e5b31c4" + "0cfa31cb-4bf0-4797-a587-43a0b41b299a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "d11fab97-0b08-4577-8616-8cebc4155957" + "7e3ceff9-04e9-49ef-82d9-1ace0ad9a407" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191327Z:d11fab97-0b08-4577-8616-8cebc4155957" + "WESTUS2:20180308T212600Z:7e3ceff9-04e9-49ef-82d9-1ace0ad9a407" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct8620?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0ODYyMD9kZWxldGVTdWJzY3JpcHRpb25zPXRydWUmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/newproduct9484?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9uZXdwcm9kdWN0OTQ4ND9kZWxldGVTdWJzY3JpcHRpb25zPXRydWUmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0de24d46-c4f8-42a9-85f7-49830ebacaf6" + "ab011bd9-8517-41ad-9f2d-8e9935f68bd4" ], "If-Match": [ "*" @@ -588,14 +859,11 @@ ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -603,7 +871,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:27 GMT" + "Thu, 08 Mar 2018 21:26:01 GMT" ], "Pragma": [ "no-cache" @@ -615,16 +883,19 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8535af2a-5509-4199-8d0e-6f1389dd5421" + "249f6c0f-8125-40b7-97bf-13c4f3604214" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "219b59b6-08ec-421d-a092-adec46bfdbf3" + "bff8a924-213b-4473-8d0a-67aae570c0f8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191327Z:219b59b6-08ec-421d-a092-adec46bfdbf3" + "WESTUS2:20180308T212602Z:bff8a924-213b-4473-8d0a-67aae570c0f8" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 204 @@ -632,20 +903,19 @@ ], "Names": { "CreateListUpdateDelete": [ - "newproduct8620", - "productName5530", - "productDescription7219", - "productTerms7740", - "productName6190", - "productDescription733", - "productTerms3444" + "newproduct9484", + "productName8968", + "productDescription5836", + "productTerms364", + "productName9029", + "productDescription1312", + "productTerms7674" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/GroupsListAddRemove.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/GroupsListAddRemove.json index 0d553d0c2945..b2743a9fe166 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/GroupsListAddRemove.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/GroupsListAddRemove.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "7ac2b90d-0609-40bb-b36c-430b87e80659" + "af630fa3-c606-41cd-bbdb-4efd3069a976" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:47 GMT" + "Tue, 20 Feb 2018 07:02:14 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "46b2184f-a78c-4799-b984-5c80bfe1d570", - "123500bf-ec1f-4b43-9270-b4dafb226048" + "706cd370-7dea-4edb-9f17-1a04db440a28", + "685afec0-3032-4238-b02c-dd6674ecb376" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "bf7c946a-ff4c-4203-bee2-f360aa127307" + "022843c6-a7d2-460b-ae67-e89868539852" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191348Z:bf7c946a-ff4c-4203-bee2-f360aa127307" + "WESTUS2:20180220T070214Z:022843c6-a7d2-460b-ae67-e89868539852" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fc8f4fd4-1604-467e-9c9e-50bf287ee880" + "13041325-6f64-4aca-8ac9-bad408195d31" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:47 GMT" + "Tue, 20 Feb 2018 07:02:14 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9d816902-6b09-46f0-87a0-20e113c4f7ad" + "21e55115-5a58-4056-818f-e044b619ac6e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14998" ], "x-ms-correlation-request-id": [ - "48ff61e8-3135-4c47-8413-e4133949d13d" + "433252ab-32e4-4ad7-ab27-31eee68065d7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191348Z:48ff61e8-3135-4c47-8413-e4133949d13d" + "WESTUS2:20180220T070215Z:433252ab-32e4-4ad7-ab27-31eee68065d7" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2fba0b63-0446-40db-8009-7a69dcfbc871" + "22a5e10c-a37d-42c9-b029-e820759e1d16" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:48 GMT" + "Tue, 20 Feb 2018 07:02:15 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "77a1a553-7ab2-42d6-88ee-f08c826ec5ce" + "955d36b1-7613-468b-8055-a8bf72df73c5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14997" ], "x-ms-correlation-request-id": [ - "440d6166-a3df-4aba-b8c5-79d1ae3cc70a" + "a433f71f-76c5-45a1-8434-b7581ca3c718" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191349Z:440d6166-a3df-4aba-b8c5-79d1ae3cc70a" + "WESTUS2:20180220T070215Z:a433f71f-76c5-45a1-8434-b7581ca3c718" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "cb2a028d-46d8-47ad-9397-ebad06fadaea" + "edf9d28a-3ac2-4fef-9201-fbd9b786b122" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:48 GMT" + "Tue, 20 Feb 2018 07:02:15 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d362f8e7-1718-4580-9351-08d8b353af14" + "175e81fd-6467-458c-a5df-7955c53c0864" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14996" ], "x-ms-correlation-request-id": [ - "04049793-76e8-4c7b-8ff9-c6c22ed3bfb2" + "2ca48f1a-affd-4fb9-942f-70e9246570bb" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191349Z:04049793-76e8-4c7b-8ff9-c6c22ed3bfb2" + "WESTUS2:20180220T070215Z:2ca48f1a-affd-4fb9-942f-70e9246570bb" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "911160b9-2c14-4571-b351-36444ee6215a" + "e54270b7-de6b-486e-a52b-dccb97207a78" ], "accept-language": [ "en-US" @@ -274,7 +274,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:50 GMT" + "Tue, 20 Feb 2018 07:02:16 GMT" ], "Pragma": [ "no-cache" @@ -304,28 +304,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "219fc2bd-7751-45b6-a344-b596b2335725" + "007fc422-b801-4bce-bd7a-c5d3a11de70d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14994" ], "x-ms-correlation-request-id": [ - "e1671fef-cb26-4089-935d-503f03b7f8e7" + "3e886899-82d1-425e-baf2-6b90e2e37455" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191351Z:e1671fef-cb26-4089-935d-503f03b7f8e7" + "WESTUS2:20180220T070216Z:3e886899-82d1-425e-baf2-6b90e2e37455" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "43831e92-e370-41d9-9ec0-12d731f8e4ae" + "030d1f11-d762-489e-b948-b98012593659" ], "accept-language": [ "en-US" @@ -335,7 +335,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/administrators\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"administrators\",\r\n \"properties\": {\r\n \"displayName\": \"Administrators\",\r\n \"description\": \"Administrators is a built-in group. Its membership is managed by the system. Microsoft Azure subscription administrators fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +347,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:50 GMT" + "Tue, 20 Feb 2018 07:02:16 GMT" ], "Pragma": [ "no-cache" @@ -365,28 +365,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "49d6f61d-b1e3-4a49-820c-65df31978522" + "5e7a3399-6649-4b1e-9518-c3b837494b39" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14993" ], "x-ms-correlation-request-id": [ - "a679220c-f4e2-45d5-a27c-854a2b8dedf2" + "123cc12c-39cb-4259-8f44-0095d8dc0125" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191351Z:a679220c-f4e2-45d5-a27c-854a2b8dedf2" + "WESTUS2:20180220T070217Z:123cc12c-39cb-4259-8f44-0095d8dc0125" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/guests?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3Vlc3RzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/guests?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3Vlc3RzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "664198ed-42db-4c4d-bf40-186a6053a232" + "a2f86e89-6d5e-4d53-a630-6795de1173ce" ], "accept-language": [ "en-US" @@ -408,7 +408,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:49 GMT" + "Tue, 20 Feb 2018 07:02:15 GMT" ], "Pragma": [ "no-cache" @@ -429,28 +429,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d65652b1-d3a4-48f9-81f4-9d64be0631cb" + "6d7cb3f4-7ab0-4b19-aad5-4e63a34e0d6d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14995" ], "x-ms-correlation-request-id": [ - "de7fb666-30fc-49b8-96db-502b895b309a" + "59989fb3-179b-4ea4-b188-4f0af56e7e70" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191350Z:de7fb666-30fc-49b8-96db-502b895b309a" + "WESTUS2:20180220T070215Z:59989fb3-179b-4ea4-b188-4f0af56e7e70" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcy9ndWVzdHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcy9ndWVzdHM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c797356a-253e-4968-8035-49b09d1a789e" + "6cdd89fa-4731-4586-8682-fc4bc0926e33" ], "accept-language": [ "en-US" @@ -472,7 +472,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:49 GMT" + "Tue, 20 Feb 2018 07:02:16 GMT" ], "Pragma": [ "no-cache" @@ -484,28 +484,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a15196a6-c2e0-47f9-bc89-cbd8a922e0d9" + "34319b22-6041-4172-baa6-c87b438d3ccc" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "99ecd076-2178-43e1-bb34-b5a64551609b" + "b24b0a6a-40cb-46ab-8296-24c6a53c2bc3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191350Z:99ecd076-2178-43e1-bb34-b5a64551609b" + "WESTUS2:20180220T070216Z:b24b0a6a-40cb-46ab-8296-24c6a53c2bc3" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcy9ndWVzdHM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL2dyb3Vwcy9ndWVzdHM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5afa2c63-c069-418d-a11f-bac33236a014" + "56918b13-ceb1-4f8e-95f4-5d57f1f4d777" ], "accept-language": [ "en-US" @@ -515,10 +515,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/groups/guests\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/groups\",\r\n \"name\": \"guests\",\r\n \"properties\": {\r\n \"displayName\": \"Guests\",\r\n \"description\": \"Guests is a built-in group. Its membership is managed by the system. Unauthenticated users visiting the developer portal fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "548" + "565" ], "Content-Type": [ "application/json; charset=utf-8" @@ -530,7 +530,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:50 GMT" + "Tue, 20 Feb 2018 07:02:16 GMT" ], "Pragma": [ "no-cache" @@ -545,16 +545,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f3fd3d13-9db2-4060-b405-8b710f931c5d" + "772c1ac7-3733-4d5a-873d-2995bfbff654" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "3cdb7d04-7334-4ae1-8bb1-1af06f766d48" + "0cbee4df-f7e2-4a17-9f4c-eb9fa1992916" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191351Z:3cdb7d04-7334-4ae1-8bb1-1af06f766d48" + "WESTUS2:20180220T070217Z:0cbee4df-f7e2-4a17-9f4c-eb9fa1992916" ] }, "StatusCode": 201 @@ -563,9 +563,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/SubscriptionsList.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/SubscriptionsList.json index 9904e347c034..48fb27e473ef 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/SubscriptionsList.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ProductTests/SubscriptionsList.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "2e8cf21e-3357-437f-be3a-402d1afa90a4" + "fdb4f3df-e530-4aa1-936f-28ad515ddf2b" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:38 GMT" + "Tue, 20 Feb 2018 07:03:05 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e08d65b0-1774-4444-9c81-162c2b88493c", - "3588028a-57af-4460-9e4f-bfcdc7fbaffb" + "f5ca50c9-9953-4cef-b585-d6b12f1899be", + "04354bac-3cb3-427e-b1d2-fdeaed8e969a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "f7b4d19e-ea7b-4b4c-a6f6-3e1621da4d3f" + "89a0cb49-0daf-4777-b625-a00d7b409fb3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191338Z:f7b4d19e-ea7b-4b4c-a6f6-3e1621da4d3f" + "WESTUS2:20180220T070305Z:89a0cb49-0daf-4777-b625-a00d7b409fb3" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e5beed32-ad03-4e3d-90be-36167edeb976" + "19e0df5e-a670-44df-a50a-6ddf081ebf5e" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:38 GMT" + "Tue, 20 Feb 2018 07:03:05 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4b53c599-df93-4c18-a8a4-ad9047a83462" + "bc522345-a3e6-4c2b-8608-be372e44fe73" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14997" + "14998" ], "x-ms-correlation-request-id": [ - "ff2a7a30-80be-400d-8ddc-29210e57e5ac" + "454aa527-9aa6-4642-9fee-4f7682430e40" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191338Z:ff2a7a30-80be-400d-8ddc-29210e57e5ac" + "WESTUS2:20180220T070305Z:454aa527-9aa6-4642-9fee-4f7682430e40" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?$filter=name%20eq%20'Starter'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz8kZmlsdGVyPW5hbWUlMjBlcSUyMCdTdGFydGVyJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a799b972-cd6b-4768-bfa3-322e405fb0d5" + "ffd502af-84bb-442c-a099-a9a426bf1154" ], "accept-language": [ "en-US" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:38 GMT" + "Tue, 20 Feb 2018 07:03:05 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bb587613-5867-4400-8117-99725e90b4cf" + "9e8c7471-efb3-4619-90a7-80ed11846e64" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" + "14997" ], "x-ms-correlation-request-id": [ - "cf150549-3e00-4765-9313-789d64b6c902" + "d864bca2-5a44-4703-a958-f9728258cf0b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191339Z:cf150549-3e00-4765-9313-789d64b6c902" + "WESTUS2:20180220T070306Z:d864bca2-5a44-4703-a958-f9728258cf0b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/subscriptions?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/subscriptions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eef4be1c-cf73-4733-b650-acc339813d2f" + "92ede707-a747-4c60-b9b8-1b63b0fede21" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:13:39 GMT" + "Tue, 20 Feb 2018 07:03:06 GMT" ], "Pragma": [ "no-cache" @@ -243,16 +243,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bea54265-b847-4605-ac65-3715328f31b6" + "d6572fb4-2ba7-4b61-9011-765304ab84a6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14996" ], "x-ms-correlation-request-id": [ - "46ef7573-17d4-4425-a320-cb834f4ec138" + "750852a3-f2d3-4c1d-bbfa-48f157fa18fe" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191339Z:46ef7573-17d4-4425-a320-cb834f4ec138" + "WESTUS2:20180220T070306Z:750852a3-f2d3-4c1d-bbfa-48f157fa18fe" ] }, "StatusCode": 200 @@ -261,9 +261,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PropertiesTest/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PropertiesTest/CreateListUpdateDelete.json index 010c7eadef31..382bfb10f8af 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PropertiesTest/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.PropertiesTest/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "03c28309-66a1-477f-9c36-fa66f00a74fd" + "486a0317-7682-4f30-bdd8-b341ba79cf7e" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:15 GMT" + "Mon, 19 Feb 2018 23:56:16 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "74a52e07-a3b2-4b44-8a90-b6baf6e54708", - "f774d663-bb74-4583-9355-0804a5c286b7" + "e6750077-3078-41f8-967d-7d7b3af27d86", + "337d4f90-c2c1-4379-becd-bcd4fb36a9b7" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1189" + "1194" ], "x-ms-correlation-request-id": [ - "a93916bc-9c76-4f41-b347-124830728fe9" + "ec09aab8-7786-42ce-836b-0ef7f12e69fb" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195715Z:a93916bc-9c76-4f41-b347-124830728fe9" + "WESTUS2:20180219T235616Z:ec09aab8-7786-42ce-836b-0ef7f12e69fb" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fb3ffa3e-a609-4645-b919-4ce5d9351727" + "4039c6da-8ae9-4b67-ae85-cc53a31ab107" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:16 GMT" + "Mon, 19 Feb 2018 23:56:16 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,25 +121,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3f1a557a-7df9-42f4-9cad-970bcb7eb059" + "0d38be97-b814-4608-bcc8-360ae92f8bb2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14990" ], "x-ms-correlation-request-id": [ - "1c0ce7d1-4968-479d-80a4-444fd2064fb7" + "9013b12b-f3dd-4c33-993a-570e339071fd" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195716Z:1c0ce7d1-4968-479d-80a4-444fd2064fb7" + "WESTUS2:20180219T235616Z:9013b12b-f3dd-4c33-993a-570e339071fd" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5ODE0Nj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5Mjk2Mj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay3987\",\r\n \"value\": \"propertyValue8165\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay1945\",\r\n \"value\": \"propertyValue5959\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -148,7 +148,7 @@ "105" ], "x-ms-client-request-id": [ - "78e1aa95-3ca3-4c22-9e09-2da56830c1b0" + "ac197467-00e3-46f3-863e-545916c6240d" ], "accept-language": [ "en-US" @@ -158,7 +158,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty8146\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay3987\",\r\n \"value\": \"propertyValue8165\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty2962\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay1945\",\r\n \"value\": \"propertyValue5959\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "418" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:17 GMT" + "Mon, 19 Feb 2018 23:56:17 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD+E=\"" + "\"AAAAAAAAM/8=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +188,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "19fae7b3-8d46-499a-8996-964d2a691087" + "dda2504b-7949-4acc-8abd-7367c509e57f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" + "1193" ], "x-ms-correlation-request-id": [ - "faa6a18d-6417-4a3e-8162-8e760351d44f" + "c871ddfc-bb92-4040-95d6-03d9930a08ef" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195717Z:faa6a18d-6417-4a3e-8162-8e760351d44f" + "WESTUS2:20180219T235617Z:c871ddfc-bb92-4040-95d6-03d9930a08ef" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5ODE0Nj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5Mjk2Mj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b2c2002b-2662-4fda-9537-fb10fb039ac2" + "47ed6f22-b0fb-435c-984c-ac3adfbdbe3e" ], "accept-language": [ "en-US" @@ -219,7 +219,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty8146\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay3987\",\r\n \"value\": \"propertyValue8165\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty2962\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay1945\",\r\n \"value\": \"propertyValue5959\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -231,7 +231,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:18 GMT" + "Mon, 19 Feb 2018 23:56:17 GMT" ], "Pragma": [ "no-cache" @@ -240,7 +240,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD+E=\"" + "\"AAAAAAAAM/8=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -252,28 +252,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0097823e-92b3-4d82-b5fa-ee63c2ede12e" + "aa28cc0f-dc76-40e9-9e00-6058468caa6e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14989" ], "x-ms-correlation-request-id": [ - "468e4b27-c3a8-459c-9cdc-5ccbc085879f" + "d9bafc9a-53f3-4a7e-8aee-7fb58c68298d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195718Z:468e4b27-c3a8-459c-9cdc-5ccbc085879f" + "WESTUS2:20180219T235617Z:d9bafc9a-53f3-4a7e-8aee-7fb58c68298d" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5ODE0Nj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5Mjk2Mj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8b995b25-6a87-460f-a28f-d36ddc4dcd2a" + "69cce272-e1c4-487a-be90-8d1305b75397" ], "accept-language": [ "en-US" @@ -298,7 +298,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:19 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" @@ -310,25 +310,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "37cad332-80fe-4884-8853-0f334dc096ac" + "c1708afb-6213-4511-ab61-e90585cee0cf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14987" ], "x-ms-correlation-request-id": [ - "27e9c278-741d-4e50-8953-35d8654d71f2" + "5fda67ab-9ba3-4f9a-8ac6-e35c692ceeda" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195719Z:27e9c278-741d-4e50-8953-35d8654d71f2" + "WESTUS2:20180219T235618Z:5fda67ab-9ba3-4f9a-8ac6-e35c692ceeda" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true,\r\n \"displayName\": \"secretPropertydisplay6508\",\r\n \"value\": \"secretPropertyValue2435\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true,\r\n \"displayName\": \"secretPropertydisplay9583\",\r\n \"value\": \"secretPropertyValue1756\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -337,7 +337,7 @@ "177" ], "x-ms-client-request-id": [ - "9a6a34a6-9593-46e6-a5c7-4a1ce63d6af4" + "c95b5222-ab69-4390-89c6-9b63646c057a" ], "accept-language": [ "en-US" @@ -347,10 +347,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty4268\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay6508\",\r\n \"value\": \"secretPropertyValue2435\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty159\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay9583\",\r\n \"value\": \"secretPropertyValue1756\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "455" + "453" ], "Content-Type": [ "application/json; charset=utf-8" @@ -362,13 +362,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:18 GMT" + "Mon, 19 Feb 2018 23:56:17 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD+I=\"" + "\"AAAAAAAANAE=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -377,28 +377,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "20c20a8d-49e6-47e6-9ea8-d0e9a83484d1" + "a7452c88-d66c-4ad7-b872-7b3270fbf6c4" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" + "1192" ], "x-ms-correlation-request-id": [ - "1ea607e2-0668-4c71-8ec6-28f880ef9a38" + "6aafef97-2785-4424-84c5-a497d53646b8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195718Z:1ea607e2-0668-4c71-8ec6-28f880ef9a38" + "WESTUS2:20180219T235617Z:6aafef97-2785-4424-84c5-a497d53646b8" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a37e12bd-bffc-4358-945c-21fdbab94b4f" + "ef7fdea1-dcea-46f6-be95-96f27c08ade1" ], "accept-language": [ "en-US" @@ -408,7 +408,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty8146\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay3987\",\r\n \"value\": \"propertyValue8165\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty4268\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay6508\",\r\n \"value\": \"secretPropertyValue2435\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"newproperty2962\",\r\n \"properties\": {\r\n \"displayName\": \"propertydisplay1945\",\r\n \"value\": \"propertyValue5959\",\r\n \"tags\": null,\r\n \"secret\": false\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty159\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay9583\",\r\n \"value\": \"secretPropertyValue1756\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -420,7 +420,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:18 GMT" + "Mon, 19 Feb 2018 23:56:17 GMT" ], "Pragma": [ "no-cache" @@ -438,28 +438,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a24e0193-8393-4ac0-8f06-07c120d7beaa" + "6b5442c2-7dfa-4e2a-8cc1-0de772a7b5e6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14988" ], "x-ms-correlation-request-id": [ - "1b591669-b77a-47b2-829b-dd0167dcacdd" + "109828b7-c4c5-442b-95db-779f24e3563c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195718Z:1b591669-b77a-47b2-829b-dd0167dcacdd" + "WESTUS2:20180219T235617Z:109828b7-c4c5-442b-95db-779f24e3563c" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5ODE0Nj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5Mjk2Mj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "56831d62-33ef-439b-8306-6addaefb6e77" + "ddabeed5-10f4-4e7a-bd8d-0f550a9564e3" ], "If-Match": [ "*" @@ -484,7 +484,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:18 GMT" + "Mon, 19 Feb 2018 23:56:17 GMT" ], "Pragma": [ "no-cache" @@ -496,28 +496,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c26e257b-3991-449b-8ff1-e34d4ca1590d" + "69d82d5d-ce38-476c-b7fc-17cdb80e29d2" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1186" + "1191" ], "x-ms-correlation-request-id": [ - "9ad17dda-8576-4a30-9f87-b8820a35d6dc" + "77f3cb84-e4bb-4535-9b3c-9932de764165" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195718Z:9ad17dda-8576-4a30-9f87-b8820a35d6dc" + "WESTUS2:20180219T235618Z:77f3cb84-e4bb-4535-9b3c-9932de764165" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty8146?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5ODE0Nj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/newproperty2962?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL25ld3Byb3BlcnR5Mjk2Mj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "447e8b89-8441-490d-beb3-c5df6a94bbf8" + "34f85cca-1a6a-4b9e-a9e6-29b83db7bbcb" ], "If-Match": [ "*" @@ -531,6 +531,58 @@ ] }, "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 23:56:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c89335b7-53d3-4ee7-8c9f-66492fb66b6c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1188" + ], + "x-ms-correlation-request-id": [ + "caf448ec-2e2f-4f87-840f-9b2a0231441c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T235619Z:caf448ec-2e2f-4f87-840f-9b2a0231441c" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08867b00-eac2-4c31-8993-e30e499458c7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ "0" @@ -542,11 +594,14 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:20 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" ], + "ETag": [ + "\"AAAAAAAANAE=\"" + ], "Server": [ "Microsoft-HTTPAPI/2.0" ], @@ -554,23 +609,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ad9ef120-eae5-48d2-96ce-8b11ac78b0a1" + "723685a7-989f-49ab-a0f0-004b7eeb3f29" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1183" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14986" ], "x-ms-correlation-request-id": [ - "d653b52d-3864-4b75-ac4d-62bc12d636be" + "8bbf0356-1167-4b94-90eb-9de2a1ab7aac" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195720Z:d653b52d-3864-4b75-ac4d-62bc12d636be" + "WESTUS2:20180219T235618Z:8bbf0356-1167-4b94-90eb-9de2a1ab7aac" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"properties\": {\r\n \"secret\": false\r\n }\r\n}", "RequestHeaders": { @@ -581,10 +636,10 @@ "49" ], "x-ms-client-request-id": [ - "767f1247-5ba5-4323-a2ac-53b9aa7398f2" + "9e4ff15e-f494-42d3-88cd-57d225ce271e" ], "If-Match": [ - "*" + "\"AAAAAAAANAE=\"" ], "accept-language": [ "en-US" @@ -596,9 +651,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -606,7 +658,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:19 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" @@ -618,28 +670,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1069b761-b70d-4b9c-814e-536c873dfa3d" + "ffec71a4-be3c-46bc-ae13-dc35968a29ed" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1185" + "1190" ], "x-ms-correlation-request-id": [ - "25f4639b-da8c-4cb0-81ae-364c474901c6" + "8043324c-a33f-43f4-a197-05efc91bc8d7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195719Z:25f4639b-da8c-4cb0-81ae-364c474901c6" + "WESTUS2:20180219T235618Z:8043324c-a33f-43f4-a197-05efc91bc8d7" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "72a8a9ec-f2e5-4f59-8b0b-7dc2e17d30b2" + "c9770b8b-1cab-47eb-bdd7-af4d1a34115c" ], "accept-language": [ "en-US" @@ -649,7 +701,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty4268\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay6508\",\r\n \"value\": \"secretPropertyValue2435\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": false\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159\",\r\n \"type\": \"Microsoft.ApiManagement/service/properties\",\r\n \"name\": \"secretproperty159\",\r\n \"properties\": {\r\n \"displayName\": \"secretPropertydisplay9583\",\r\n \"value\": \"secretPropertyValue1756\",\r\n \"tags\": [\r\n \"secret\"\r\n ],\r\n \"secret\": false\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -661,7 +713,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:19 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" @@ -670,7 +722,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD+M=\"" + "\"AAAAAAAANAI=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -682,28 +734,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bf3ab0d8-65f0-4d86-aa35-1f05985b648d" + "34e8d9b0-bb7d-4961-a581-3dae78968df7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14985" ], "x-ms-correlation-request-id": [ - "9a94574a-9f7c-47e6-b082-f52400de5c15" + "59262a70-a083-46c4-ae8c-e5abe855049b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195719Z:9a94574a-9f7c-47e6-b082-f52400de5c15" + "WESTUS2:20180219T235618Z:59262a70-a083-46c4-ae8c-e5abe855049b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "907b0820-c880-40c4-87db-24066120d65e" + "8495b0e1-1976-44d7-9adc-c8c753012f50" ], "accept-language": [ "en-US" @@ -728,7 +780,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:20 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" @@ -740,28 +792,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8fa895dd-af9f-4087-bd3f-85b4a6bf00fa" + "a13d32a0-40cd-4216-9ef2-9a6c9bca1c94" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14984" ], "x-ms-correlation-request-id": [ - "c5386fdb-eaea-4a96-a1e4-d3bccb3665ff" + "a88055f9-79d1-497a-be2f-dffbb6a1cbde" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195720Z:c5386fdb-eaea-4a96-a1e4-d3bccb3665ff" + "WESTUS2:20180219T235618Z:a88055f9-79d1-497a-be2f-dffbb6a1cbde" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "035f20b3-0eea-4a78-b60f-be0d87db93a3" + "72780705-4d1c-4f7d-a33b-249bbaf13542" ], "If-Match": [ "*" @@ -786,7 +838,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:20 GMT" + "Mon, 19 Feb 2018 23:56:18 GMT" ], "Pragma": [ "no-cache" @@ -798,28 +850,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "99c68ff2-6635-4f47-bfbf-67d3ad4a4714" + "c9996289-8f44-4c75-b572-99f994e4f389" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1184" + "1189" ], "x-ms-correlation-request-id": [ - "86612bd7-beea-47ed-b8a8-5229d85f7262" + "78d56137-e3e8-418f-af64-6980ecd994e6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195720Z:86612bd7-beea-47ed-b8a8-5229d85f7262" + "WESTUS2:20180219T235618Z:78d56137-e3e8-418f-af64-6980ecd994e6" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty4268?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5NDI2OD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/properties/secretproperty159?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9wZXJ0aWVzL3NlY3JldHByb3BlcnR5MTU5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5e6fdd51-7b1d-4553-a837-49f66f357959" + "c76c2905-6c5f-428c-84ca-4070e5ee3ead" ], "If-Match": [ "*" @@ -834,9 +886,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -844,7 +893,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:57:20 GMT" + "Mon, 19 Feb 2018 23:56:19 GMT" ], "Pragma": [ "no-cache" @@ -856,16 +905,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "357a80dd-df47-4412-9b56-8d8ffcbde6cd" + "8086204c-01ad-4180-82e2-d8d2cc6a0c05" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1182" + "1187" ], "x-ms-correlation-request-id": [ - "5e7fd293-c2a7-4828-b998-0f6bc4290c75" + "a89a4ebc-accb-46df-b62f-d5c31e18598f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T195720Z:5e7fd293-c2a7-4828-b998-0f6bc4290c75" + "WESTUS2:20180219T235619Z:a89a4ebc-accb-46df-b62f-d5c31e18598f" ] }, "StatusCode": 204 @@ -873,19 +922,18 @@ ], "Names": { "CreateListUpdateDelete": [ - "newproperty8146", - "secretproperty4268", - "propertydisplay3987", - "propertyValue8165", - "secretPropertydisplay6508", - "secretPropertyValue2435" + "newproperty2962", + "secretproperty159", + "propertydisplay1945", + "propertyValue5959", + "secretPropertydisplay9583", + "secretPropertyValue1756" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.RegionTests/List.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.RegionTests/List.json new file mode 100644 index 000000000000..bc9d6133759a --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.RegionTests/List.json @@ -0,0 +1,210 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "48497fd0-6dad-44dd-a809-fedaeba02c7b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 07:05:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "09972895-4736-4ad3-976c-f8d98e65859f", + "1c2f81b8-ac6c-4eae-a938-63fccf7dfff0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "405dea41-afb1-459e-8341-79f2fa1f0dcb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T070537Z:405dea41-afb1-459e-8341-79f2fa1f0dcb" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "84ab820b-8a96-413e-bb15-45107e2743ea" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 07:05:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d055587b-efe9-483c-b039-12491f18a280" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "db87128b-e931-43e2-afeb-97062ce80a05" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T070537Z:db87128b-e931-43e2-afeb-97062ce80a05" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/regions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZWdpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a500b79e-5a85-43d9-97b1-bd044753b2df" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Central US\",\r\n \"isMasterRegion\": true,\r\n \"isDeleted\": false\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 07:05:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f634a135-d528-4cba-9609-621fbfdaad53" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "f3586a3a-159a-4923-bd1b-95b50824b0f1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T070537Z:f3586a3a-159a-4923-bd1b-95b50824b0f1" + ] + }, + "StatusCode": 200 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ReportTests/Query.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ReportTests/Query.json index 3dca620f590c..26ac519415a9 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ReportTests/Query.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ReportTests/Query.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,17 +13,17 @@ "289" ], "x-ms-client-request-id": [ - "998b611f-98d4-46f8-b9c6-b2b1f539e8c5" + "578c0cd6-2226-441f-afed-41505b3f66a3" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:12 GMT" + "Tue, 06 Mar 2018 00:35:18 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,39 +56,42 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "297c20b3-863e-483e-8e27-76c5cd155772", - "d87ccbdc-202a-4486-829e-0ace30822b9f" + "fb03b112-0f9f-4718-b07a-35b662a11b2d", + "6805036d-f465-44ea-9217-77a959ea5546" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "392cb761-af6d-4801-a3b8-3359e213f0ea" + "668011b2-a16e-47a6-ae54-5b3f24f3f598" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191712Z:392cb761-af6d-4801-a3b8-3359e213f0ea" + "WESTUS2:20180306T003519Z:668011b2-a16e-47a6-ae54-5b3f24f3f598" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5ab03fc9-fe17-43d2-935e-dad959f93a1d" + "8d3357f9-19e6-4343-a9b8-79d1609af979" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +103,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:12 GMT" + "Tue, 06 Mar 2018 00:35:18 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +112,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADeFjQ=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,38 +124,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c0a470af-2262-479c-94e9-04429245f58d" + "57722c04-14bc-48cf-962f-e97a9271c853" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14997" ], "x-ms-correlation-request-id": [ - "a412af29-45b4-4a88-b3fe-4f6a017e896e" + "9249f7fa-d52f-436c-94e3-1eff34e709ca" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191712Z:a412af29-45b4-4a88-b3fe-4f6a017e896e" + "WESTUS2:20180306T003519Z:9249f7fa-d52f-436c-94e3-1eff34e709ca" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byApi?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5QXBpPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byApi?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5QXBpPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "26a8a973-8bb3-4849-a5f0-8bf9c506e0b2" + "190a7bbd-ecd2-4800-893b-cdd07192cf34" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Echo API\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Echo API\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"callCountSuccess\": 196,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 196,\r\n \"bandwidth\": 66245,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 112.99034387755103,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 72.738959183673472,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 760.28780000000006\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +170,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:14 GMT" + "Tue, 06 Mar 2018 00:35:19 GMT" ], "Pragma": [ "no-cache" @@ -182,38 +188,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2bd3d054-1ecb-4832-a9ca-b30e765352b3" + "fdeda2ba-d90d-48c7-8419-1492665623e9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14996" ], "x-ms-correlation-request-id": [ - "3b455261-df6c-4407-be94-bdac5c1268f3" + "f6d426d0-bd02-41b3-b629-e2b4807e8d39" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191714Z:3b455261-df6c-4407-be94-bdac5c1268f3" + "WESTUS2:20180306T003519Z:f6d426d0-bd02-41b3-b629-e2b4807e8d39" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byGeo?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5R2VvPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byGeo?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5R2VvPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "65fc9275-9160-4af3-9dd8-1b44dc7a86d7" + "be678f74-c2fd-49af-ac29-2fe3268b1efd" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"TX\",\r\n \"zip\": \"78201\",\r\n \"callCountSuccess\": 80,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 80,\r\n \"bandwidth\": 22880,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 102.58285125,\r\n \"apiTimeMin\": 44.3906,\r\n \"apiTimeMax\": 591.60070000000007,\r\n \"serviceTimeAvg\": 72.32105,\r\n \"serviceTimeMin\": 44.0679,\r\n \"serviceTimeMax\": 591.2077\r\n },\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"IL\",\r\n \"zip\": \"60608\",\r\n \"callCountSuccess\": 80,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 80,\r\n \"bandwidth\": 22800,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 101.041745,\r\n \"apiTimeMin\": 44.2795,\r\n \"apiTimeMax\": 760.6194,\r\n \"serviceTimeAvg\": 71.19251,\r\n \"serviceTimeMin\": 44.056000000000004,\r\n \"serviceTimeMax\": 760.28780000000006\r\n },\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"WA\",\r\n \"zip\": \"98052\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.42547,\r\n \"apiTimeMin\": 44.495000000000005,\r\n \"apiTimeMax\": 398.7982,\r\n \"serviceTimeAvg\": 51.83135,\r\n \"serviceTimeMin\": 44.280300000000004,\r\n \"serviceTimeMax\": 115.97420000000001\r\n },\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"TX\",\r\n \"zip\": \"0\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 90.50603000000001,\r\n \"apiTimeMin\": 44.3566,\r\n \"apiTimeMax\": 501.97150000000005,\r\n \"serviceTimeAvg\": 53.862800000000007,\r\n \"serviceTimeMin\": 44.1133,\r\n \"serviceTimeMax\": 138.74790000000002\r\n },\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"IA\",\r\n \"zip\": \"0\",\r\n \"callCountSuccess\": 6,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 6,\r\n \"bandwidth\": 12005,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 419.55240000000003,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 68.108916666666673,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 182.3805\r\n },\r\n {\r\n \"country\": \"US\",\r\n \"region\": \"IL\",\r\n \"zip\": \"0\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 162.95103,\r\n \"apiTimeMin\": 44.4615,\r\n \"apiTimeMax\": 552.9133,\r\n \"serviceTimeAvg\": 131.01562,\r\n \"serviceTimeMin\": 44.2085,\r\n \"serviceTimeMax\": 552.6203\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +234,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:14 GMT" + "Tue, 06 Mar 2018 00:35:19 GMT" ], "Pragma": [ "no-cache" @@ -243,38 +252,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "854ab74c-36a0-49d5-9942-687a5929f95a" + "9c929fd4-cb44-4f2e-966d-a98cf3eaca2f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14995" ], "x-ms-correlation-request-id": [ - "cc70c08d-ae9b-46dd-8d16-4c746ae26eb2" + "ba703545-11ee-4e43-81f7-a0a2bca3d26b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191715Z:cc70c08d-ae9b-46dd-8d16-4c746ae26eb2" + "WESTUS2:20180306T003520Z:ba703545-11ee-4e43-81f7-a0a2bca3d26b" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byOperation?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5T3BlcmF0aW9uPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byOperation?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5T3BlcmF0aW9uPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b70ad0d3-7fb4-471f-b859-2883ce738978" + "b3bd0d9a-38aa-4397-acb9-755c120f5a8c" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Create resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/create-resource\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Modify Resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/modify-resource\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Remove resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/remove-resource\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Retrieve header only\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-header-only\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Retrieve resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Create resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/create-resource\",\r\n \"callCountSuccess\": 1,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 1,\r\n \"bandwidth\": 8846,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 1669.5748,\r\n \"apiTimeMin\": 1669.5748,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 182.3805,\r\n \"serviceTimeMin\": 182.3805,\r\n \"serviceTimeMax\": 182.3805\r\n },\r\n {\r\n \"name\": \"Modify Resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/modify-resource\",\r\n \"callCountSuccess\": 1,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 1,\r\n \"bandwidth\": 623,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 44.5135,\r\n \"apiTimeMin\": 44.5135,\r\n \"apiTimeMax\": 44.5135,\r\n \"serviceTimeAvg\": 44.0843,\r\n \"serviceTimeMin\": 44.0843,\r\n \"serviceTimeMax\": 44.0843\r\n },\r\n {\r\n \"name\": \"Remove resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/remove-resource\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Retrieve header only\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-header-only\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Retrieve resource\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"callCountSuccess\": 193,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 193,\r\n \"bandwidth\": 56103,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 102.42323575129534,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 760.6194,\r\n \"serviceTimeAvg\": 72.464260103626955,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 760.28780000000006\r\n },\r\n {\r\n \"name\": \"Retrieve resource (cached)\",\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"callCountSuccess\": 1,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 1,\r\n \"bandwidth\": 673,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 664.3346,\r\n \"apiTimeMin\": 664.3346,\r\n \"apiTimeMax\": 664.3346,\r\n \"serviceTimeAvg\": 44.769000000000005,\r\n \"serviceTimeMin\": 44.769000000000005,\r\n \"serviceTimeMax\": 44.769000000000005\r\n }\r\n ],\r\n \"count\": 6,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +298,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:15 GMT" + "Tue, 06 Mar 2018 00:35:20 GMT" ], "Pragma": [ "no-cache" @@ -304,38 +316,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c7f07154-5a6a-4192-ac17-8c529a1d6948" + "7cb5d7f3-8337-4c8a-8d5c-b1bd38238f5c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14994" ], "x-ms-correlation-request-id": [ - "052d95d1-725c-4949-b05a-352342107264" + "e8cf8046-e128-47f3-a103-77b1058fc09e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191715Z:052d95d1-725c-4949-b05a-352342107264" + "WESTUS2:20180306T003520Z:e8cf8046-e128-47f3-a103-77b1058fc09e" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byProduct?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5UHJvZHVjdD8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byProduct?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5UHJvZHVjdD8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ab097cad-d9e1-4fc9-8277-0031778da7ce" + "7da05d47-dc88-443d-839e-f70c87dab857" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Starter\",\r\n \"productId\": \"/products/starter\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Unlimited\",\r\n \"productId\": \"/products/unlimited\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Starter\",\r\n \"productId\": \"/products/starter\",\r\n \"callCountSuccess\": 2,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 2,\r\n \"bandwidth\": 9519,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 1166.9547,\r\n \"apiTimeMin\": 664.3346,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 113.57475000000001,\r\n \"serviceTimeMin\": 44.769000000000005,\r\n \"serviceTimeMax\": 182.3805\r\n },\r\n {\r\n \"name\": \"Unlimited\",\r\n \"productId\": \"/products/unlimited\",\r\n \"callCountSuccess\": 194,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 194,\r\n \"bandwidth\": 56726,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 102.12473195876289,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 760.6194,\r\n \"serviceTimeAvg\": 72.317971649484534,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 760.28780000000006\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +362,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:16 GMT" + "Tue, 06 Mar 2018 00:35:20 GMT" ], "Pragma": [ "no-cache" @@ -365,38 +380,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c5bbd28a-d32c-4732-b46c-b1829ac4de21" + "96930b64-10d0-420f-87b0-da88ad9f0c7b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14993" ], "x-ms-correlation-request-id": [ - "dc7e6782-1982-476d-929a-1fd8b3cc333c" + "3ddb4f17-3593-49c9-adb2-f863d89e0d18" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191716Z:dc7e6782-1982-476d-929a-1fd8b3cc333c" + "WESTUS2:20180306T003520Z:3ddb4f17-3593-49c9-adb2-f863d89e0d18" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/bySubscription?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5U3Vic2NyaXB0aW9uPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/bySubscription?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5U3Vic2NyaXB0aW9uPyRmaWx0ZXI9dGltZXN0YW1wJTIwZ2UlMjBkYXRldGltZScyMDE3LTA2LTIyVDAwOjAwOjAwJyZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0fd10289-5992-45ab-8a33-38727fca684d" + "057ec554-f78f-4337-bffc-6116a2b84e39" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/starter\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070001\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/unlimited\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/starter\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070001\",\r\n \"callCountSuccess\": 2,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 2,\r\n \"bandwidth\": 9519,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 1166.9547,\r\n \"apiTimeMin\": 664.3346,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 113.57475000000001,\r\n \"serviceTimeMin\": 44.769000000000005,\r\n \"serviceTimeMax\": 182.3805\r\n },\r\n {\r\n \"name\": \"\",\r\n \"userId\": \"/users/1\",\r\n \"productId\": \"/products/unlimited\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"callCountSuccess\": 194,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 194,\r\n \"bandwidth\": 56726,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 102.12473195876289,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 760.6194,\r\n \"serviceTimeAvg\": 72.317971649484534,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 760.28780000000006\r\n }\r\n ],\r\n \"count\": 2,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -408,7 +426,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:16 GMT" + "Tue, 06 Mar 2018 00:35:20 GMT" ], "Pragma": [ "no-cache" @@ -426,38 +444,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fdf7ada2-d84b-4e1f-9467-381e8222e7bd" + "53557f22-341d-4000-91d4-dccc02db77db" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14992" ], "x-ms-correlation-request-id": [ - "769f82f4-00dc-49ae-8ef6-cf07786a8b07" + "d257a99c-ef75-46bc-9a24-3fcd3c484d31" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191716Z:769f82f4-00dc-49ae-8ef6-cf07786a8b07" + "WESTUS2:20180306T003521Z:d257a99c-ef75-46bc-9a24-3fcd3c484d31" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byTime?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&interval=PT30M&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5VGltZT8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmaW50ZXJ2YWw9UFQzME0mYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byTime?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&interval=PT30M&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5VGltZT8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmaW50ZXJ2YWw9UFQzME0mYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "24061992-aa63-4653-a583-611d9e8cebc5" + "14e759ed-515b-45cb-b0e4-35ce09c70d76" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [],\r\n \"count\": 0,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"timestamp\": \"2017-08-07T21:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.42547,\r\n \"apiTimeMin\": 44.495000000000005,\r\n \"apiTimeMax\": 398.7982,\r\n \"serviceTimeAvg\": 51.83135,\r\n \"serviceTimeMin\": 44.280300000000004,\r\n \"serviceTimeMax\": 115.97420000000001\r\n },\r\n {\r\n \"timestamp\": \"2017-08-18T01:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.97234,\r\n \"apiTimeMin\": 44.4067,\r\n \"apiTimeMax\": 405.77360000000004,\r\n \"serviceTimeAvg\": 51.03365,\r\n \"serviceTimeMin\": 44.131800000000005,\r\n \"serviceTimeMax\": 109.71690000000001\r\n },\r\n {\r\n \"timestamp\": \"2017-08-22T23:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 95.593820000000008,\r\n \"apiTimeMin\": 48.281200000000005,\r\n \"apiTimeMax\": 513.3941,\r\n \"serviceTimeAvg\": 58.466809999999995,\r\n \"serviceTimeMin\": 48.015,\r\n \"serviceTimeMax\": 144.9402\r\n },\r\n {\r\n \"timestamp\": \"2017-08-25T16:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.53355,\r\n \"apiTimeMin\": 44.394200000000005,\r\n \"apiTimeMax\": 400.59900000000005,\r\n \"serviceTimeAvg\": 51.710710000000006,\r\n \"serviceTimeMin\": 44.1156,\r\n \"serviceTimeMax\": 115.8096\r\n },\r\n {\r\n \"timestamp\": \"2017-08-28T19:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 82.3302,\r\n \"apiTimeMin\": 44.5686,\r\n \"apiTimeMax\": 416.1664,\r\n \"serviceTimeAvg\": 52.51221,\r\n \"serviceTimeMin\": 44.1784,\r\n \"serviceTimeMax\": 121.6342\r\n },\r\n {\r\n \"timestamp\": \"2017-08-30T00:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.806720000000013,\r\n \"apiTimeMin\": 44.6986,\r\n \"apiTimeMax\": 399.5978,\r\n \"serviceTimeAvg\": 53.07242,\r\n \"serviceTimeMin\": 44.3716,\r\n \"serviceTimeMax\": 125.7459\r\n },\r\n {\r\n \"timestamp\": \"2017-09-05T22:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 82.28773,\r\n \"apiTimeMin\": 44.3906,\r\n \"apiTimeMax\": 418.9957,\r\n \"serviceTimeAvg\": 52.84651,\r\n \"serviceTimeMin\": 44.0679,\r\n \"serviceTimeMax\": 128.09560000000002\r\n },\r\n {\r\n \"timestamp\": \"2017-09-15T19:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 6,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 6,\r\n \"bandwidth\": 1710,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 100.77743333333335,\r\n \"apiTimeMin\": 44.5951,\r\n \"apiTimeMax\": 369.48060000000004,\r\n \"serviceTimeAvg\": 56.35306666666667,\r\n \"serviceTimeMin\": 44.3688,\r\n \"serviceTimeMax\": 105.357\r\n },\r\n {\r\n \"timestamp\": \"2017-09-15T19:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 4,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 4,\r\n \"bandwidth\": 1140,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 44.89715,\r\n \"apiTimeMin\": 44.736000000000004,\r\n \"apiTimeMax\": 45.0081,\r\n \"serviceTimeAvg\": 44.591,\r\n \"serviceTimeMin\": 44.4515,\r\n \"serviceTimeMax\": 44.701100000000004\r\n },\r\n {\r\n \"timestamp\": \"2017-09-26T00:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 169.38808,\r\n \"apiTimeMin\": 44.482400000000005,\r\n \"apiTimeMax\": 591.60070000000007,\r\n \"serviceTimeAvg\": 138.18714,\r\n \"serviceTimeMin\": 44.2541,\r\n \"serviceTimeMax\": 591.2077\r\n },\r\n {\r\n \"timestamp\": \"2017-09-29T01:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 84.65684,\r\n \"apiTimeMin\": 44.9239,\r\n \"apiTimeMax\": 438.7459,\r\n \"serviceTimeAvg\": 53.09559,\r\n \"serviceTimeMin\": 44.5934,\r\n \"serviceTimeMax\": 126.44720000000001\r\n },\r\n {\r\n \"timestamp\": \"2017-10-05T20:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 78.31927,\r\n \"apiTimeMin\": 44.338,\r\n \"apiTimeMax\": 364.9227,\r\n \"serviceTimeAvg\": 52.015960000000007,\r\n \"serviceTimeMin\": 44.0569,\r\n \"serviceTimeMax\": 110.97970000000001\r\n },\r\n {\r\n \"timestamp\": \"2017-10-19T03:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 91.16387,\r\n \"apiTimeMin\": 44.2795,\r\n \"apiTimeMax\": 507.6177,\r\n \"serviceTimeAvg\": 52.383950000000006,\r\n \"serviceTimeMin\": 44.056000000000004,\r\n \"serviceTimeMax\": 123.3345\r\n },\r\n {\r\n \"timestamp\": \"2017-10-27T22:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 80.18436,\r\n \"apiTimeMin\": 44.7808,\r\n \"apiTimeMax\": 395.8116,\r\n \"serviceTimeAvg\": 54.08238,\r\n \"serviceTimeMin\": 44.462700000000005,\r\n \"serviceTimeMax\": 138.3347\r\n },\r\n {\r\n \"timestamp\": \"2017-11-06T17:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 148.75037,\r\n \"apiTimeMin\": 44.9981,\r\n \"apiTimeMax\": 463.56120000000004,\r\n \"serviceTimeAvg\": 120.73895,\r\n \"serviceTimeMin\": 44.682500000000005,\r\n \"serviceTimeMax\": 463.23510000000005\r\n },\r\n {\r\n \"timestamp\": \"2017-11-09T02:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 210.68367000000003,\r\n \"apiTimeMin\": 50.8297,\r\n \"apiTimeMax\": 760.6194,\r\n \"serviceTimeAvg\": 181.6298,\r\n \"serviceTimeMin\": 50.5576,\r\n \"serviceTimeMax\": 760.28780000000006\r\n },\r\n {\r\n \"timestamp\": \"2017-11-16T20:30:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 90.99065,\r\n \"apiTimeMin\": 50.7498,\r\n \"apiTimeMax\": 447.8064,\r\n \"serviceTimeAvg\": 61.489,\r\n \"serviceTimeMin\": 50.442800000000005,\r\n \"serviceTimeMax\": 156.6904\r\n },\r\n {\r\n \"timestamp\": \"2017-11-30T18:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 93.90998,\r\n \"apiTimeMin\": 50.7864,\r\n \"apiTimeMax\": 447.3483,\r\n \"serviceTimeAvg\": 63.19516,\r\n \"serviceTimeMin\": 50.5264,\r\n \"serviceTimeMax\": 144.6286\r\n },\r\n {\r\n \"timestamp\": \"2018-02-17T02:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2850,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 162.95103,\r\n \"apiTimeMin\": 44.4615,\r\n \"apiTimeMax\": 552.9133,\r\n \"serviceTimeAvg\": 131.01562,\r\n \"serviceTimeMin\": 44.2085,\r\n \"serviceTimeMax\": 552.6203\r\n },\r\n {\r\n \"timestamp\": \"2018-02-21T18:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 10,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 10,\r\n \"bandwidth\": 2860,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 90.50603000000001,\r\n \"apiTimeMin\": 44.3566,\r\n \"apiTimeMax\": 501.97150000000005,\r\n \"serviceTimeAvg\": 53.862800000000007,\r\n \"serviceTimeMin\": 44.1133,\r\n \"serviceTimeMax\": 138.74790000000002\r\n },\r\n {\r\n \"timestamp\": \"2018-03-06T00:00:00Z\",\r\n \"interval\": \"PT30M\",\r\n \"callCountSuccess\": 6,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 6,\r\n \"bandwidth\": 12005,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 419.55240000000003,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 68.108916666666673,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 182.3805\r\n }\r\n ],\r\n \"count\": 21,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -469,7 +490,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:17 GMT" + "Tue, 06 Mar 2018 00:35:20 GMT" ], "Pragma": [ "no-cache" @@ -487,38 +508,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1db21fcd-94fd-4bad-9522-48a21008937d" + "f45af63f-f6a6-48da-bff7-48c3aaae1ba5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14991" ], "x-ms-correlation-request-id": [ - "e194491a-1510-4a75-83e0-f1afe2ffa1cd" + "4bdd95f1-87b2-4e1d-b988-b8806f568f73" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191717Z:e194491a-1510-4a75-83e0-f1afe2ffa1cd" + "WESTUS2:20180306T003521Z:4bdd95f1-87b2-4e1d-b988-b8806f568f73" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byUser?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5VXNlcj8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byUser?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5VXNlcj8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ca049638-d893-461e-94d4-03a743b1ecb7" + "9c3ac612-e04f-4f6f-83cc-3510d5817bf8" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Administrator\",\r\n \"userId\": \"/users/1\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n },\r\n {\r\n \"name\": \"Anonymous\",\r\n \"userId\": \"/users/54c800b332965a0035030000\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"name\": \"Administrator\",\r\n \"userId\": \"/users/1\",\r\n \"callCountSuccess\": 196,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 196,\r\n \"bandwidth\": 66245,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 1,\r\n \"apiTimeAvg\": 112.99034387755103,\r\n \"apiTimeMin\": 44.263600000000004,\r\n \"apiTimeMax\": 1669.5748,\r\n \"serviceTimeAvg\": 72.738959183673472,\r\n \"serviceTimeMin\": 43.6993,\r\n \"serviceTimeMax\": 760.28780000000006\r\n },\r\n {\r\n \"name\": \"Anonymous\",\r\n \"userId\": \"/users/54c800b332965a0035030000\",\r\n \"callCountSuccess\": 0,\r\n \"callCountBlocked\": 0,\r\n \"callCountFailed\": 0,\r\n \"callCountOther\": 0,\r\n \"callCountTotal\": 0,\r\n \"bandwidth\": 0,\r\n \"cacheHitCount\": 0,\r\n \"cacheMissCount\": 0,\r\n \"apiTimeAvg\": 0.0,\r\n \"apiTimeMin\": 0.0,\r\n \"apiTimeMax\": 0.0,\r\n \"serviceTimeAvg\": 0.0,\r\n \"serviceTimeMin\": 0.0,\r\n \"serviceTimeMax\": 0.0\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -530,7 +554,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:17 GMT" + "Tue, 06 Mar 2018 00:35:20 GMT" ], "Pragma": [ "no-cache" @@ -548,38 +572,41 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e551f24e-87dc-4761-a79b-974e14807148" + "1af0d1c3-4625-4ae0-9f27-3703b1c794b9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14990" ], "x-ms-correlation-request-id": [ - "693518d3-7eb3-4566-a6c8-00634b061f1f" + "19fd3c82-8af8-481a-a0db-a772ec2d6a75" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191718Z:693518d3-7eb3-4566-a6c8-00634b061f1f" + "WESTUS2:20180306T003521Z:19fd3c82-8af8-481a-a0db-a772ec2d6a75" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byRequest?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5UmVxdWVzdD8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/reports/byRequest?$filter=timestamp%20ge%20datetime'2017-06-22T00:00:00'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9yZXBvcnRzL2J5UmVxdWVzdD8kZmlsdGVyPXRpbWVzdGFtcCUyMGdlJTIwZGF0ZXRpbWUnMjAxNy0wNi0yMlQwMDowMDowMCcmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b8392488-4481-4c7c-9436-8b97641cdad3" + "e45bae4c-89eb-40cd-b251-93861d2a14af" ], "accept-language": [ "en-US" ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/interna-status-0123456789abcdef\",\r\n \"ipAddress\": \"131.107.174.154\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2017-07-13T23:23:53.5816069\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 876.451,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"7f4f12c9-82aa-4852-93dc-e6e819987bfd\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/favicon.ico\",\r\n \"ipAddress\": \"131.107.174.154\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2017-07-13T23:23:54.6285103\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 0.66980000000000006,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"a32bf026-fc60-4c0e-b543-cf76e9d9a665\",\r\n \"requestSize\": 0\r\n }\r\n ],\r\n \"count\": 2\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/interna-status-0123456789abcdef\",\r\n \"ipAddress\": \"131.107.174.154\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2017-07-13T23:23:53.5816069Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 876.451,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"7f4f12c9-82aa-4852-93dc-e6e819987bfd\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/favicon.ico\",\r\n \"ipAddress\": \"131.107.174.154\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2017-07-13T23:23:54.6285103Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 0.66980000000000006,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"a32bf026-fc60-4c0e-b543-cf76e9d9a665\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:19:42.3994478Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 398.7982,\r\n \"serviceTime\": 115.97420000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"ff2971aa-4c77-4879-8d1a-af1032546153\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:19:47.8415987Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.521,\r\n \"serviceTime\": 44.6094,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a287f019-e668-4746-957a-e51cd966eeae\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:19:52.9030826Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8112,\r\n \"serviceTime\": 44.518100000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"717909b1-b991-4644-bfcf-4a85ffa74670\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:19:57.9425225Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.7115,\r\n \"serviceTime\": 45.4498,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7ff42c10-8e89-41b7-a540-2fa9f46d39cb\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:03.0128091Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.252700000000004,\r\n \"serviceTime\": 44.911300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"e9d2eb4f-e6a3-4cf6-851f-a38dc7747262\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:08.0785122Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.985800000000005,\r\n \"serviceTime\": 44.7153,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"35b4f436-3e7c-446d-b6b8-28b65acb3edf\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:13.143713Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.6278,\r\n \"serviceTime\": 44.408300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2ce0e20e-8908-41f9-94a3-c3e57fac80b3\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:18.2068733Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.1638,\r\n \"serviceTime\": 44.8616,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5c43b6d7-724d-43a5-805b-6e99ad1374bf\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:23.2696227Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.495000000000005,\r\n \"serviceTime\": 44.280300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"798002d9-58b2-4b80-b98a-7da72579d451\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-08-07T21:20:28.3297958Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8877,\r\n \"serviceTime\": 44.5852,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b3f7f8e5-9db8-4bbe-8ff4-d431e78f93ad\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:32.4633311Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 405.77360000000004,\r\n \"serviceTime\": 109.71690000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"82a75278-2c11-4680-bb55-d03fec0d5394\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:37.9160813Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.5173,\r\n \"serviceTime\": 44.4439,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5d78d33a-6a50-45fb-9c90-b8c1891100f6\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:43.0077901Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.6762,\r\n \"serviceTime\": 44.4478,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"77bd3850-03a8-4f49-b6d8-f0433a93bf55\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:48.1156987Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9489,\r\n \"serviceTime\": 44.6541,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"9355f60e-3cf7-4846-a977-fe689d68c6a5\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:53.2042181Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.4067,\r\n \"serviceTime\": 44.131800000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"80907ca9-e6a8-410e-80eb-cd5f4e62560c\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:50:58.3066918Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.846000000000004,\r\n \"serviceTime\": 44.5929,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"28e09ded-0705-4834-8501-8ecbc9f87b5c\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:51:03.3974731Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.446400000000004,\r\n \"serviceTime\": 44.1625,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"ecc3c86d-7d01-4901-87be-8338568cf51a\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:51:08.4886922Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0544,\r\n \"serviceTime\": 44.694700000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6357137b-14c7-4af8-85c8-341addb269e3\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:51:13.568822Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7316,\r\n \"serviceTime\": 44.4906,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"057acf31-0a55-443e-b4bf-fcad483cb38d\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-18T01:51:18.6721766Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.322300000000006,\r\n \"serviceTime\": 45.0013,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"d8b574e3-a9b8-4c6f-bfc4-9b736ae0e5c3\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:22:38.8425726Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 513.3941,\r\n \"serviceTime\": 144.9402,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c9f30e98-5766-453b-9547-e3950db270e2\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:22:44.6249951Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.8006,\r\n \"serviceTime\": 48.8892,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4da586db-02fd-4f2b-b8cb-33b7b0ed2952\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:22:49.7161898Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.6471,\r\n \"serviceTime\": 49.384,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b93a6866-aa95-414e-8087-575bc8be84e4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:22:54.7973344Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.646100000000004,\r\n \"serviceTime\": 48.4401,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"f67299d8-8c30-4709-902d-19c23be5be88\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:22:59.8719881Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.426,\r\n \"serviceTime\": 49.208200000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"1d3d81e0-f4b4-4fe6-b4e9-92ba4825bd80\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:23:04.9658545Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.6435,\r\n \"serviceTime\": 49.409600000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b5d5da7b-e060-459c-b41c-ffa1c34a0193\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:23:10.0450413Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.281200000000005,\r\n \"serviceTime\": 48.015,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"44e4696a-87c0-40f1-ac62-15d02de9a0f7\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:23:15.1534866Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.7181,\r\n \"serviceTime\": 48.464200000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"60eb1ee1-05b7-4486-bad4-796b6f6abe40\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:23:20.2208737Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.4065,\r\n \"serviceTime\": 49.1785,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"8701de57-f906-44e5-b10f-d073113d02d0\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-22T23:23:25.325534Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.975,\r\n \"serviceTime\": 48.7391,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7d3ec426-e276-44d7-ae65-9215a8b23ca5\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:24:41.131193Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 400.59900000000005,\r\n \"serviceTime\": 115.8096,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"23ce3aab-4425-4998-94b5-7c41647f8a61\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:24:46.5938393Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.7385,\r\n \"serviceTime\": 44.725300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"64028abf-e352-4d04-a34f-db4d517ac401\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:24:51.654492Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.2551,\r\n \"serviceTime\": 44.871300000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"94a067cb-01d2-4e94-bad5-7fb404b1c726\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:24:56.7197122Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.2074,\r\n \"serviceTime\": 44.926300000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"296722d6-b4aa-445c-bad5-77a8a28eba4a\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:01.7845145Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8577,\r\n \"serviceTime\": 44.578500000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"cb4d7375-651b-411b-b73a-3578ae62abe0\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:06.8677785Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.394200000000005,\r\n \"serviceTime\": 44.1156,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b5ad33a7-0660-4017-a3f6-4122b74b5cad\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:11.9252192Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7793,\r\n \"serviceTime\": 44.4543,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"013121c4-f22a-45ff-9a3c-be6011e92af4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:16.9899732Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0878,\r\n \"serviceTime\": 44.7813,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"8ab42698-ec95-4db2-99b4-5b950688c892\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:22.0759221Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8046,\r\n \"serviceTime\": 44.511,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b65f7778-ce58-4985-94ae-210b0aee92a3\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-25T16:25:27.1462223Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.611900000000006,\r\n \"serviceTime\": 44.3339,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"45d00fe4-b063-41bf-bcfe-f353d8399c24\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:53:49.7081666Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 416.1664,\r\n \"serviceTime\": 121.6342,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"929536c5-5aa3-4a7e-96d4-fc0cb3443352\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:53:55.1909294Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.3862,\r\n \"serviceTime\": 47.2434,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"fa97ce55-5982-40a6-ab2f-6fc4e61d44bb\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:00.2672934Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.5686,\r\n \"serviceTime\": 44.1784,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"bd08b2e4-1b85-419a-98b8-027cdfdc319a\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:05.3266172Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.910700000000006,\r\n \"serviceTime\": 44.5521,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"bda398ec-87b1-4306-b969-e553d08d99df\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:10.3803959Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.923,\r\n \"serviceTime\": 44.565200000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"0fb966cf-3d66-4fac-8142-83b7274dd28d\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:15.4608119Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.725,\r\n \"serviceTime\": 44.446000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5f2319fd-07c6-4ae5-9d26-a8f3b96d40c5\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:20.5463278Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.858000000000004,\r\n \"serviceTime\": 44.632000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"ef096b07-38a1-47b6-af6c-6aa57e3ce8e6\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:25.6085877Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8243,\r\n \"serviceTime\": 44.5432,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"46d70e56-8351-4898-ae6f-1ad7bf648436\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:30.6699314Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8301,\r\n \"serviceTime\": 44.503,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"fe22c4d7-4875-4b97-8063-88550a45f61e\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-28T19:54:35.7241991Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.109700000000004,\r\n \"serviceTime\": 44.824600000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"23b32b5e-021d-4c7f-aab0-8285c5289515\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:24:50.8075853Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 399.5978,\r\n \"serviceTime\": 125.7459,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4787e8ca-1f7b-4294-b4b9-59e9d975fcca\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:24:56.2497248Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.6199,\r\n \"serviceTime\": 44.5154,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c75df511-b8be-4c85-b409-0f0a031a8348\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:01.330314Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.974000000000004,\r\n \"serviceTime\": 44.656,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"cdfb3a33-b0ca-46cb-acd4-e5ee2cfe98ff\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:06.4105139Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 48.1578,\r\n \"serviceTime\": 47.9313,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"fb5ea6eb-0939-47d2-a1ca-88a06a8356b5\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:11.4755021Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.2695,\r\n \"serviceTime\": 44.8877,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"750ce1ca-c1b1-4ea0-8083-66aae21516ab\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:16.5400396Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8846,\r\n \"serviceTime\": 44.5399,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2e569ed4-60a7-47e5-aa77-425f631990a4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:21.6078033Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.2592,\r\n \"serviceTime\": 45.029700000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a0013396-4287-4704-972c-6f66ec1612d4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:26.669011Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.6986,\r\n \"serviceTime\": 44.3716,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2f63266a-359a-44cb-8ce3-383dc881b56c\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:31.7335825Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8988,\r\n \"serviceTime\": 44.5996,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"d1a4afff-0fd4-4654-ad5e-652175808465\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-08-30T00:25:36.7935016Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.707,\r\n \"serviceTime\": 44.4471,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6a650828-ce9c-4a86-8c10-e3a4e5dbe96a\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:16.8872889Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 418.9957,\r\n \"serviceTime\": 128.09560000000002,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4d5caba4-de33-4a0f-9e9e-ae31eb90a904\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:22.391335Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.670700000000004,\r\n \"serviceTime\": 44.7684,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c772de9e-48f3-4791-adde-acdd171c5a62\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:27.4810659Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.691,\r\n \"serviceTime\": 44.374900000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c9793550-2675-4e70-94bd-0c227b02b5d4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:32.577867Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.5401,\r\n \"serviceTime\": 44.2256,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c688c486-8931-4ccc-ba58-2bbfa08dd35e\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:37.6781146Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.3906,\r\n \"serviceTime\": 44.0679,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"11fa947f-a147-4111-9678-a7818115c0b6\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:42.7693347Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9373,\r\n \"serviceTime\": 44.5214,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5fafa288-3e18-4779-a6e3-dfe79deffa91\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:47.8397781Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.955600000000004,\r\n \"serviceTime\": 44.6109,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"220867e8-fa11-4f42-9367-1af90223b695\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:52.933633Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8119,\r\n \"serviceTime\": 44.5396,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"cb3d3549-94b6-42c8-a329-423db0af93b3\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:40:58.0248285Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0944,\r\n \"serviceTime\": 44.7564,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"24b9591a-fc22-400c-b02b-49a9cbc324fe\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-05T22:41:03.1215636Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.79,\r\n \"serviceTime\": 44.504400000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"61cb3ec8-10bf-41c4-8d30-8be5687b3d81\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:29.4255542Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 369.48060000000004,\r\n \"serviceTime\": 105.357,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"3b6723dc-0cf8-4db8-89fa-31a4d4ea5f3b\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:34.8370135Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.7019,\r\n \"serviceTime\": 44.3739,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4ff7073e-527d-4e1a-8aab-0bf90e9e8a3c\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:39.8858181Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8166,\r\n \"serviceTime\": 44.513000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"35b9a17a-e4ac-4708-87a6-8b21b648a076\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:44.9392173Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 55.302800000000005,\r\n \"serviceTime\": 55.0266,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"8aefa350-80de-4336-8e76-807637826583\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:49.9931275Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.5951,\r\n \"serviceTime\": 44.3688,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a08add3f-9822-4cd5-8167-fffdf722d7e9\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:29:55.0646679Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7676,\r\n \"serviceTime\": 44.4791,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"8bd5c765-55c2-440c-b30e-297db797ff21\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:30:00.1063008Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9909,\r\n \"serviceTime\": 44.701100000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"de99f5b1-aa1c-4090-9369-12146938d3e7\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:30:05.1549098Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8536,\r\n \"serviceTime\": 44.527,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2f3309bf-0b40-48f2-a3a4-86bb87be47e0\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:30:10.198323Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.736000000000004,\r\n \"serviceTime\": 44.4515,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"3cc992b9-12ba-47d6-80e9-2bb00a98ccb5\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-15T19:30:15.2412968Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0081,\r\n \"serviceTime\": 44.684400000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"598b36e8-d370-4b26-8e14-5c3bbc2f7041\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:02:59.9748356Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 434.52680000000004,\r\n \"serviceTime\": 126.22470000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"438a78d2-1961-441a-b5bb-e113d268ce6b\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:05.4895983Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 46.2064,\r\n \"serviceTime\": 45.1893,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"f4da2eec-3712-4fd1-9265-bf60c93d907c\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:10.5650717Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.824200000000005,\r\n \"serviceTime\": 44.5176,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"50124bbf-6854-4879-93cc-05521a2b5b40\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:15.6526403Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.851600000000005,\r\n \"serviceTime\": 44.557500000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"35441e10-70dc-4144-b3c9-5c2b738519ae\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:20.7338218Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.482400000000005,\r\n \"serviceTime\": 44.2541,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"20940695-bc73-4519-b104-76d071e067df\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:25.8205635Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7747,\r\n \"serviceTime\": 44.5255,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"dc296fb9-7326-4771-a8b0-9c5dced4d9f4\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:30.9571099Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 66.9139,\r\n \"serviceTime\": 66.295600000000007,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"28b359a8-fb20-4d52-9ee1-f06eff8a255d\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:36.1176147Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 46.9197,\r\n \"serviceTime\": 46.6809,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"e465f965-7c4a-42aa-b6d8-a11ac7173292\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:41.1932468Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 328.78040000000004,\r\n \"serviceTime\": 328.4185,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"72d30834-71e5-4f7c-8d7b-6223eae19905\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-09-26T00:03:46.5721795Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 591.60070000000007,\r\n \"serviceTime\": 591.2077,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"664de22f-dcda-4d1d-93e1-24bc5ab8846d\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:36:38.3981596Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 438.7459,\r\n \"serviceTime\": 126.44720000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"905454b8-c5f4-4c8d-80c2-d99a5942fac7\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:36:43.8985519Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.9114,\r\n \"serviceTime\": 44.7442,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"04959572-5a4d-40a8-a900-5aa72dfbfdef\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:36:48.9593526Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9239,\r\n \"serviceTime\": 44.5934,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"89f65eb3-127b-4752-9761-074800388a17\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:36:54.0064911Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.5,\r\n \"serviceTime\": 45.2569,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6788f084-6aaf-42b2-a58b-ff0fee7164d2\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:36:59.0714569Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.249100000000006,\r\n \"serviceTime\": 44.9373,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"d4dd89be-200f-43db-a52d-30c872b0f608\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:37:04.1365812Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.352900000000005,\r\n \"serviceTime\": 45.075700000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"229c3890-54bf-4780-abe2-c8b7a6453828\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:37:09.174611Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9384,\r\n \"serviceTime\": 44.644800000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"71d44aea-441f-4770-9b84-e88dd23ca27a\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:37:14.2391001Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.007000000000005,\r\n \"serviceTime\": 44.771300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"ac466766-a23f-4e7e-92da-14f34e5bc067\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:37:19.3090771Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.9878,\r\n \"serviceTime\": 45.7633,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"56a3d7f0-748d-4193-828f-445e70ba4114\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-09-29T01:37:24.3579098Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.952000000000005,\r\n \"serviceTime\": 44.7218,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7ab3e7a1-2b11-4afd-b73b-b0493c8c4208\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:20:39.6697246Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 364.9227,\r\n \"serviceTime\": 110.97970000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a4699a08-a2d0-4c26-a539-a8ba6a79d04e\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:20:45.0764887Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.7592,\r\n \"serviceTime\": 44.7278,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"246b0dc1-b738-4547-9eed-c8a14b97505e\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:20:50.1520958Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8359,\r\n \"serviceTime\": 44.5371,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"12720ec3-421a-4ea0-84dd-7f9bd28d2c3e\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:20:55.1856855Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9876,\r\n \"serviceTime\": 44.6678,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"033e48da-2d75-4726-90d3-6c52cf458171\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:00.2450141Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.338,\r\n \"serviceTime\": 44.0569,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7c103c97-b2fd-4888-ab16-b4b3c01f2a1c\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:05.2998319Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.2543,\r\n \"serviceTime\": 51.0415,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"49113c57-e06a-45e0-a1e2-95c1588834aa\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:10.3652566Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7304,\r\n \"serviceTime\": 44.505700000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4ad3c01d-f6a4-4c80-ba14-1ba899b44d08\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:15.4296636Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.445800000000006,\r\n \"serviceTime\": 44.1543,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b86fe156-aa1d-48b4-89c4-9a9b9e4b147c\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:20.495029Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 52.7391,\r\n \"serviceTime\": 46.5658,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6a3ab8ba-eae9-486b-a4a8-8b055726ed71\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-05T20:21:25.5901698Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.179700000000004,\r\n \"serviceTime\": 44.923,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b6a8e84d-941b-4cc9-b25c-762b5b0a730f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:30.3030768Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 507.6177,\r\n \"serviceTime\": 123.3345,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4d953c79-3221-45a1-a76a-200469808ea5\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:35.8705079Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.5146,\r\n \"serviceTime\": 44.4272,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b3ce24d1-c1da-4ecf-8742-482e38ca340b\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:40.9363149Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7078,\r\n \"serviceTime\": 44.3415,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"9db80732-5d57-41f9-a6ef-563081f3aa12\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:46.0005709Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.878,\r\n \"serviceTime\": 44.535000000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"ee05f4a1-d60b-49fe-8c49-86f10cebb2f6\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:51.1428034Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.4972,\r\n \"serviceTime\": 45.1886,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a9f636eb-0fa9-4665-a382-2e61b0138bb0\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:22:56.2047342Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9681,\r\n \"serviceTime\": 44.6495,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"597e8b45-e3b2-428a-a2ea-3c86dbfb1608\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:23:01.2695476Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9635,\r\n \"serviceTime\": 44.644000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"d8503d6e-0c7d-48a9-ae33-d6a05ec43528\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:23:06.3241822Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8097,\r\n \"serviceTime\": 44.486200000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4178f06d-ba88-4c7b-9976-865d58138157\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:23:11.433928Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.2795,\r\n \"serviceTime\": 44.056000000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"35ac7265-602c-4e0b-8f2a-f15e82d98739\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-19T03:23:16.4855156Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.4026,\r\n \"serviceTime\": 44.177,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2b8212ad-74d4-4908-8460-3cd1be3024a7\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:07.4613486Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 395.8116,\r\n \"serviceTime\": 138.3347,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"55e3ed79-b861-4c0c-b9cf-2731e38ebe49\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:12.9114949Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.5981,\r\n \"serviceTime\": 44.6544,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"cb905ccf-b832-4341-ae8c-e73760282cfc\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:17.9854083Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7808,\r\n \"serviceTime\": 44.5336,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"a63e0a33-df0d-4cbb-8cba-b86fa1f48d11\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:23.0458301Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.2563,\r\n \"serviceTime\": 45.0255,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5d3e95cd-1791-4e36-87f5-c0ff7093ca60\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:28.1036528Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.112700000000004,\r\n \"serviceTime\": 44.7856,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5c5316cb-a3be-46dd-97b3-52e77f029402\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:33.1857056Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.8211,\r\n \"serviceTime\": 44.462700000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"0e0580df-1f3b-4e22-9f36-78a8ea641544\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:38.2480569Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.973400000000005,\r\n \"serviceTime\": 44.6374,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6d14612d-241f-44af-b95a-e5131ce360c1\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:43.2978427Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0844,\r\n \"serviceTime\": 44.7184,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"f282f3d1-0f7a-48f2-a662-a19019eeda32\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:48.3426107Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.154,\r\n \"serviceTime\": 44.7695,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"09e66ac1-a0ed-4783-980b-64ec0f4eeb9f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-10-27T22:41:53.3968882Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.251200000000004,\r\n \"serviceTime\": 44.902,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"379b3d5a-225f-401d-9937-45268f174ed1\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:12.8515217Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 398.1062,\r\n \"serviceTime\": 121.47330000000001,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"45aa1ba8-65ee-4cf3-9094-f8e4731317ae\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:18.2987239Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 304.712,\r\n \"serviceTime\": 303.6884,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"74b03343-b1e5-4a6b-8679-a055013122cb\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:23.6335632Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.173100000000005,\r\n \"serviceTime\": 44.8816,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"1a12e39f-4e6c-4c69-b9fe-e1d8bb81b3e2\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:28.7087207Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.9981,\r\n \"serviceTime\": 44.682500000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c6bb88f6-ad1a-424f-9714-37918141764f\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:33.7837016Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 463.56120000000004,\r\n \"serviceTime\": 463.23510000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"0870e32b-0000-48d1-b472-8d343479e5d0\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:39.2839143Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0754,\r\n \"serviceTime\": 44.7648,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c1105a07-e831-43f1-b722-47dcf61da910\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:44.3328951Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0873,\r\n \"serviceTime\": 44.7849,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"3e421e48-4044-4d1a-acce-e4005cae6486\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:49.4186295Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.1498,\r\n \"serviceTime\": 49.7826,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"19f7d303-d6e0-4bd7-b287-f37576bf1dc1\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:54.5025262Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0163,\r\n \"serviceTime\": 44.7778,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"de832bf4-a658-4d75-8bd2-3302d72db1ef\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2017-11-06T17:34:59.5588223Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.624300000000005,\r\n \"serviceTime\": 45.3185,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"721cb51e-5606-4101-a022-faba581564db\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:02.5022138Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 406.3157,\r\n \"serviceTime\": 119.3263,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"74e3377a-327f-41b6-9a13-76d0221a8977\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:07.9600002Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.9132,\r\n \"serviceTime\": 50.7672,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"133e2c6d-7015-4f61-81d8-0cfd3429a091\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:13.0344772Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.8297,\r\n \"serviceTime\": 50.5576,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6ab19885-206d-45aa-a50b-fa19b2d87fcc\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:18.0968121Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.256600000000006,\r\n \"serviceTime\": 50.9742,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"bf3ae5ae-2114-4a59-b196-4e169f2fa2eb\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:23.1569668Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 579.7566,\r\n \"serviceTime\": 579.4876,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"d9c168c5-b1de-49fd-8d53-d8d24c39cfce\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:28.7854313Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 52.664300000000004,\r\n \"serviceTime\": 52.272600000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"87621258-32f9-4107-ac3d-51d93151494d\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:33.8648565Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.2584,\r\n \"serviceTime\": 50.965700000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"1c16ad2f-536d-4ce6-846d-540d4dab7833\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:38.9293607Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.326,\r\n \"serviceTime\": 51.039,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c94e7739-b331-47dc-8fa2-1e7148e1c371\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:44.0160642Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.8968,\r\n \"serviceTime\": 50.620000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b25460c2-b0f2-4668-8bf6-44fc38d54984\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-09T02:04:49.0962158Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 760.6194,\r\n \"serviceTime\": 760.28780000000006,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"fe26f0d9-77c6-4bc7-b8f1-b45f61a61137\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:45:54.291443Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 447.8064,\r\n \"serviceTime\": 156.6904,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"be9d3d9b-9821-4c77-bb34-5722653f77da\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:45:59.8117528Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 52.520500000000006,\r\n \"serviceTime\": 51.216300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5c39b007-502b-4d70-9b48-e363c7892700\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:04.8818152Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.060700000000004,\r\n \"serviceTime\": 50.7376,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"065879c8-1961-45bf-93be-0fabc796d17a\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:09.9448677Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.394000000000005,\r\n \"serviceTime\": 51.072500000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"2429bbb2-1974-4ab8-ace2-befd9901703a\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:15.0190147Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.4009,\r\n \"serviceTime\": 50.9833,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"bd589320-cae9-413e-881f-5c233f742a03\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:20.1146928Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.2235,\r\n \"serviceTime\": 50.929700000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"58c5347a-5bbf-47d5-921d-7dfc3cb14f9c\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:25.1753919Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.179500000000004,\r\n \"serviceTime\": 50.883,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"bcc7ce2b-4bbd-4db2-ac7c-ba8a7be759ee\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:30.2288888Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.2971,\r\n \"serviceTime\": 50.9486,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4fe954f4-aa2d-48cf-8c96-b7d0ea06c43f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:35.3073287Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.7498,\r\n \"serviceTime\": 50.442800000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"14115e94-2416-4358-844a-d617eb10759f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-16T20:46:40.3737098Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.274100000000004,\r\n \"serviceTime\": 50.985800000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"24c81203-6f66-4056-8b68-50b57f849a90\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:08.3974551Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 447.3483,\r\n \"serviceTime\": 144.6286,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"05d73db7-4653-4a01-8a81-d1bf02a07f72\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:13.8954512Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 52.0107,\r\n \"serviceTime\": 50.919000000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"0597cc32-56fe-47ca-a8ad-de12e4ff472f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:18.9746185Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.372800000000005,\r\n \"serviceTime\": 51.086400000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"f0d72091-3180-401b-bf92-8fb6f01be83b\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:24.0289678Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.718500000000006,\r\n \"serviceTime\": 50.7085,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"97bebc68-9c36-41e4-bd5f-188769f329cd\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:29.1060524Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.877700000000004,\r\n \"serviceTime\": 50.586600000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"af2c65e6-4b40-4af1-b172-cedc7e75479b\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:34.1860982Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.189,\r\n \"serviceTime\": 50.916000000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c86fa959-9dc2-47ee-8f28-b07ec9570b29\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:39.2746173Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.7864,\r\n \"serviceTime\": 50.5264,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"9919152e-7844-4725-9c35-fc0f75977584\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:44.3392177Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 50.9097,\r\n \"serviceTime\": 50.583200000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6e237b1e-1c31-42f1-8f74-69b8b48631b9\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:49.4107185Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 51.0702,\r\n \"serviceTime\": 50.737,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"04bc3d37-875c-46f9-9d39-1a59846c56f3\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2017-11-30T18:06:54.5854392Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 81.8165,\r\n \"serviceTime\": 81.2599,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"0e76f31e-e2a3-456a-9f84-95f0ee1e1f08\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice-centralus-01.regional.azure-api.net/\",\r\n \"ipAddress\": \"13.84.222.37\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2017-12-18T23:59:27.7090827Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 605.1213,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"880542da-04db-4c61-908a-e4935fb7b365\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/\",\r\n \"ipAddress\": \"24.16.12.23\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2018-02-17T01:48:26.5103607Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 1408.3314,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"4f11a600-28f9-4a7a-8320-081d065b7e6f\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/-\",\r\n \"operationId\": \"/apis/-/operations/-\",\r\n \"productId\": \"/products/-\",\r\n \"userId\": \"/users/-\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/favicon.ico\",\r\n \"ipAddress\": \"24.16.12.23\",\r\n \"backendResponseCode\": null,\r\n \"responseCode\": 404,\r\n \"responseSize\": 130,\r\n \"timestamp\": \"2018-02-17T01:48:28.1168562Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 0.77660000000000007,\r\n \"serviceTime\": 0.0,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/-\",\r\n \"requestId\": \"03778e13-21a9-4be7-aa61-17f19e3eadbe\",\r\n \"requestSize\": 0\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:23:35.6396071Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 438.93210000000005,\r\n \"serviceTime\": 122.5634,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c0c6f122-0a6c-425c-a5dd-430cce1af78c\",\r\n \"requestSize\": 246\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:23:41.138847Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 321.0648,\r\n \"serviceTime\": 320.0695,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"1211378f-19ca-47e0-9f76-545872c192ca\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:23:46.4925007Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.0548,\r\n \"serviceTime\": 44.8068,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4c651dd8-08a7-4994-a876-961508b6c297\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:23:51.5553723Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.4615,\r\n \"serviceTime\": 44.2085,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c6bb068f-f3e5-409e-8e7d-90d2acdfbb41\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:23:56.6182093Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 552.9133,\r\n \"serviceTime\": 552.6203,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"32203413-afe7-48c5-ab74-eaf8cc06db00\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:24:02.2014953Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.915400000000005,\r\n \"serviceTime\": 45.6299,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"79fb3924-de3d-4763-bd43-609c53fbc025\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:24:07.2691159Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.458600000000004,\r\n \"serviceTime\": 45.2472,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"3be65a62-127d-4f6f-9cf9-8906e0d9806f\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:24:12.3319698Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.395700000000005,\r\n \"serviceTime\": 45.158300000000004,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"3e70b19d-04e0-481a-836d-d4da94d13f2b\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:24:17.3864336Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.1896,\r\n \"serviceTime\": 44.9606,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7ead71cb-1fd5-48b8-abda-24987b01ba6b\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"23.96.224.175\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 285,\r\n \"timestamp\": \"2018-02-17T02:24:22.4469264Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.124500000000005,\r\n \"serviceTime\": 44.8917,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"e8b376a5-6b75-45fe-9d3f-bd58215b2f53\",\r\n \"requestSize\": 222\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:13.4598791Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 501.97150000000005,\r\n \"serviceTime\": 138.74790000000002,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b02d842d-04f5-4719-8293-a1ed0f51a85d\",\r\n \"requestSize\": 247\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:19.0300682Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.459500000000006,\r\n \"serviceTime\": 44.4287,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"6b4f1c3e-c350-4201-89b2-4459daf496b1\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:24.1198522Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.3566,\r\n \"serviceTime\": 44.1545,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"9aa3334f-e466-4673-ae3e-fe09d22ce527\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:29.172766Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.6377,\r\n \"serviceTime\": 44.3374,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"8e651eeb-8eb8-4a4f-adda-cfd02927fc84\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:34.2621685Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.452400000000004,\r\n \"serviceTime\": 44.1133,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"c5233ae6-955b-4df0-892c-fb2f55b28742\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:39.3416657Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.107800000000005,\r\n \"serviceTime\": 44.7882,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"7836664d-4ce6-4361-a6d7-1e98ec4211e3\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:44.419073Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.864200000000004,\r\n \"serviceTime\": 44.5897,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"9dddfb4c-64d5-4f01-8150-ebbe0965c660\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:49.4910192Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7023,\r\n \"serviceTime\": 44.4453,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4d462826-534a-4fba-943b-e276b25cbd32\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:54.5707344Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7397,\r\n \"serviceTime\": 44.4947,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"fe68fa2b-ceb9-4c00-a473-272a3ca5f8fb\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=pingtest¶m2=pingtest&subscription-key=5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"ipAddress\": \"191.238.241.97\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 286,\r\n \"timestamp\": \"2018-02-21T18:28:59.6347893Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.7686,\r\n \"serviceTime\": 44.5283,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"400b2c7f-174b-45c7-a1df-938d94df870b\",\r\n \"requestSize\": 223\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/create-resource\",\r\n \"productId\": \"/products/starter\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"POST\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 8846,\r\n \"timestamp\": \"2018-03-06T00:21:22.6262928Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 1669.5748,\r\n \"serviceTime\": 182.3805,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070001\",\r\n \"requestId\": \"16284a1e-1168-4673-abbd-f72cc145a756\",\r\n \"requestSize\": 416\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource-cached\",\r\n \"productId\": \"/products/starter\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource-cached?param1=sample\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 673,\r\n \"timestamp\": \"2018-03-06T00:21:37.8407091Z\",\r\n \"cache\": \"miss\",\r\n \"apiTime\": 664.3346,\r\n \"serviceTime\": 44.769000000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070001\",\r\n \"requestId\": \"01dc66d3-53ed-4b10-9e45-55a3ae8372da\",\r\n \"requestSize\": 215\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=sample\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 623,\r\n \"timestamp\": \"2018-03-06T00:21:58.101651Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 49.5204,\r\n \"serviceTime\": 49.043600000000005,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"4e3615c3-1a50-4920-b133-e695dfe4da35\",\r\n \"requestSize\": 215\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=sample\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 619,\r\n \"timestamp\": \"2018-03-06T00:22:36.7630151Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.263600000000004,\r\n \"serviceTime\": 43.6993,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"b6fbdef2-ecb9-45ca-8c0a-2f88400417d5\",\r\n \"requestSize\": 215\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/retrieve-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"GET\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource?param1=sample\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 621,\r\n \"timestamp\": \"2018-03-06T00:22:37.6557904Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 45.1075,\r\n \"serviceTime\": 44.6768,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"81643b9c-ac13-462f-afcc-4c0dae5cc703\",\r\n \"requestSize\": 215\r\n },\r\n {\r\n \"apiId\": \"/apis/echo-api\",\r\n \"operationId\": \"/apis/echo-api/operations/modify-resource\",\r\n \"productId\": \"/products/unlimited\",\r\n \"userId\": \"/users/1\",\r\n \"method\": \"PUT\",\r\n \"url\": \"https://sdktestservice.azure-api.net/echo/resource\",\r\n \"ipAddress\": \"52.173.77.113\",\r\n \"backendResponseCode\": 200,\r\n \"responseCode\": 200,\r\n \"responseSize\": 623,\r\n \"timestamp\": \"2018-03-06T00:22:56.632653Z\",\r\n \"cache\": \"none\",\r\n \"apiTime\": 44.5135,\r\n \"serviceTime\": 44.0843,\r\n \"apiRegion\": \"Central US\",\r\n \"subscriptionId\": \"/subscriptions/59442dab78b6e60085070002\",\r\n \"requestId\": \"5daff206-55b4-4571-a5a7-369cea088dea\",\r\n \"requestSize\": 220\r\n }\r\n ],\r\n \"count\": 201\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -591,7 +618,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:17:20 GMT" + "Tue, 06 Mar 2018 00:35:22 GMT" ], "Pragma": [ "no-cache" @@ -606,19 +633,22 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14989" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e1b2c8ef-e1c6-497e-9612-97be338ab00a" + "22b9e713-a9f9-48da-a0a3-88143499fea2" ], "x-ms-correlation-request-id": [ - "3e531b26-1cfb-4670-bfb3-4105e4b6ec77" + "8264b7e1-7f30-4614-b52c-a346b996e5fa" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191720Z:3e531b26-1cfb-4670-bfb3-4105e4b6ec77" + "WESTUS2:20180306T003523Z:8264b7e1-7f30-4614-b52c-a346b996e5fa" + ], + "X-Content-Type-Options": [ + "nosniff" ] }, "StatusCode": 200 @@ -627,9 +657,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignInSettingTests/CreateUpdateReset.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignInSettingTests/CreateUpdateReset.json new file mode 100644 index 000000000000..9cec846ef3e3 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignInSettingTests/CreateUpdateReset.json @@ -0,0 +1,487 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "5ae14a85-0d78-44ef-8a02-1e7e5e48a528" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e7917c43-fbbe-464f-97ed-ed006d6372fd", + "cf41e219-6d96-46f3-9e53-dd81b6a4adf0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "26e806fe-1ff1-43cf-b97b-faa300943ddd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035602Z:26e806fe-1ff1-43cf-b97b-faa300943ddd" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "a4faa745-e422-4845-9c57-2aac5cbb874f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d19977bf-1096-49d8-9e5a-40033e80eb9a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "9db88dfc-cb16-43b3-b4bf-a8e18df3d21f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035603Z:9db88dfc-cb16-43b3-b4bf-a8e18df3d21f" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWduaW4/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e170c29f-74c2-42aa-8328-788575b44470" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"signin\",\r\n \"properties\": {\r\n \"enabled\": false\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANt0=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "178339e8-82d1-4615-90ad-7a3d308592e4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "72daebdc-3740-479d-bf2b-e22bd901132c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035603Z:72daebdc-3740-479d-bf2b-e22bd901132c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWduaW4/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "8e4bf2f4-8259-40f1-8b6c-9325a9e873b3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"signin\",\r\n \"properties\": {\r\n \"enabled\": true\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANt8=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3a396cf6-2cbb-45e6-aa90-be126ae40bfe" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "937506f7-11f6-4382-a2d1-1886dd41b68d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035604Z:937506f7-11f6-4382-a2d1-1886dd41b68d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWduaW4/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"enabled\": false\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "50" + ], + "x-ms-client-request-id": [ + "33cdb10a-9f1f-4363-b939-9ff4e16eb940" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"signin\",\r\n \"properties\": {\r\n \"enabled\": false\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANt4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f1a17620-06c3-4af2-b71e-711eaf7cbc75" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "ebfa8435-8724-455f-a68a-def878e5e903" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035604Z:ebfa8435-8724-455f-a68a-def878e5e903" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWduaW4/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cbb47ecf-e248-45af-87b2-f04e947922ca" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANt4AAAAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "df478521-205f-4244-8792-a42256a18efd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "9e9c74ce-d243-4bc8-af38-7b0b146b1222" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035604Z:9e9c74ce-d243-4bc8-af38-7b0b146b1222" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signin?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWduaW4/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"enabled\": true\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "49" + ], + "x-ms-client-request-id": [ + "1f1198b6-50fc-4447-a557-d27fb55e731d" + ], + "If-Match": [ + "\"AAAAAAAANt4AAAAAAAAAAA==\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 03:56:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "70d38ca7-d048-4f1c-9d27-af3396a7ae71" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "2d9a820a-e38d-40d4-84d1-0416d8b85aab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T035604Z:2d9a820a-e38d-40d4-84d1-0416d8b85aab" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignUpSettingTests/CreateUpdateReset.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignUpSettingTests/CreateUpdateReset.json new file mode 100644 index 000000000000..1a3ff88dd426 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SignUpSettingTests/CreateUpdateReset.json @@ -0,0 +1,481 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "2acee729-7a87-4c10-9296-e6213a016c7e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a5895770-93a5-41ef-b9b9-9d9ae16a49fb", + "1467f222-fd3e-41f0-aac3-f3cabd3017da" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "46fc6d30-a723-48c0-98b8-a4d32c62280a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202150Z:46fc6d30-a723-48c0-98b8-a4d32c62280a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "04dd3346-0d59-486c-8cff-de5eb486d3f4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADeFjQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADeFjQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "57038f0c-a28a-451d-8b2e-359eb4de85cd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "0a2fb21e-336c-4a54-8cc2-ad34d7f236df" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202150Z:0a2fb21e-336c-4a54-8cc2-ad34d7f236df" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWdudXA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "91d7322d-293c-4739-9ffd-034c9088f50c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"signup\",\r\n \"properties\": {\r\n \"enabled\": false,\r\n \"termsOfService\": {\r\n \"text\": null,\r\n \"enabled\": false,\r\n \"consentRequired\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAfoNtGQAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "80ab82e4-1e44-444c-8d8d-55dcb1602901" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "092f96bb-c4a0-4fa8-8072-23c5d36b31a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202150Z:092f96bb-c4a0-4fa8-8072-23c5d36b31a1" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWdudXA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ab2f9e87-131c-41a2-8637-d2c8b4571c1d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAfoNtGQAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a9d114ae-2f5f-4fac-b28d-93da5daaf30b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "745f161a-179f-4137-a7b8-61ac6f6c8c4b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202151Z:745f161a-179f-4137-a7b8-61ac6f6c8c4b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWdudXA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d8cb7c84-dbfe-4567-87b9-c2c32744a7a3" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAfoNtGQAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7c284d2a-b3a2-4cff-bf1a-2a196bceec83" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "d5ef0774-6b80-430c-9656-dd25221ed01a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202151Z:d5ef0774-6b80-430c-9656-dd25221ed01a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWdudXA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"enabled\": false,\r\n \"termsOfService\": {\r\n \"enabled\": false,\r\n \"consentRequired\": false\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "140" + ], + "x-ms-client-request-id": [ + "6b4b679e-f6ae-4ced-ba79-551f1bdb9d2c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup\",\r\n \"type\": \"Microsoft.ApiManagement/service/portalsettings\",\r\n \"name\": \"signup\",\r\n \"properties\": {\r\n \"enabled\": false,\r\n \"termsOfService\": {\r\n \"text\": null,\r\n \"enabled\": false,\r\n \"consentRequired\": false\r\n }\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAAfoNtGQAAAAAAAA==\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "bdb83475-d3d5-4ff6-bcba-ce29def28505" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "79945978-89e4-476a-817d-8d4a626c04bb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202151Z:79945978-89e4-476a-817d-8d4a626c04bb" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/portalsettings/signup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wb3J0YWxzZXR0aW5ncy9zaWdudXA/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PATCH", + "RequestBody": "{\r\n \"properties\": {\r\n \"enabled\": false,\r\n \"termsOfService\": {\r\n \"enabled\": false,\r\n \"consentRequired\": false\r\n }\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "140" + ], + "x-ms-client-request-id": [ + "647354f3-460c-4110-bf70-8d93a7815601" + ], + "If-Match": [ + "\"AAAAAAAAfoNtGQAAAAAAAA==\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Sun, 04 Mar 2018 20:21:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "75c709da-c3d1-481e-8df3-fb08dae42513" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "fc294b00-191a-4a66-8bdc-c4d04b05f43e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180304T202151Z:fc294b00-191a-4a66-8bdc-c4d04b05f43e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 204 + } + ], + "Names": {}, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SubscriptionTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SubscriptionTests/CreateListUpdateDelete.json index 5044abc083a5..090a071a02fc 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SubscriptionTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.SubscriptionTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "b497cbef-6fa5-496f-b906-4d1f501b973f" + "c908a2e7-48d5-45c9-8e96-72fc43539682" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:11 GMT" + "Mon, 19 Feb 2018 23:59:46 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f3d7dd85-c25d-42ee-863a-84576d43be26", - "01f71d0c-18fe-47a6-8b22-09c2e8659308" + "3da4d45b-dae9-4e17-8b95-a7abad2ed832", + "d7dcf4fa-4d63-43cd-8e96-79bee6769f8b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" + "1186" ], "x-ms-correlation-request-id": [ - "945c61a8-9a04-4270-a2bd-29db1b8d1dd3" + "15032cae-9a69-4b0b-abd6-5d57d56a7fb3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191111Z:945c61a8-9a04-4270-a2bd-29db1b8d1dd3" + "WESTUS2:20180219T235947Z:15032cae-9a69-4b0b-abd6-5d57d56a7fb3" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "839f1d7f-25e5-4920-8325-1a05ab45eb83" + "1e270617-3276-49d1-811f-3c838eb11e4b" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:11 GMT" + "Mon, 19 Feb 2018 23:59:46 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ba535c08-a0bc-4b0b-a3dd-ccae5e716187" + "3e4a0e5b-ee6d-434e-9f59-3bb0c0968a19" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14910" ], "x-ms-correlation-request-id": [ - "83ed8c05-074f-46d9-bf2c-e0bdf7ccefdc" + "943ac345-9d33-4222-8af1-d39074e8f7e0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191111Z:83ed8c05-074f-46d9-bf2c-e0bdf7ccefdc" + "WESTUS2:20180219T235947Z:943ac345-9d33-4222-8af1-d39074e8f7e0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "68326fc6-bb42-442e-a77c-7feb0c0e0549" + "0d64f22f-94c9-45aa-be4e-88606cc415d4" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:12 GMT" + "Mon, 19 Feb 2018 23:59:46 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5a9072bd-31bd-4651-92f3-7c079be98be2" + "47d14df4-2c5a-43cf-9de0-bcb6ce03a5e2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14909" ], "x-ms-correlation-request-id": [ - "9da5e818-113a-43ae-9903-649be90af048" + "d85655fb-fb9b-4b83-b9be-a96191795287" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191112Z:9da5e818-113a-43ae-9903-649be90af048" + "WESTUS2:20180219T235947Z:d85655fb-fb9b-4b83-b9be-a96191795287" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f3b928a6-7a77-4987-98fe-b0d1653d2d86" + "159aed5c-2ee4-439b-befc-5ca0e7b624e7" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:12 GMT" + "Mon, 19 Feb 2018 23:59:46 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f7d95142-3c98-4c0f-8714-8903c8fd8728" + "2bed7118-ab79-431a-a8f0-35da1dbc70e7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14908" ], "x-ms-correlation-request-id": [ - "2e03a422-2664-4272-a2b6-0eda104618e0" + "2bafb93b-b128-491b-a9fc-2b06b9792abe" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191112Z:2e03a422-2664-4272-a2b6-0eda104618e0" + "WESTUS2:20180219T235947Z:2bafb93b-b128-491b-a9fc-2b06b9792abe" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zLzU5NDQyZGFiNzhiNmU2MDA4NTA3MDAwMT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zLzU5NDQyZGFiNzhiNmU2MDA4NTA3MDAwMT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9f745e72-4034-4837-aa4a-065d806b5aed" + "ac2ae005-bf1b-4ac9-a657-79d50fc3db6c" ], "accept-language": [ "en-US" @@ -274,7 +274,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:12 GMT" + "Mon, 19 Feb 2018 23:59:46 GMT" ], "Pragma": [ "no-cache" @@ -307,23 +307,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c1bb95b6-07be-4ac0-a3d3-28f384e42887" + "67256209-0873-445c-b8b3-76a89f34405c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14907" ], "x-ms-correlation-request-id": [ - "39038570-4c24-44dd-b321-f6fd70e0a2f8" + "6362e8cc-b418-4ec1-bec9-48a4ee94514f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191112Z:39038570-4c24-44dd-b321-f6fd70e0a2f8" + "WESTUS2:20180219T235947Z:6362e8cc-b418-4ec1-bec9-48a4ee94514f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"properties\": {\r\n \"subscriptionsLimit\": 2147483647\r\n }\r\n}", "RequestHeaders": { @@ -334,7 +334,7 @@ "66" ], "x-ms-client-request-id": [ - "9b6a4202-6fd4-4521-8313-5df702f76270" + "955c92df-d853-4047-b98e-c59a86204e9e" ], "If-Match": [ "*" @@ -349,9 +349,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -359,7 +356,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:13 GMT" + "Mon, 19 Feb 2018 23:59:47 GMT" ], "Pragma": [ "no-cache" @@ -371,25 +368,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e9dec639-9a22-4bc5-ab07-04f0e763fb08" + "fe6a6cb7-b573-47bf-8249-fa6034003577" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1185" ], "x-ms-correlation-request-id": [ - "c3e64554-319e-4ef5-85b7-90d540d1bf4a" + "64566f36-538d-4526-a9af-03d05fe19cbc" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191113Z:c3e64554-319e-4ef5-85b7-90d540d1bf4a" + "WESTUS2:20180219T235948Z:64566f36-538d-4526-a9af-03d05fe19cbc" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName5094\",\r\n \"primaryKey\": \"newSubscriptionPK9044\",\r\n \"secondaryKey\": \"newSubscriptionSK2570\",\r\n \"state\": \"active\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName9711\",\r\n \"primaryKey\": \"newSubscriptionPK1622\",\r\n \"secondaryKey\": \"newSubscriptionSK7953\",\r\n \"state\": \"active\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -398,7 +395,7 @@ "544" ], "x-ms-client-request-id": [ - "fde260d5-c711-40c4-b727-e89b10e731e0" + "ef672c2e-eb82-4c93-b2de-562918751be5" ], "accept-language": [ "en-US" @@ -408,10 +405,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId571\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"user\": {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183\",\r\n \"note\": null,\r\n \"groups\": [],\r\n \"identities\": []\r\n },\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName5094\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-08-02T19:11:14.3703362Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"newSubscriptionPK9044\",\r\n \"secondaryKey\": \"newSubscriptionSK2570\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId1786\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"user\": {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"groups\": [],\r\n \"identities\": []\r\n },\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName9711\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2018-02-19T23:59:40.210229Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"newSubscriptionPK1622\",\r\n \"secondaryKey\": \"newSubscriptionSK7953\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1456" + "1458" ], "Content-Type": [ "application/json; charset=utf-8" @@ -423,13 +420,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:15 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD4I=\"" + "\"AAAAAAAANBo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -438,28 +435,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "327b2846-244d-4095-a099-2a3c1c041e1f" + "243d4fce-0d61-46ed-a173-47c5b8677594" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1184" ], "x-ms-correlation-request-id": [ - "80db95b2-9289-4f40-80da-9ec76e42f6fa" + "3efd717f-22b6-4e75-a896-6cf24e4154a8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191115Z:80db95b2-9289-4f40-80da-9ec76e42f6fa" + "WESTUS2:20180219T235948Z:3efd717f-22b6-4e75-a896-6cf24e4154a8" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c23dbad7-76c5-4701-b61b-d5fceddae13c" + "4789d065-d8b8-497d-ad80-c6d055ebedb1" ], "accept-language": [ "en-US" @@ -469,7 +466,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId571\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName5094\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-08-02T19:11:14.37\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"newSubscriptionPK9044\",\r\n \"secondaryKey\": \"newSubscriptionSK2570\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId1786\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"newSubscriptionName9711\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2018-02-19T23:59:40.21Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"newSubscriptionPK1622\",\r\n \"secondaryKey\": \"newSubscriptionSK7953\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -481,7 +478,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:15 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" @@ -490,7 +487,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD4I=\"" + "\"AAAAAAAANBo=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -502,28 +499,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7b59fa03-5855-420b-bebc-5f8a89558f3c" + "19cdcc53-d74f-49ff-b0dc-6e0d724701dc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14906" ], "x-ms-correlation-request-id": [ - "63122c25-eb6f-4057-8232-4b5ceddd8bb7" + "675fc4a6-618e-4b72-95cd-796de5c19ef9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191115Z:63122c25-eb6f-4057-8232-4b5ceddd8bb7" + "WESTUS2:20180219T235949Z:675fc4a6-618e-4b72-95cd-796de5c19ef9" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9f82342e-aab6-40a9-9a4a-9e71db2fd6d9" + "cb0843dd-1354-4c33-880a-f9899c24d158" ], "accept-language": [ "en-US" @@ -533,7 +530,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId571\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName5309\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-08-02T19:11:14.37\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"patchedPk9498\",\r\n \"secondaryKey\": \"patchedSk4247\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId1786\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName6811\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2018-02-19T23:59:40.21Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00Z\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00Z\",\r\n \"primaryKey\": \"patchedPk5124\",\r\n \"secondaryKey\": \"patchedSk5655\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -545,7 +542,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:17 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" @@ -554,7 +551,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD4c=\"" + "\"AAAAAAAANB4=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -566,28 +563,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "19e14773-1021-41d8-8c29-1c2871b9e5f3" + "f2dba44f-5836-49df-9f8c-9ee411f2bee2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14905" ], "x-ms-correlation-request-id": [ - "c4f75581-99cd-4e78-8eb3-9dd1aec32463" + "6fd49729-f8ac-4988-b73c-5046cf0c2e24" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191117Z:c4f75581-99cd-4e78-8eb3-9dd1aec32463" + "WESTUS2:20180219T235949Z:6fd49729-f8ac-4988-b73c-5046cf0c2e24" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7668aca9-afb7-44e0-ba48-9170d65cb558" + "8687cd63-38bc-43ac-8d84-b2ea11b49b92" ], "accept-language": [ "en-US" @@ -597,7 +594,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId571\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName5309\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-08-02T19:11:14.37\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"b418d3935704425aaccf0323b45fcd8e\",\r\n \"secondaryKey\": \"patchedSk4247\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId1786\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName6811\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2018-02-19T23:59:40.21Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00Z\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00Z\",\r\n \"primaryKey\": \"572bd2e7f3924437b32ed4610e49c04e\",\r\n \"secondaryKey\": \"patchedSk5655\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -609,7 +606,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:18 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" @@ -618,7 +615,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD4o=\"" + "\"AAAAAAAANCI=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -630,28 +627,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c3cf09a7-13df-4b06-aab7-20964f3b063c" + "1c449f55-c28a-4ca0-8c56-9a81351bc779" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14904" ], "x-ms-correlation-request-id": [ - "f28be03b-429d-4bfa-8b58-ecd9580b0379" + "a13ea56c-35c7-43c5-8fab-7bee2f59892f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191118Z:f28be03b-429d-4bfa-8b58-ecd9580b0379" + "WESTUS2:20180219T235949Z:a13ea56c-35c7-43c5-8fab-7bee2f59892f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "3177d513-cd0e-4f28-b023-172eec9b73fe" + "7b17021a-8baf-4550-b167-f0439aef774b" ], "accept-language": [ "en-US" @@ -661,7 +658,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId571\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName5309\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-08-02T19:11:14.37\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00\",\r\n \"primaryKey\": \"b418d3935704425aaccf0323b45fcd8e\",\r\n \"secondaryKey\": \"f4284334611c4793b8dbfae47d4516c7\",\r\n \"stateComment\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786\",\r\n \"type\": \"Microsoft.ApiManagement/service/subscriptions\",\r\n \"name\": \"newSubscriptionId1786\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": \"patchedName6811\",\r\n \"state\": \"active\",\r\n \"createdDate\": \"2018-02-19T23:59:40.21Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": \"2025-07-20T00:00:00Z\",\r\n \"endDate\": null,\r\n \"notificationDate\": \"2025-07-08T00:00:00Z\",\r\n \"primaryKey\": \"572bd2e7f3924437b32ed4610e49c04e\",\r\n \"secondaryKey\": \"479852808830448f89695f385666f691\",\r\n \"stateComment\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -673,7 +670,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:20 GMT" + "Mon, 19 Feb 2018 23:59:49 GMT" ], "Pragma": [ "no-cache" @@ -682,7 +679,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD44=\"" + "\"AAAAAAAANCY=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -694,28 +691,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "be292337-ba40-441d-bbca-b74f91c04231" + "92d624de-d21b-41e8-aea0-c7b84dfa3ca9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14903" ], "x-ms-correlation-request-id": [ - "3cfead49-89f4-4898-bc3b-11fcb5bf32ae" + "16958e0e-ba58-41b7-b6ee-613f4facaf9a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191120Z:3cfead49-89f4-4898-bc3b-11fcb5bf32ae" + "WESTUS2:20180219T235950Z:16958e0e-ba58-41b7-b6ee-613f4facaf9a" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0e8cf1c8-60ee-4123-86cb-453c8faf770b" + "69d2c451-92e2-4e4f-9d3c-cbf43c6baeb6" ], "accept-language": [ "en-US" @@ -740,7 +737,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:21 GMT" + "Mon, 19 Feb 2018 23:59:49 GMT" ], "Pragma": [ "no-cache" @@ -752,25 +749,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "de63af32-38e7-4751-b7ff-a0e60186279f" + "775740dd-5875-44ca-8a59-ece617beb8ac" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14902" ], "x-ms-correlation-request-id": [ - "2c001c65-73aa-4818-a5d1-79e528bfad2a" + "fd872b92-1997-4718-aaa2-c550a1272c49" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191122Z:2c001c65-73aa-4818-a5d1-79e528bfad2a" + "WESTUS2:20180219T235950Z:fd872b92-1997-4718-aaa2-c550a1272c49" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PATCH", - "RequestBody": "{\r\n \"properties\": {\r\n \"expirationDate\": \"2025-07-20T00:00:00Z\",\r\n \"displayName\": \"patchedName5309\",\r\n \"primaryKey\": \"patchedPk9498\",\r\n \"secondaryKey\": \"patchedSk4247\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"expirationDate\": \"2025-07-20T00:00:00Z\",\r\n \"displayName\": \"patchedName6811\",\r\n \"primaryKey\": \"patchedPk5124\",\r\n \"secondaryKey\": \"patchedSk5655\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -779,10 +776,10 @@ "187" ], "x-ms-client-request-id": [ - "342b3ba5-87e4-48a9-9a1a-76255de68ebe" + "43028199-1c7b-4906-98bd-4b92a4777f37" ], "If-Match": [ - "\"AAAAAAAAD4I=\"" + "\"AAAAAAAANBo=\"" ], "accept-language": [ "en-US" @@ -794,9 +791,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -804,7 +798,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:17 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" @@ -816,28 +810,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7259cb2a-1bc0-4f02-9511-1f78b622107c" + "7d269863-3eea-41de-95c3-d807a30bb08b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1183" ], "x-ms-correlation-request-id": [ - "c84a8540-0cc0-4148-bc3d-307a7b67d774" + "5d16c5cd-af05-480f-abc2-ac08f6570ec0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191117Z:c84a8540-0cc0-4148-bc3d-307a7b67d774" + "WESTUS2:20180219T235949Z:5d16c5cd-af05-480f-abc2-ac08f6570ec0" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571/regeneratePrimaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxL3JlZ2VuZXJhdGVQcmltYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786/regeneratePrimaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Ni9yZWdlbmVyYXRlUHJpbWFyeUtleT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d63f4473-147f-4758-9438-b34236396750" + "e913cda5-d134-4b3b-a978-7263c64f4ab3" ], "accept-language": [ "en-US" @@ -849,9 +843,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -859,7 +850,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:18 GMT" + "Mon, 19 Feb 2018 23:59:48 GMT" ], "Pragma": [ "no-cache" @@ -871,28 +862,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f3820da9-45fe-4d22-9b45-85cabc07ca32" + "a905b998-6d4a-45c3-bca5-0771631c1672" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1182" ], "x-ms-correlation-request-id": [ - "103071ce-df56-4c84-b813-3e8c094a97cf" + "20ee0cd4-c1a3-4d0e-b838-6b0bbda70dd2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191118Z:103071ce-df56-4c84-b813-3e8c094a97cf" + "WESTUS2:20180219T235949Z:20ee0cd4-c1a3-4d0e-b838-6b0bbda70dd2" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571/regenerateSecondaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxL3JlZ2VuZXJhdGVTZWNvbmRhcnlLZXk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786/regenerateSecondaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Ni9yZWdlbmVyYXRlU2Vjb25kYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "4cd7e294-028e-438b-ae80-2c0c1c362653" + "3705db00-76a6-44d7-a8de-4552c44cf87d" ], "accept-language": [ "en-US" @@ -904,9 +895,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -914,7 +902,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:19 GMT" + "Mon, 19 Feb 2018 23:59:49 GMT" ], "Pragma": [ "no-cache" @@ -926,31 +914,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a6cabbc3-22d2-4f6e-8e79-824aee898a6f" + "f30acb06-da8d-4bf8-9fc0-98f5a393e66a" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1181" ], "x-ms-correlation-request-id": [ - "25627b63-c11b-4415-ba89-5605c8c1abd1" + "9af6340d-1aec-4fa2-9483-9dd5e2b4b074" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191119Z:25627b63-c11b-4415-ba89-5605c8c1abd1" + "WESTUS2:20180219T235950Z:9af6340d-1aec-4fa2-9483-9dd5e2b4b074" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2bf3cb1e-e875-465b-b8f3-cbaab7aa016a" + "3e55e54e-0460-4e14-84e8-31399de9c66b" ], "If-Match": [ - "\"AAAAAAAAD44=\"" + "\"AAAAAAAANCY=\"" ], "accept-language": [ "en-US" @@ -972,7 +960,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:21 GMT" + "Mon, 19 Feb 2018 23:59:49 GMT" ], "Pragma": [ "no-cache" @@ -984,28 +972,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "682f27ab-eaf1-46cc-aac2-ea7c6a3ad0b3" + "d04268d6-50a1-4026-bae8-0be39dc93e0b" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1180" ], "x-ms-correlation-request-id": [ - "62c07878-b5b0-4a6f-8fde-cc77f92f6bf8" + "baf87a0b-25aa-485b-a58d-ea85dd8b8521" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191121Z:62c07878-b5b0-4a6f-8fde-cc77f92f6bf8" + "WESTUS2:20180219T235950Z:baf87a0b-25aa-485b-a58d-ea85dd8b8521" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId571?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkNTcxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/newSubscriptionId1786?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9zdWJzY3JpcHRpb25zL25ld1N1YnNjcmlwdGlvbklkMTc4Nj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0a481ce6-f602-4413-bde0-5e2e4d8d2134" + "b14399ca-d8fe-4318-9b7c-7e9670c18f27" ], "If-Match": [ "*" @@ -1020,9 +1008,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -1030,7 +1015,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:11:22 GMT" + "Mon, 19 Feb 2018 23:59:49 GMT" ], "Pragma": [ "no-cache" @@ -1042,16 +1027,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d3f69b99-2aac-4064-802a-0efbb844d503" + "566b478f-a346-413f-8d2c-b858ae79d8e1" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1179" ], "x-ms-correlation-request-id": [ - "25ab7065-d32b-421e-8b38-7ab1fcf97b60" + "15504728-3175-4a3f-b879-79ab0580ade9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191122Z:25ab7065-d32b-421e-8b38-7ab1fcf97b60" + "WESTUS2:20180219T235950Z:15504728-3175-4a3f-b879-79ab0580ade9" ] }, "StatusCode": 204 @@ -1059,20 +1044,19 @@ ], "Names": { "CreateListUpdateDelete": [ - "newSubscriptionId571", - "newSubscriptionName5094", - "newSubscriptionPK9044", - "newSubscriptionSK2570", - "patchedName5309", - "patchedPk9498", - "patchedSk4247" + "newSubscriptionId1786", + "newSubscriptionName9711", + "newSubscriptionPK1622", + "newSubscriptionSK7953", + "patchedName6811", + "patchedPk5124", + "patchedSk5655" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagDescriptionTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagDescriptionTests/CreateListUpdateDelete.json new file mode 100644 index 000000000000..0d206cd8f0ba --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagDescriptionTests/CreateListUpdateDelete.json @@ -0,0 +1,1175 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "6d70a5f4-67f8-442c-b08b-72bc574bc3cd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:54:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "42b2e684-84a3-40db-9516-5658e21c4dd2", + "d17047f8-5a78-4e1b-b7a0-615e58b99145" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "174c1a63-4655-422c-b97a-96c1ae0ab6d8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235451Z:174c1a63-4655-422c-b97a-96c1ae0ab6d8" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bb1cf184-735c-43f1-886d-5c54e6473ec4" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:54:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "84351c4f-9ee8-4b2a-8cad-8d543559cadb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "04c89ea4-32d2-41ae-94c6-5a11a205894a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235451Z:04c89ea4-32d2-41ae-94c6-5a11a205894a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e4f435a1-6e37-4256-9adb-f29a6d5d745c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:54:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e87fc3e9-222d-48a9-a9ce-8b219f465f3c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "873833db-a975-4cf8-9031-a77430c6031c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235451Z:873833db-a975-4cf8-9031-a77430c6031c" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"apiTag5638\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "61" + ], + "x-ms-client-request-id": [ + "00d121fe-c0e1-41f5-9cb8-ebc022408c90" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361\",\r\n \"type\": \"Microsoft.ApiManagement/service/tags\",\r\n \"name\": \"apiTag3361\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5638\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "311" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:55:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4c5d3c04-fbcb-46f4-a339-ed23df402cd4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "fafee16f-9654-4a5b-a6ca-79aa0bca9d96" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235501Z:fafee16f-9654-4a5b-a6ca-79aa0bca9d96" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnMzM2MT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c1d3a556-9f07-47da-a6d8-c927ba9436f9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag3361\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tags\",\r\n \"name\": \"apiTag3361\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5638\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "330" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:55:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "742b06be-fa68-437c-b9b4-93f4e4d30e89" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "13768586-83f1-4dee-8c5e-6deb70a590ca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235504Z:13768586-83f1-4dee-8c5e-6deb70a590ca" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ca8a7a7b-81a4-4043-9f13-80cabdab3ce6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:55:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dfcb0c91-ad51-4281-9fb4-6a10c9c8adfa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "f2a5be3a-692c-4e8f-8663-5670fd6f349e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235507Z:f2a5be3a-692c-4e8f-8663-5670fd6f349e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"somedescription2122\",\r\n \"externalDocsUrl\": \"http://somelog.content\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "120" + ], + "x-ms-client-request-id": [ + "26f2c2e5-bcf1-4199-b66a-af8eb041f476" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tagDescriptions\",\r\n \"name\": \"apiTag3361\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5638\",\r\n \"description\": \"somedescription2122\",\r\n \"externalDocsDescription\": null,\r\n \"externalDocsUrl\": \"http://somelog.content\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "458" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:55:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "249ddf38-c36a-48ef-aaff-0c9e09e474f4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "c0dd278e-2197-483f-954a-e86f9e93155a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235539Z:c0dd278e-2197-483f-954a-e86f9e93155a" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"tag_update4479\",\r\n \"externalDocsUrl\": \"http://somelog.content\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "115" + ], + "x-ms-client-request-id": [ + "0ba9b80c-980a-4239-8b03-cfffaa75a0ed" + ], + "If-Match": [ + "\"AAAAAAAANZk=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tagDescriptions\",\r\n \"name\": \"apiTag3361\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5638\",\r\n \"description\": \"tag_update4479\",\r\n \"externalDocsDescription\": null,\r\n \"externalDocsUrl\": \"http://somelog.content\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:56:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a8832a63-b4f9-4bf9-a70e-c5763404ef97" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "d8a2080c-c35c-439e-9016-35ea71c038ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235627Z:d8a2080c-c35c-439e-9016-35ea71c038ba" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "58f13a27-7d04-4e56-a5aa-335d8c36f624" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:56:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZk=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "604700ef-43b0-43c6-b7aa-d17f7a20bbbb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "4aaa8f01-0e74-4cc7-b328-f61de2b74f00" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235607Z:4aaa8f01-0e74-4cc7-b328-f61de2b74f00" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b7fe3116-54ff-4313-a801-599650879957" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:57:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZo=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0ef6ec86-4619-4b04-acb5-cb4001a6dff9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "9c6c6456-3709-429a-91e9-79a9bb7d9c49" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235701Z:9c6c6456-3709-429a-91e9-79a9bb7d9c49" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5cb15bad-bc74-4967-8191-b6d1d74f407a" + ], + "If-Match": [ + "\"AAAAAAAANZo=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:57:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5aeee03a-83af-418a-8694-8a4d9add9ba5" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "d2098bfb-7b38-49e1-8fcd-160aab77102e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235740Z:d2098bfb-7b38-49e1-8fcd-160aab77102e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tagDescriptions/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ0Rlc2NyaXB0aW9ucy9hcGlUYWczMzYxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "741fdbf5-0373-40ea-93e3-0ab356c8ed40" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:17 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "acc01ffd-317e-4adf-a25f-8697edbc0629" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1190" + ], + "x-ms-correlation-request-id": [ + "146aecf4-777c-4ee2-b97b-c7844d452f95" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235818Z:146aecf4-777c-4ee2-b97b-c7844d452f95" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9ec225e0-43a0-4bec-923b-54719a181b2f" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:57:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0603c257-eb1a-4e96-afd8-71345d5c3389" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "4bc7ec86-0256-4e69-8c63-238ce41da6e3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235742Z:4bc7ec86-0256-4e69-8c63-238ce41da6e3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ad7f03ed-12cd-419f-89ae-7b516a31df22" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZg=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c79fb668-afc7-4222-84de-43a59a468bc7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "c813144b-d1c8-4eaa-a54f-9eaba799375d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235803Z:c813144b-d1c8-4eaa-a54f-9eaba799375d" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnMzM2MT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "148f6d1c-3142-48c7-bad6-a301bf6a532d" + ], + "If-Match": [ + "\"AAAAAAAANZg=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:57:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5742c790-9a59-4932-aa92-aab4ea890f9e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "305dad43-0ab1-45eb-99c2-d455cc8f296a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235753Z:305dad43-0ab1-45eb-99c2-d455cc8f296a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnMzM2MT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b9c95b72-6caa-4be9-87b6-38dfffc39e20" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:16 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "04108ee9-d5f3-4709-8e58-88247b01d297" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1191" + ], + "x-ms-correlation-request-id": [ + "c3eaf88b-35fa-4745-8d42-fec708e9ace2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235817Z:c3eaf88b-35fa-4745-8d42-fec708e9ace2" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9da43e4b-914e-420d-ab54-d02232e7552d" + ], + "If-Match": [ + "\"AAAAAAAANZg=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "24f5c9a2-a125-4ca0-98ef-48f55e01c442" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1192" + ], + "x-ms-correlation-request-id": [ + "b02c6bc2-4eb1-469f-a132-c22042445c76" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235807Z:b02c6bc2-4eb1-469f-a132-c22042445c76" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "40b8d18b-7371-447e-b495-09478af167cf" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d30295c1-0d34-4204-b38a-a6f1b8367426" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1189" + ], + "x-ms-correlation-request-id": [ + "660a9707-887b-4b9a-87cd-7bc2b0906815" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235819Z:660a9707-887b-4b9a-87cd-7bc2b0906815" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag3361?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzMzNjE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f785d706-99ba-45f8-8eef-7502a95b35dd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Tag not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:58:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6e9e9dac-90c6-4c41-9df1-66abc2f7b7fa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "57ac8c1a-0143-4adc-ac5d-8ded2289ed25" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T235808Z:57ac8c1a-0143-4adc-ac5d-8ded2289ed25" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "CreateListUpdateDelete": [ + "apiTag3361", + "apiTag5638", + "somedescription2122", + "tag_update4479" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteApiTags.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteApiTags.json new file mode 100644 index 000000000000..7c74c5a7a598 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteApiTags.json @@ -0,0 +1,1106 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "c8830d8f-f403-47c5-9959-e2a5f4a1ab26" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "de081d3f-2c08-4fb7-b8cf-f05857ce0d4c", + "55253726-3fe1-4aa5-8326-cb978509c5a9" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "1e1e5892-8cca-44a1-9973-7253bc93ff7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222937Z:1e1e5892-8cca-44a1-9973-7253bc93ff7e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "58fbfb64-93b9-40ae-92a4-565f5c71013c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1a52d234-f26d-4bf9-a2e1-4f5d61e80e8b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "351896ee-4fd4-443d-af1b-2bb3c22c7a7b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222937Z:351896ee-4fd4-443d-af1b-2bb3c22c7a7b" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2ac75e30-46ce-4a34-bc18-9b08de52fc9e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6647c9d4-fbf4-49df-b6c6-996f7331d29a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "44b3c35d-cfd3-49de-b862-f0f45015c0ad" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222938Z:44b3c35d-cfd3-49de-b862-f0f45015c0ad" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "cffa2e40-933a-4ab4-a7b7-327d7ceb4d1e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:38 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "59904376-327d-4e55-96f3-37a7367f2ce0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "8fe0279d-61be-42f2-8b97-7cb51b29af43" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222938Z:8fe0279d-61be-42f2-8b97-7cb51b29af43" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzYwNjc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"apiTag5885\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "61" + ], + "x-ms-client-request-id": [ + "a6883fad-45e8-4f3f-b699-fc5f2b2bf6a9" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067\",\r\n \"type\": \"Microsoft.ApiManagement/service/tags\",\r\n \"name\": \"apiTag6067\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5885\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "311" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANY4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "38276de3-3a9d-428c-895d-cc3e10cc7caf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "44bc3ba1-04c7-4edb-84ee-7f0752aa42cc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222942Z:44bc3ba1-04c7-4edb-84ee-7f0752aa42cc" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6191a1cc-effd-4ead-93eb-fe1901b382a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tags\",\r\n \"name\": \"apiTag6067\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5885\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "330" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANY4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ea00f961-5b19-4273-b008-b7376b86d082" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "f99b09d8-e3e7-45a3-8b99-e9c14d224f9d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222942Z:f99b09d8-e3e7-45a3-8b99-e9c14d224f9d" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apisByTags?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzQnlUYWdzPyR0b3A9MSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bfabe861-c391-43a6-b53d-8e9f59c62ec2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"tag\": {\r\n \"id\": \"/tags/apiTag6067\",\r\n \"name\": \"apiTag5885\"\r\n },\r\n \"api\": {\r\n \"id\": \"/apis/echo-api\",\r\n \"name\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2d9c8315-eb42-4454-a8a4-5553c76bac0f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "d5708d07-99ae-4c71-9a2e-6b3e61254c51" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222943Z:d5708d07-99ae-4c71-9a2e-6b3e61254c51" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3M/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ce59f2bc-b90f-4edf-887a-ebec3f51c904" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tags\",\r\n \"name\": \"apiTag6067\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5885\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "73320e42-cc36-4847-b73b-361e0c6bd4e4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "abc3bb7b-9472-4964-b8e0-8e9a28642bae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222943Z:abc3bb7b-9472-4964-b8e0-8e9a28642bae" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b7c90ee8-9803-4700-bcb0-6ac0a9445f5b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/tags\",\r\n \"name\": \"apiTag6067\",\r\n \"properties\": {\r\n \"displayName\": \"apiTag5885\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANY4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a2ff3a26-278f-4fc8-a9fd-e5a153401be2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "3791509a-aca2-4c26-a0d5-a1cfd56bc6e7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222943Z:3791509a-aca2-4c26-a0d5-a1cfd56bc6e7" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "31281bc4-6830-4d97-b11c-74d9c2ea6564" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Tag not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d3462a5e-3fe3-4ec6-817f-629dad8b82aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "13291e6b-cc39-4eae-8d7d-b11e4726cdcc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222944Z:13291e6b-cc39-4eae-8d7d-b11e4726cdcc" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6e56f696-84d5-4905-b15b-8ddbad4e4433" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANY4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2c0fa3ee-cf85-4196-b2d8-051c4f8b58ac" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "1f5f6383-03af-4b19-a3ea-7b178d3cb059" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222943Z:1f5f6383-03af-4b19-a3ea-7b178d3cb059" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tagResources?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdSZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3f8d731d-8f53-45d3-afd4-39ad507947ba" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"tag\": {\r\n \"id\": \"/tags/apiTag6067\",\r\n \"name\": \"apiTag5885\"\r\n },\r\n \"api\": {\r\n \"id\": \"/apis/echo-api\",\r\n \"name\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": null,\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c192ce25-e1c6-44f3-8fd4-f1b4768b78e8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "38f1ca96-2ea8-48b4-bbbb-576d9d950672" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222944Z:38f1ca96-2ea8-48b4-bbbb-576d9d950672" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "59c6b846-4265-46f0-aacf-865403313ab0" + ], + "If-Match": [ + "\"AAAAAAAANY4=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5848c778-8194-4b4d-a368-3a5d8dba2158" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "a1620311-f935-4dfb-9111-4083eeb3139f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222944Z:a1620311-f935-4dfb-9111-4083eeb3139f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL3RhZ3MvYXBpVGFnNjA2Nz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "19eeb41e-124c-4fd8-93db-3a8bc3c35584" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "78d59270-d343-42f1-b381-4f42155762cf" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "4ee40d2b-014e-49be-a867-fc9f57f751fe" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222945Z:4ee40d2b-014e-49be-a867-fc9f57f751fe" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzYwNjc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d0be08c4-9c80-42d4-ae6f-395f886add18" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANY4=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e7c1a5a4-6853-4f20-873a-0fe96eb9ebfb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "1e802339-e5b0-422f-8b6b-4b7c2738c7a9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222944Z:1e802339-e5b0-422f-8b6b-4b7c2738c7a9" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzYwNjc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2ea42c4e-7bd5-4e3f-a392-59a9a4c0e289" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4ca5f67b-c6e0-4dc8-8a97-e961bb09bd7c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "f85421df-1eb3-4268-b983-9851006935fa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222945Z:f85421df-1eb3-4268-b983-9851006935fa" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzYwNjc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5d6980d5-b01d-4cb4-910e-837e24cd0c85" + ], + "If-Match": [ + "\"AAAAAAAANY4=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9724d84c-eb46-43f3-8e7f-580c96b7f79c" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "ff055b03-0b27-4647-a50d-48ec6305cf90" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222945Z:ff055b03-0b27-4647-a50d-48ec6305cf90" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/apiTag6067?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL2FwaVRhZzYwNjc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6d9069b9-2551-42f3-8f07-74b0dc1f6dca" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 22:29:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3e41caaf-dabe-4021-9a4d-a4aa7182421f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "a4a9a49f-7e97-4a04-99ee-34ad659d450c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T222945Z:a4a9a49f-7e97-4a04-99ee-34ad659d450c" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteApiTags": [ + "apiTag6067", + "apiTag5885" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteOperationTags.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteOperationTags.json new file mode 100644 index 000000000000..af73d9b859fd --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteOperationTags.json @@ -0,0 +1,1106 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "09a681c1-03ac-46fc-83ad-234089e620f5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "42182581-0f4f-413b-936f-d2a5f9510d05", + "31b10cdd-6371-4b6e-9126-cd07b42fc267" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "6728f504-267b-4e48-8a9a-d6ee5929d3b2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232831Z:6728f504-267b-4e48-8a9a-d6ee5929d3b2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9096b2fe-a4be-4ed7-94a5-f5bcc9eded44" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0d37cf73-bc11-4abf-85dd-f40e0c20c25d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "e71c7213-e7ff-4f77-9dd9-ec26fe7e69d5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232831Z:e71c7213-e7ff-4f77-9dd9-ec26fe7e69d5" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "fe75dca9-94b0-4240-ae37-19c205d44cfc" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d9b850cf-1ee4-4003-80e5-e7b531f159cb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "c3aba414-e0d8-4069-969f-2a4a8219e4f4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232832Z:c3aba414-e0d8-4069-969f-2a4a8219e4f4" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis?api-version=2018-01-01&expandApiVersionSet=false", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDEmZXhwYW5kQXBpVmVyc2lvblNldD1mYWxzZQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "77db8c7f-d9df-463c-8edb-a0b30c7a5d8d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"echo-api\",\r\n \"properties\": {\r\n \"displayName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"description\": null,\r\n \"serviceUrl\": \"http://echoapi.cloudapp.net/api\",\r\n \"path\": \"echo\",\r\n \"protocols\": [\r\n \"https\"\r\n ],\r\n \"authenticationSettings\": null,\r\n \"subscriptionKeyParameterNames\": null,\r\n \"isCurrent\": true\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fda13a7f-9606-4677-b773-bd4c7d558c33" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "8a5d562c-1522-47e8-8bda-4278ba0ac9ab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232832Z:8a5d562c-1522-47e8-8bda-4278ba0ac9ab" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnM/JHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "7508b441-98ea-4c40-8d2d-3cf6dc639bd7" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations\",\r\n \"name\": \"create-resource\",\r\n \"properties\": {\r\n \"displayName\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"templateParameters\": [],\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\",\r\n \"request\": {\r\n \"description\": null,\r\n \"queryParameters\": [],\r\n \"headers\": [],\r\n \"representations\": [\r\n {\r\n \"contentType\": \"application/json\",\r\n \"sample\": \"{\\r\\n\\t\\\"vehicleType\\\": \\\"train\\\",\\r\\n\\t\\\"maxSpeed\\\": 125,\\r\\n\\t\\\"avgSpeed\\\": 90,\\r\\n\\t\\\"speedUnit\\\": \\\"mph\\\"\\r\\n\\t\\t}\"\r\n }\r\n ]\r\n },\r\n \"responses\": [\r\n {\r\n \"statusCode\": 200,\r\n \"description\": null,\r\n \"representations\": [],\r\n \"headers\": []\r\n }\r\n ],\r\n \"policies\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b150e37b-abc7-4db0-8b99-10b6e6f0cbc8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "f32e8211-13bf-48e5-9491-ed3b48856f56" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232832Z:f32e8211-13bf-48e5-9491-ed3b48856f56" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL29wZXJhdGlvblRhZzcxNTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"opreationTag1800\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "67" + ], + "x-ms-client-request-id": [ + "f4c8a9f7-4edd-4051-b3ea-7e41c3581550" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158\",\r\n \"type\": \"Microsoft.ApiManagement/service/tags\",\r\n \"name\": \"operationTag7158\",\r\n \"properties\": {\r\n \"displayName\": \"opreationTag1800\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "329" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZI=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1ee51ca3-a870-4897-8e33-8e5e6536c68d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "0d7bd5a2-c02a-44f7-8315-7c5dddd31950" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232833Z:0d7bd5a2-c02a-44f7-8315-7c5dddd31950" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f55f762f-2472-4769-a44b-f8cd517a6c49" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations/tags\",\r\n \"name\": \"operationTag7158\",\r\n \"properties\": {\r\n \"displayName\": \"opreationTag1800\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "386" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZI=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9be06283-7a37-4544-b61d-ae4eb290c084" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "9ec327ca-cc34-4b44-9dd3-a46b375056b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232833Z:9ec327ca-cc34-4b44-9dd3-a46b375056b9" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3M/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "ed5e4155-62c9-4889-aa9a-51794774e45e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations/tags\",\r\n \"name\": \"operationTag7158\",\r\n \"properties\": {\r\n \"displayName\": \"opreationTag1800\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4da0bb8e-eb23-4f06-8d27-f2cae099bd71" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "db5f9fa3-316f-4541-93cd-72d01996a85a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232834Z:db5f9fa3-316f-4541-93cd-72d01996a85a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "3e20af3f-1441-488e-9983-6d1fe218f7de" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/operations/tags\",\r\n \"name\": \"operationTag7158\",\r\n \"properties\": {\r\n \"displayName\": \"opreationTag1800\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANZI=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "14cac2a4-a629-4f12-b4d2-57c80271c8ca" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "39d4a055-a4fd-4e71-a42c-76febcf381b5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232834Z:39d4a055-a4fd-4e71-a42c-76febcf381b5" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d6e3a87e-eb1e-4f62-80b1-0bdcde496e4c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Tag not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3b83157f-5e59-473d-ae17-96935efd5afd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "be47927f-c57b-4633-8e36-1c6f5a3be973" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232835Z:be47927f-c57b-4633-8e36-1c6f5a3be973" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tagResources?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdSZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "05b307d6-ff4e-4542-98b0-273de858c8a5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"tag\": {\r\n \"id\": \"/tags/operationTag7158\",\r\n \"name\": \"opreationTag1800\"\r\n },\r\n \"operation\": {\r\n \"id\": \"/apis/echo-api/operations/create-resource\",\r\n \"apiName\": \"Echo API\",\r\n \"apiRevision\": \"1\",\r\n \"apiVersion\": null,\r\n \"name\": \"Create resource\",\r\n \"method\": \"POST\",\r\n \"urlTemplate\": \"/resource\",\r\n \"description\": \"A demonstration of a POST call based on the echo backend above. The request body is expected to contain JSON-formatted data (see example below). A policy is used to automatically transform any request sent in JSON directly to XML. In a real-world scenario this could be used to enable modern clients to speak to a legacy backend.\"\r\n }\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "76948c75-e7f5-41c8-9a9f-65e99327950a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "aa133061-308e-4080-a16d-07f9e4365f8a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232834Z:aa133061-308e-4080-a16d-07f9e4365f8a" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e86d190e-a8b8-4671-a35a-7f8f9b1cefb8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZI=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ba34321f-d498-4a7b-a5c1-5a22222a000d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "362fa746-db3b-4824-8a6f-1aade7c84e79" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232835Z:362fa746-db3b-4824-8a6f-1aade7c84e79" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6abb5bb8-f7a5-4d0e-8ceb-6816e65c97a9" + ], + "If-Match": [ + "\"AAAAAAAANZI=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c3244c8b-4574-4c6b-adf1-ef11a3d70088" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "8edc4bef-081e-46b4-bb84-08025b3e4fa8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232835Z:8edc4bef-081e-46b4-bb84-08025b3e4fa8" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/echo-api/operations/create-resource/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2VjaG8tYXBpL29wZXJhdGlvbnMvY3JlYXRlLXJlc291cmNlL3RhZ3Mvb3BlcmF0aW9uVGFnNzE1OD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bf616fc2-0a43-4d8f-bcb8-086e4d413fee" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fbf4f6e8-edf0-431c-963b-56e74736aa8a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "d9ef51d9-82b9-4986-8763-d88fa73c5875" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232842Z:d9ef51d9-82b9-4986-8763-d88fa73c5875" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL29wZXJhdGlvblRhZzcxNTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9ebc05fe-72e8-4808-bb65-789eb115edb5" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZI=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f98f6cb1-503f-4f78-b604-267649f3ebe3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "38138f8d-868d-4c7f-9140-437acec0e38e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232839Z:38138f8d-868d-4c7f-9140-437acec0e38e" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL29wZXJhdGlvblRhZzcxNTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "e8e11186-096e-434b-98ef-804c8d9aaad0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1244faf9-bff5-480e-9615-0fe3c339a743" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14989" + ], + "x-ms-correlation-request-id": [ + "35b3f235-fb11-4a2f-a532-c869af565a6c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232840Z:35b3f235-fb11-4a2f-a532-c869af565a6c" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL29wZXJhdGlvblRhZzcxNTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6a633831-627f-4175-954d-fd71e07f2803" + ], + "If-Match": [ + "\"AAAAAAAANZI=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ebd9904d-ea49-4800-a97c-57c7f119347f" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "2ffc1f59-9932-4995-9237-6ea12d8b9125" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232840Z:2ffc1f59-9932-4995-9237-6ea12d8b9125" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/operationTag7158?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL29wZXJhdGlvblRhZzcxNTg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0d92303c-7a91-4be7-9164-25ecf1877433" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:28:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "bf174c43-b42e-4f2f-adaa-e7372bb1916a" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "d6c3ce65-a2b7-4710-9dca-898f2b10cc38" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T232842Z:d6c3ce65-a2b7-4710-9dca-898f2b10cc38" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteOperationTags": [ + "operationTag7158", + "opreationTag1800" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteProductTags.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteProductTags.json new file mode 100644 index 000000000000..068732235469 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TagTest/CreateListUpdateDeleteProductTags.json @@ -0,0 +1,1045 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ], + "x-ms-client-request-id": [ + "e3da5072-56ac-453f-af52-14eac65488ae" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "533c1671-64b4-474a-a783-dd8c1a92aaee", + "e9b2bc08-4b30-4caf-ba76-6b04e8422353" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "ff335a49-603b-4554-a2c0-f39e7fd9ae03" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233212Z:ff335a49-603b-4554-a2c0-f39e7fd9ae03" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2d8b8c75-2884-48aa-bacf-4dadb333725b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAADaNQw=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9a139181-f565-476d-ac64-17d5d035d4e6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "77cbe77a-c09c-4009-bb08-55817741f3d3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233213Z:77cbe77a-c09c-4009-bb08-55817741f3d3" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f991d9d5-4c42-41f7-9b97-a1a73bab326a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7baf98ef-2c18-428d-b502-ac4981efc96c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "ecb1cdc0-5bb6-4148-8988-c9d224d0dbd2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233213Z:ecb1cdc0-5bb6-4148-8988-c9d224d0dbd2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "daa2e431-48ee-45a3-a1a5-f74febd56c76" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"starter\",\r\n \"properties\": {\r\n \"displayName\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"type\": \"Microsoft.ApiManagement/service/products\",\r\n \"name\": \"unlimited\",\r\n \"properties\": {\r\n \"displayName\": \"Unlimited\",\r\n \"description\": \"Subscribers have completely unlimited access to the API. Administrator approval is required.\",\r\n \"terms\": null,\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": true,\r\n \"subscriptionsLimit\": 1,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "680533d3-208b-4499-bed1-ee4a6d6bdcb1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "4c8e46ca-3c7a-403f-b442-410a93aea2a4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233213Z:4c8e46ca-3c7a-403f-b442-410a93aea2a4" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL3Byb2R1Y3RUYWc4ODQ3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"productTag9997\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "65" + ], + "x-ms-client-request-id": [ + "db1f64a3-4853-4cd2-a543-c235813862a2" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847\",\r\n \"type\": \"Microsoft.ApiManagement/service/tags\",\r\n \"name\": \"productTag8847\",\r\n \"properties\": {\r\n \"displayName\": \"productTag9997\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "323" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "58f89a2e-99e5-4f8a-9f05-2ce2d31afc04" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "bb069778-3e5e-4765-a145-54d13698e100" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233230Z:bb069778-3e5e-4765-a145-54d13698e100" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "69218cef-b08d-4be0-b79a-f6d462eae906" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/tags\",\r\n \"name\": \"productTag8847\",\r\n \"properties\": {\r\n \"displayName\": \"productTag9997\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "349" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ed4718a3-e06f-4d0d-8734-0278e334528d" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "b5f2587a-9083-4444-be53-d23b7fc46729" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233239Z:b5f2587a-9083-4444-be53-d23b7fc46729" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3M/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "09f09d47-82cd-4b3a-86c2-c3a23b5013b6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/tags\",\r\n \"name\": \"productTag8847\",\r\n \"properties\": {\r\n \"displayName\": \"productTag9997\"\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8a06267f-9499-46f3-845a-90a79d39d88b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "75aaa2c7-a5fb-4914-8e98-76ce53825da2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233240Z:75aaa2c7-a5fb-4914-8e98-76ce53825da2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6d073034-a5b1-4170-816f-a7ecdaa2f665" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847\",\r\n \"type\": \"Microsoft.ApiManagement/service/products/tags\",\r\n \"name\": \"productTag8847\",\r\n \"properties\": {\r\n \"displayName\": \"productTag9997\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "ETag": [ + "\"AAAAAAAANZQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "da7af0b9-e3e1-4330-a079-7c7da78ce0f5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "ba574001-8e3e-40db-80ab-7acd3d72fe78" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233240Z:ba574001-8e3e-40db-80ab-7acd3d72fe78" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0caf46c5-ebae-4817-ab18-25bf04582a8b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Tag not found.\",\r\n \"details\": null\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8787dc2b-5587-419d-8e3d-b5606dd347f5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "93fe0bd6-a1c4-4f89-b897-17a5732233d5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233309Z:93fe0bd6-a1c4-4f89-b897-17a5732233d5" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tagResources?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdSZXNvdXJjZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4c162c0e-dea1-4292-a63a-61c55019dd66" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"tag\": {\r\n \"id\": \"/tags/productTag8847\",\r\n \"name\": \"productTag9997\"\r\n },\r\n \"product\": {\r\n \"id\": \"/products/starter\",\r\n \"name\": \"Starter\",\r\n \"description\": \"Subscribers will be able to run 5 calls/minute up to a maximum of 100 calls/week.\",\r\n \"terms\": \"\",\r\n \"subscriptionRequired\": true,\r\n \"approvalRequired\": false,\r\n \"subscriptionsLimit\": 2147483647,\r\n \"state\": \"published\"\r\n }\r\n }\r\n ],\r\n \"count\": 1,\r\n \"nextLink\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:32:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "53daf6da-fbcd-4535-9eaa-e27b6eb3315c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "4418f6dd-03b4-4758-bb5c-dedf78db5986" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233241Z:4418f6dd-03b4-4758-bb5c-dedf78db5986" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "bd5c390b-ac6a-4469-89dc-b78b99f03e95" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "13eb3bbd-72da-4fc8-898b-fc770a5060d9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "cb93ce98-5c34-4731-afde-e26bc827741f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233302Z:cb93ce98-5c34-4731-afde-e26bc827741f" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "161dadad-4112-44d2-b460-b3fff1992c7a" + ], + "If-Match": [ + "\"AAAAAAAANZQ=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "67b5b746-7d83-425c-bf8c-8aace6684935" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1196" + ], + "x-ms-correlation-request-id": [ + "9fed656f-a321-48b0-b499-9629c205c2ee" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233308Z:9fed656f-a321-48b0-b499-9629c205c2ee" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9wcm9kdWN0cy9zdGFydGVyL3RhZ3MvcHJvZHVjdFRhZzg4NDc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2c1e4693-c00b-4ebc-83ea-837ac3df68e8" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7533f6e9-eeed-4839-bb77-3cb4202b8c0e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1194" + ], + "x-ms-correlation-request-id": [ + "740a73d1-7170-4fbf-8210-f15ae4221f17" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233314Z:740a73d1-7170-4fbf-8210-f15ae4221f17" + ] + }, + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL3Byb2R1Y3RUYWc4ODQ3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b450c2a4-9ff4-45f8-9f9b-2ea3394a693a" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAANZQ=\"" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e501a0ca-5805-4321-be9b-2bf8ff434196" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14991" + ], + "x-ms-correlation-request-id": [ + "bdc05b06-e707-475f-a618-4769cbf85e43" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233312Z:bdc05b06-e707-475f-a618-4769cbf85e43" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL3Byb2R1Y3RUYWc4ODQ3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d16ead78-6115-4ac9-b09b-731599d9bb20" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:12 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a1742f28-405b-4576-aa02-14381c030444" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "c90a9b57-d15c-4025-a4a1-94d0ccb0cfc4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233313Z:c90a9b57-d15c-4025-a4a1-94d0ccb0cfc4" + ] + }, + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL3Byb2R1Y3RUYWc4ODQ3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "05bcb8ec-0441-4794-b2b3-fde665e3e5c8" + ], + "If-Match": [ + "\"AAAAAAAANZQ=\"" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:11 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "63df43fd-432d-4d2c-9bb6-8db286e60d4b" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1195" + ], + "x-ms-correlation-request-id": [ + "dd13e728-91c7-4e69-88c1-27eaf64367c9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233312Z:dd13e728-91c7-4e69-88c1-27eaf64367c9" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tags/productTag8847?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90YWdzL3Byb2R1Y3RUYWc4ODQ3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "2329b62f-b5b5-4897-8ce4-e92c26ea754b" + ], + "If-Match": [ + "*" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Tue, 20 Feb 2018 23:33:13 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2edc1d14-225e-4df4-9f64-449f0af5a340" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1193" + ], + "x-ms-correlation-request-id": [ + "c1e4d6da-4f74-43fd-85c9-311fd10ed9ca" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180220T233314Z:c1e4d6da-4f74-43fd-85c9-311fd10ed9ca" + ] + }, + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteProductTags": [ + "productTag8847", + "productTag9997" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestservice", + "Location": "CentralUS", + "ResourceGroup": "Api-Default-CentralUS" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessGitTests/GetUpdateKeys.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessGitTests/GetUpdateKeys.json index 7ca501fdb5ce..b8350a42343b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessGitTests/GetUpdateKeys.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessGitTests/GetUpdateKeys.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "c6b7eef4-4a19-44b2-8a69-f44e38fffa2f" + "6b482260-76db-431b-98ab-bff60e935284" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:02 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e7951098-45af-410c-bd2a-c1a4018eb2d7", - "23be487e-9ac8-490b-953d-89183c07c2d8" + "dce3f430-f507-4212-8c72-a5375c010971", + "0fda2639-820a-4bd2-bc69-c0cbaf64e153" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1194" ], "x-ms-correlation-request-id": [ - "3914495c-0d17-44a2-9c4c-a491ced4e07f" + "5d1e301f-628b-4740-bb07-ecb4c356ff9e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:3914495c-0d17-44a2-9c4c-a491ced4e07f" + "WESTUS2:20180220T000002Z:5d1e301f-628b-4740-bb07-ecb4c356ff9e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "27ab8634-9d29-4b5f-97d5-c4315344624f" + "20b9a1b7-1597-4e23-91c3-d8fb3cf97186" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:02 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bb1ce12f-9027-4684-bd23-61caa25f007b" + "c01c08b8-cb8d-434b-a02a-754a245e6d97" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14992" ], "x-ms-correlation-request-id": [ - "9110ec76-107d-4e0c-90e1-0d7eead4ee66" + "787beeac-52f4-44bd-b93f-071720a88800" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:9110ec76-107d-4e0c-90e1-0d7eead4ee66" + "WESTUS2:20180220T000002Z:787beeac-52f4-44bd-b93f-071720a88800" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eefa40f5-1a4a-4fb3-ba26-a331aed5e0b4" + "f0cf4f88-d95f-4e03-93bf-3a54effb0539" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"viMcmuDv3I13GoecxHAqFDrrHKl9WtZzIIy2apgrfwuwZpAomfNdtS0qab7D3SNpIoGs8YQ/lbkVG9IvcQ5pWg==\",\r\n \"secondaryKey\": \"Q6SeA+EBZyJa2NYhccfPwSV8SqoYp9/JSjHUMlnji1nwS5E88DPcbMqkT+7Pyz+WvDMtUGGomzIxiq1K87NIVA==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"iuT6o+kpmwgxI13Uc9dUIksZIwmXVOZRoJFMCQTpZ+FJxrtb7bpdyGOLVaAJWYP/12ty21RHwSGlHNKGgKdAUg==\",\r\n \"secondaryKey\": \"Vp7KD6a5UkuxbgNKfQIfxMfe3aYrsad0/X7lmyM2IYpeamzYuc38vyobtD/UCioResmfZx0/0yH+ee0R9h8HtQ==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:03 GMT" ], "Pragma": [ "no-cache" @@ -185,28 +185,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bfabdc35-0c76-4d2a-a362-b4d821f22a8b" + "a7601945-fd10-4b0c-b0bf-8da918164c28" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14991" ], "x-ms-correlation-request-id": [ - "4c458acb-cadb-442d-a4b7-8a1da9112a45" + "8630f895-d262-412d-baaa-459ca095a0d6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:4c458acb-cadb-442d-a4b7-8a1da9112a45" + "WESTUS2:20180220T000003Z:8630f895-d262-412d-baaa-459ca095a0d6" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "41576b80-1493-490f-97a8-5c666b41edf5" + "80bb4b64-7841-4229-88f5-11b81213576e" ], "accept-language": [ "en-US" @@ -216,7 +216,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"FR5a5GL+uIA9Fl+Rn8do3lm0U5Gt4iqazuL92BSbbS6oKMJmIXTYfyl5HNSP8t2Vioy3I+9WqmglzuLlK0zlfA==\",\r\n \"secondaryKey\": \"Q6SeA+EBZyJa2NYhccfPwSV8SqoYp9/JSjHUMlnji1nwS5E88DPcbMqkT+7Pyz+WvDMtUGGomzIxiq1K87NIVA==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"YYcITzZLwLtdHRM7IN3RYgi+uKVDsabsh1Bf+1EHbOq1fijTIzyOqc2dJJbJCJly8JEvw90sV1MLUd4QoxWtwQ==\",\r\n \"secondaryKey\": \"Vp7KD6a5UkuxbgNKfQIfxMfe3aYrsad0/X7lmyM2IYpeamzYuc38vyobtD/UCioResmfZx0/0yH+ee0R9h8HtQ==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -228,7 +228,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:03 GMT" ], "Pragma": [ "no-cache" @@ -249,28 +249,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7095dff3-d9b5-48f5-a495-db80b2b51fd9" + "ede25aa3-533c-4cbc-8945-91d0eb5935eb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14990" ], "x-ms-correlation-request-id": [ - "5af44683-80a7-470d-8f99-4adbdf441a95" + "a753b740-2566-4726-b1f7-1813e2a59d74" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:5af44683-80a7-470d-8f99-4adbdf441a95" + "WESTUS2:20180220T000003Z:a753b740-2566-4726-b1f7-1813e2a59d74" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a19e5117-84e1-4c9d-9eea-2727fd959d99" + "bc9c3cd6-2646-44c7-87ee-9545765620fb" ], "accept-language": [ "en-US" @@ -280,7 +280,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"FR5a5GL+uIA9Fl+Rn8do3lm0U5Gt4iqazuL92BSbbS6oKMJmIXTYfyl5HNSP8t2Vioy3I+9WqmglzuLlK0zlfA==\",\r\n \"secondaryKey\": \"h+/10t0MEgP5u33JXC+to3IylPSZY7tffO/avNZ5cc0wUI7SulQU4rjuHSMmfyt7Klkms6Xx2BJQV+TJ+yCcIw==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"YYcITzZLwLtdHRM7IN3RYgi+uKVDsabsh1Bf+1EHbOq1fijTIzyOqc2dJJbJCJly8JEvw90sV1MLUd4QoxWtwQ==\",\r\n \"secondaryKey\": \"JNeB9OqAjRcga4j7Hx90X2ONyGyn7uYCIt+y7m7x3g9pkzYGI2w7bIddB9ppoD1IdOFKKvYO5AfPFsBk+paA8g==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -292,7 +292,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:21 GMT" + "Tue, 20 Feb 2018 00:00:03 GMT" ], "Pragma": [ "no-cache" @@ -313,28 +313,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "72edcefd-ba59-436f-9e1a-b5b435039c0e" + "070e3ca1-6282-42da-b275-5b37b389ed95" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14989" ], "x-ms-correlation-request-id": [ - "695a4971-cc92-463e-b404-90a3e10a954b" + "5e09b35a-d4ea-414a-a406-7793e308179f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191822Z:695a4971-cc92-463e-b404-90a3e10a954b" + "WESTUS2:20180220T000003Z:5e09b35a-d4ea-414a-a406-7793e308179f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git/regeneratePrimaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdC9yZWdlbmVyYXRlUHJpbWFyeUtleT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git/regeneratePrimaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdC9yZWdlbmVyYXRlUHJpbWFyeUtleT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5a50cbe2-1ae4-4df8-8488-5a2717e57ca4" + "d413ae12-8fc7-4618-bdbb-85f8837232e9" ], "accept-language": [ "en-US" @@ -346,9 +346,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -356,7 +353,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:03 GMT" ], "Pragma": [ "no-cache" @@ -368,28 +365,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6f38f10d-a987-4939-8e1c-cbc4392d8dae" + "cc8ad9eb-cc3d-4629-a043-d4a5b7858ad2" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1193" ], "x-ms-correlation-request-id": [ - "f456e079-5969-4230-8388-ec9a2bffc208" + "9cdefa42-a120-416c-895a-651e87752a26" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:f456e079-5969-4230-8388-ec9a2bffc208" + "WESTUS2:20180220T000003Z:9cdefa42-a120-416c-895a-651e87752a26" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git/regenerateSecondaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdC9yZWdlbmVyYXRlU2Vjb25kYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git/regenerateSecondaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdC9yZWdlbmVyYXRlU2Vjb25kYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "fc03d3e9-50d4-4103-8d55-db2f02e4475c" + "3638d8c5-6355-4589-8087-d1b13144247b" ], "accept-language": [ "en-US" @@ -401,9 +398,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -411,7 +405,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:18:20 GMT" + "Tue, 20 Feb 2018 00:00:03 GMT" ], "Pragma": [ "no-cache" @@ -423,16 +417,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4fd7ec02-5002-4935-af4c-1c8d6cb89d83" + "4be533b2-99e1-481c-9345-5e012cbe33a5" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1192" ], "x-ms-correlation-request-id": [ - "074e191d-f983-4ec4-b5e5-0f92eb419768" + "c9a80993-0a07-474a-af6e-ba3bba810f61" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191821Z:074e191d-f983-4ec4-b5e5-0f92eb419768" + "WESTUS2:20180220T000003Z:c9a80993-0a07-474a-af6e-ba3bba810f61" ] }, "StatusCode": 204 @@ -441,9 +435,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessTests/EnableGetAndUpdateKeys.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessTests/EnableGetAndUpdateKeys.json index a4552198ee43..f06ed4ade6f2 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessTests/EnableGetAndUpdateKeys.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantAccessTests/EnableGetAndUpdateKeys.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "96540682-f078-4998-a724-de614f10375f" + "2f2bc0fd-3bc5-41ec-8405-c1bf3436412b" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:49 GMT" + "Tue, 20 Feb 2018 00:01:21 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5a503465-bbb7-43dd-9697-51c4b69c36c5", - "c87c4618-fc0e-4dbe-92c3-1b62c2693990" + "9f7891c6-d702-498b-965d-f312d8978ef2", + "3a0379f6-2561-4758-bb94-dddf445ba621" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1196" ], "x-ms-correlation-request-id": [ - "18466dd6-2ceb-43cf-8938-fde316b085cc" + "9fe7e049-365c-4956-b3e1-a75d37b249dd" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191650Z:18466dd6-2ceb-43cf-8938-fde316b085cc" + "WESTUS2:20180220T000121Z:9fe7e049-365c-4956-b3e1-a75d37b249dd" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6235eba8-0993-41e3-b7ce-933229e752e6" + "b80f183e-3ccd-4b75-a60f-070ab46fac99" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:49 GMT" + "Tue, 20 Feb 2018 00:01:21 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5f68d2dd-9961-4d2f-a763-c8f5d97fb936" + "fb1eaba3-2429-4831-a452-168c05781679" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14994" ], "x-ms-correlation-request-id": [ - "bcc0154e-d846-426a-929a-3fe470c7eb97" + "e1b763f5-1fe8-4b2d-baf8-33124f11f2e0" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191650Z:bcc0154e-d846-426a-929a-3fe470c7eb97" + "WESTUS2:20180220T000122Z:e1b763f5-1fe8-4b2d-baf8-33124f11f2e0" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d91471af-1f6a-45c9-9e69-0d1080a4847b" + "f7eb65df-b7bd-4aaf-b65b-186d22caff5f" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"wG3jJ9hC3vUhW4UKv6vdtAy5tB+rgXtz5KAo2pzQ80wHLy7zq7eZO6xxOjn6TgqyVu9OCwduWqClRKucCzuXzA==\",\r\n \"secondaryKey\": \"y+ZMGyuj7WIMjrCnL3e0l2AFqxAM9m0HGO3j2N3/39ndhGYIoO2UZjqnYBPNkfnpFdR6fU9s48XOARnLk1U45g==\",\r\n \"enabled\": false\r\n}", + "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"t+9PdxsHB4kg+RLtJRLGvyEN6vNu8JJ4ydPnL9+y0qYfZs+khU7OmiOcCeckMU/3wZ/+Mb/m1JLTbXMrC6afAg==\",\r\n \"secondaryKey\": \"G0K0CiR78OR+qq3XZZOfsk6P67haaRMD3VuHksXXBUWNN7uI5UVsrj2uYvvj6cqRWdhG4JJh6Y0ZGxtbeujTtQ==\",\r\n \"enabled\": false\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:50 GMT" + "Tue, 20 Feb 2018 00:01:21 GMT" ], "Pragma": [ "no-cache" @@ -173,7 +173,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAADtYAAAAAAAAAAA==\"" + "\"AAAAAAAAM7kAAAAAAAAAAA==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -185,28 +185,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3b027c11-62e2-4442-af18-d63361987c92" + "47ada625-0b60-4f98-8713-d6add44a7eb8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14993" ], "x-ms-correlation-request-id": [ - "fb887127-6ec0-4ca9-8e28-b5a79837c495" + "9d200f7a-7515-447a-b400-6f8b27fe1109" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191651Z:fb887127-6ec0-4ca9-8e28-b5a79837c495" + "WESTUS2:20180220T000122Z:9d200f7a-7515-447a-b400-6f8b27fe1109" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "58296116-6d42-4c67-be1f-beb2e439a955" + "e582aa07-af7e-4983-95b1-55bec6b5d969" ], "accept-language": [ "en-US" @@ -216,7 +216,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"wG3jJ9hC3vUhW4UKv6vdtAy5tB+rgXtz5KAo2pzQ80wHLy7zq7eZO6xxOjn6TgqyVu9OCwduWqClRKucCzuXzA==\",\r\n \"secondaryKey\": \"y+ZMGyuj7WIMjrCnL3e0l2AFqxAM9m0HGO3j2N3/39ndhGYIoO2UZjqnYBPNkfnpFdR6fU9s48XOARnLk1U45g==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"t+9PdxsHB4kg+RLtJRLGvyEN6vNu8JJ4ydPnL9+y0qYfZs+khU7OmiOcCeckMU/3wZ/+Mb/m1JLTbXMrC6afAg==\",\r\n \"secondaryKey\": \"G0K0CiR78OR+qq3XZZOfsk6P67haaRMD3VuHksXXBUWNN7uI5UVsrj2uYvvj6cqRWdhG4JJh6Y0ZGxtbeujTtQ==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -228,7 +228,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:50 GMT" + "Tue, 20 Feb 2018 00:01:22 GMT" ], "Pragma": [ "no-cache" @@ -237,7 +237,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8IAAAAAAAAAAA==\"" + "\"AAAAAAAANC0AAAAAAAAAAA==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -249,28 +249,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "88b773c7-795f-4849-874c-f7b8ee41af04" + "24c269ef-b60a-4a42-bd05-6c5e014b805c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14992" ], "x-ms-correlation-request-id": [ - "03756a87-c14a-4da5-844d-df3c3f823183" + "092417c5-038d-4131-8ff7-f4d1d4095587" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191651Z:03756a87-c14a-4da5-844d-df3c3f823183" + "WESTUS2:20180220T000123Z:092417c5-038d-4131-8ff7-f4d1d4095587" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ae8c4078-e3b7-4409-af9d-f9bd824754a2" + "c97e925c-c759-4c79-bb0e-c3bcd17b7c34" ], "accept-language": [ "en-US" @@ -280,7 +280,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"t+9PdxsHB4kg+RLtJRLGvyEN6vNu8JJ4ydPnL9+y0qYfZs+khU7OmiOcCeckMU/3wZ/+Mb/m1JLTbXMrC6afAg==\",\r\n \"secondaryKey\": \"y+ZMGyuj7WIMjrCnL3e0l2AFqxAM9m0HGO3j2N3/39ndhGYIoO2UZjqnYBPNkfnpFdR6fU9s48XOARnLk1U45g==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"QtW/xq4Gxm696HKC1j6v3WEYbMgPdEKV6nBkEYlY4rsNxyq+nTl0numqEd/BFZBlCDphTg2XQdUROmMBWTKvZw==\",\r\n \"secondaryKey\": \"G0K0CiR78OR+qq3XZZOfsk6P67haaRMD3VuHksXXBUWNN7uI5UVsrj2uYvvj6cqRWdhG4JJh6Y0ZGxtbeujTtQ==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -292,7 +292,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:51 GMT" + "Tue, 20 Feb 2018 00:01:22 GMT" ], "Pragma": [ "no-cache" @@ -301,7 +301,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8IAAAAAAAAAAA==\"" + "\"AAAAAAAANC0AAAAAAAAAAA==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -313,28 +313,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1a03197e-14b8-4492-aafd-70ac9a9cde98" + "17e32515-dfdd-46d0-bb5e-9d25db117261" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14991" ], "x-ms-correlation-request-id": [ - "fde230da-f533-4cdc-9fdb-396bf5a85dc2" + "ba62d0a9-9193-4662-8f3e-15c679fcf240" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191652Z:fde230da-f533-4cdc-9fdb-396bf5a85dc2" + "WESTUS2:20180220T000123Z:ba62d0a9-9193-4662-8f3e-15c679fcf240" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "d911f43d-421a-4e01-ad08-527b142cad3a" + "8ab23852-ceb6-4b0b-8d6c-15116890649e" ], "accept-language": [ "en-US" @@ -344,7 +344,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"t+9PdxsHB4kg+RLtJRLGvyEN6vNu8JJ4ydPnL9+y0qYfZs+khU7OmiOcCeckMU/3wZ/+Mb/m1JLTbXMrC6afAg==\",\r\n \"secondaryKey\": \"G0K0CiR78OR+qq3XZZOfsk6P67haaRMD3VuHksXXBUWNN7uI5UVsrj2uYvvj6cqRWdhG4JJh6Y0ZGxtbeujTtQ==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"integration\",\r\n \"primaryKey\": \"QtW/xq4Gxm696HKC1j6v3WEYbMgPdEKV6nBkEYlY4rsNxyq+nTl0numqEd/BFZBlCDphTg2XQdUROmMBWTKvZw==\",\r\n \"secondaryKey\": \"jd38Zfh+zyPINttJ+rgT6y4KIJS5n7BmuqJVaNLHwNbLimiK9Cj6+PAxeEL1UBRi36SJHOEeLja/UpgGGX1Vig==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -356,7 +356,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:51 GMT" + "Tue, 20 Feb 2018 00:01:23 GMT" ], "Pragma": [ "no-cache" @@ -365,7 +365,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD8IAAAAAAAAAAA==\"" + "\"AAAAAAAANC0AAAAAAAAAAA==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -377,23 +377,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "be76d142-5e25-4cca-8ba7-8269180929a6" + "9ccc6348-c9ee-4de3-8c01-a56c5b2fefbf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14990" ], "x-ms-correlation-request-id": [ - "3b1ee5b8-6d6e-453c-8137-41ded083b02e" + "3c004d7e-edbd-405c-bda5-7c5748c23e64" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191652Z:3b1ee5b8-6d6e-453c-8137-41ded083b02e" + "WESTUS2:20180220T000123Z:3c004d7e-edbd-405c-bda5-7c5748c23e64" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"enabled\": true\r\n}", "RequestHeaders": { @@ -404,7 +404,7 @@ "23" ], "x-ms-client-request-id": [ - "61d89b2f-ecaf-4b5d-b007-9d736deddc3b" + "7701fc05-0e40-4f71-af3b-47e43420ce63" ], "If-Match": [ "*" @@ -419,9 +419,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -429,7 +426,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:50 GMT" + "Tue, 20 Feb 2018 00:01:22 GMT" ], "Pragma": [ "no-cache" @@ -441,23 +438,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "625a0355-b985-4e4a-9eb0-b76a3fc9e851" + "6d92caaf-b8f5-4134-b481-40f2c3f6b40f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1195" ], "x-ms-correlation-request-id": [ - "c2a74425-6a82-4c0c-bfe8-9c6352c3e8a5" + "10f95fe9-e8e9-4f27-8439-b6545b33ec83" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191651Z:c2a74425-6a82-4c0c-bfe8-9c6352c3e8a5" + "WESTUS2:20180220T000122Z:10f95fe9-e8e9-4f27-8439-b6545b33ec83" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PATCH", "RequestBody": "{\r\n \"enabled\": false\r\n}", "RequestHeaders": { @@ -468,7 +465,7 @@ "24" ], "x-ms-client-request-id": [ - "d5bc9f74-8e1e-4d0a-912d-6f48ba05c291" + "e3b950ba-ad98-49ce-afca-6dd4625028b8" ], "If-Match": [ "*" @@ -483,9 +480,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -493,7 +487,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:52 GMT" + "Tue, 20 Feb 2018 00:01:23 GMT" ], "Pragma": [ "no-cache" @@ -505,28 +499,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3ee92a2b-9963-490d-88f9-be6452091841" + "87567d17-09b1-4bd9-b93a-f38bdd154527" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1190" + "1192" ], "x-ms-correlation-request-id": [ - "bd448625-b1fa-4cdc-9f59-5f5cae862f75" + "0a19db54-7750-40cb-9fdf-7f5c9d3d0edf" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191653Z:bd448625-b1fa-4cdc-9f59-5f5cae862f75" + "WESTUS2:20180220T000123Z:0a19db54-7750-40cb-9fdf-7f5c9d3d0edf" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/regeneratePrimaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL3JlZ2VuZXJhdGVQcmltYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/regeneratePrimaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL3JlZ2VuZXJhdGVQcmltYXJ5S2V5P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "726f784b-76d7-4952-b929-6787dc7d0392" + "1c85ff74-6187-47fa-b670-1b57d14a226c" ], "accept-language": [ "en-US" @@ -538,9 +532,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -548,7 +539,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:51 GMT" + "Tue, 20 Feb 2018 00:01:22 GMT" ], "Pragma": [ "no-cache" @@ -560,28 +551,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0c309af6-fd89-4bdd-a362-a24f63f5d30d" + "fb1de864-1a01-413f-ba89-85a3e22b7805" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1192" + "1194" ], "x-ms-correlation-request-id": [ - "f9cffc81-bf5c-4a46-9ff9-dedb46e35b68" + "f4c6e883-ce28-4821-91ab-4cc398864656" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191652Z:f9cffc81-bf5c-4a46-9ff9-dedb46e35b68" + "WESTUS2:20180220T000123Z:f4c6e883-ce28-4821-91ab-4cc398864656" ] }, "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/regenerateSecondaryKey?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL3JlZ2VuZXJhdGVTZWNvbmRhcnlLZXk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/regenerateSecondaryKey?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL3JlZ2VuZXJhdGVTZWNvbmRhcnlLZXk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "1ebf7cd4-b1a1-4f35-ab59-550f48a49665" + "ada23884-6bcf-4570-9f8e-e3de8bd20964" ], "accept-language": [ "en-US" @@ -593,9 +584,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -603,7 +591,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:51 GMT" + "Tue, 20 Feb 2018 00:01:23 GMT" ], "Pragma": [ "no-cache" @@ -615,16 +603,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e46c9cb2-9b5f-4e93-a755-b4647d15ad16" + "235db32f-4261-4e60-a5aa-d6d1b926d319" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1191" + "1193" ], "x-ms-correlation-request-id": [ - "70edd79c-e8b0-4441-b15a-e0f2ba18b861" + "2a026f9b-437a-46d6-ad97-ab9c97be36d3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191652Z:70edd79c-e8b0-4441-b15a-e0f2ba18b861" + "WESTUS2:20180220T000123Z:2a026f9b-437a-46d6-ad97-ab9c97be36d3" ] }, "StatusCode": 204 @@ -633,9 +621,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantGitTests/ValidateSaveDeploy.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantGitTests/ValidateSaveDeploy.json index cbaa35cd7731..a6e3144c3ce9 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantGitTests/ValidateSaveDeploy.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.TenantGitTests/ValidateSaveDeploy.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "bc7dd5b4-ae08-41a1-98c7-e3a59f762b33" + "53c8c7a4-4be0-4fa0-abd5-4ba3be85860d" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:08 GMT" + "Wed, 21 Feb 2018 18:38:06 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6f791ad9-a5b5-40f0-a278-e58a0a30e65e", - "e547deae-c550-4422-8d6e-ba301f69d378" + "891b04fc-9496-4bf0-a07e-b92883abb4b9", + "5c7c0db8-fe0f-4f64-a501-992744f7fb19" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-correlation-request-id": [ - "28fe5b65-ca94-40e5-8676-327ca3f2ec63" + "efe2d557-7252-4071-9d97-ed8450a43d79" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191509Z:28fe5b65-ca94-40e5-8676-327ca3f2ec63" + "WESTUS2:20180221T183806Z:efe2d557-7252-4071-9d97-ed8450a43d79" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6a134db9-3928-4c58-b653-699106be3f77" + "0d662b5f-82c4-4a30-9f03-ff19b8b2bf36" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADbPUg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:08 GMT" + "Wed, 21 Feb 2018 18:38:06 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADbPUg=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "571c5351-a64b-4e5c-88ff-c9b5a5cbd59a" + "9158f832-cbe2-4704-aaac-8fe51d4ebce9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14998" ], "x-ms-correlation-request-id": [ - "8f26a5c5-379c-40c7-a6d9-42d59f6d186e" + "09349b30-ec80-45b9-bad4-dbf385e8c9aa" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191509Z:8f26a5c5-379c-40c7-a6d9-42d59f6d186e" + "WESTUS2:20180221T183807Z:09349b30-ec80-45b9-bad4-dbf385e8c9aa" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/access/git?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvYWNjZXNzL2dpdD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ff12219b-46b3-4d8f-8f14-7016d073fe66" + "f2a58137-d2d2-4ddf-907e-03798b9a03bb" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"viMcmuDv3I13GoecxHAqFDrrHKl9WtZzIIy2apgrfwuwZpAomfNdtS0qab7D3SNpIoGs8YQ/lbkVG9IvcQ5pWg==\",\r\n \"secondaryKey\": \"Q6SeA+EBZyJa2NYhccfPwSV8SqoYp9/JSjHUMlnji1nwS5E88DPcbMqkT+7Pyz+WvDMtUGGomzIxiq1K87NIVA==\",\r\n \"enabled\": true\r\n}", + "ResponseBody": "{\r\n \"id\": \"git\",\r\n \"primaryKey\": \"YYcITzZLwLtdHRM7IN3RYgi+uKVDsabsh1Bf+1EHbOq1fijTIzyOqc2dJJbJCJly8JEvw90sV1MLUd4QoxWtwQ==\",\r\n \"secondaryKey\": \"JNeB9OqAjRcga4j7Hx90X2ONyGyn7uYCIt+y7m7x3g9pkzYGI2w7bIddB9ppoD1IdOFKKvYO5AfPFsBk+paA8g==\",\r\n \"enabled\": true\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:09 GMT" + "Wed, 21 Feb 2018 18:38:07 GMT" ], "Pragma": [ "no-cache" @@ -185,28 +185,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "09d2a052-eb41-4c3b-aa65-b7a37a157a63" + "529a4d24-b25e-4edf-862c-f60dc44de0c1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14997" ], "x-ms-correlation-request-id": [ - "b4bee821-4cfb-4c7c-914b-cf2d22db1e2b" + "f901fa44-ee90-40f3-a186-56b65af8e3d8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191509Z:b4bee821-4cfb-4c7c-914b-cf2d22db1e2b" + "WESTUS2:20180221T183807Z:f901fa44-ee90-40f3-a186-56b65af8e3d8" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5c1ecf68-4761-4480-ac39-974a0f97eb17" + "cccad844-001b-45ab-ae16-cbe25af9a2fd" ], "accept-language": [ "en-US" @@ -216,7 +216,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"0dedac88f3f3de60d0f97fe339f0ffef7e04bf6c\",\r\n \"isExport\": false,\r\n \"isSynced\": false,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2017-07-14T00:18:30.6896852Z\",\r\n \"configurationChangeDate\": \"2017-08-02T19:14:39.3058205Z\"\r\n}", + "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"bd9cbb73d6149f14b8674961b92599356647a287\",\r\n \"isExport\": true,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2018-02-21T05:28:55.3862581Z\",\r\n \"configurationChangeDate\": \"2018-02-21T00:44:36.9972665Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -228,7 +228,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:09 GMT" + "Wed, 21 Feb 2018 18:38:07 GMT" ], "Pragma": [ "no-cache" @@ -246,28 +246,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d6f34d73-c28f-4391-b94e-4d4c7c172abc" + "02ed4488-8f3a-400d-8047-47976c2cd75b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14996" ], "x-ms-correlation-request-id": [ - "e6713406-58b7-4fd6-9b0b-59a52963603d" + "815f41bf-15a0-4df4-8be6-c9f0d90807d3" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191510Z:e6713406-58b7-4fd6-9b0b-59a52963603d" + "WESTUS2:20180221T183808Z:815f41bf-15a0-4df4-8be6-c9f0d90807d3" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "bf70175b-0b9a-46c4-ab70-a6d49ded4503" + "12b90dd6-c80f-4830-a6e4-74e6d50bee37" ], "accept-language": [ "en-US" @@ -277,7 +277,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"4c18f6732ed89ce8bd70edb1609be5eacc206e01\",\r\n \"isExport\": true,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2017-08-02T19:15:30.9751921Z\",\r\n \"configurationChangeDate\": \"2017-08-02T19:14:39.3058205Z\"\r\n}", + "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"6a653428c0e8b8d0726a9d1281a37307166bc3ef\",\r\n \"isExport\": true,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2018-02-21T18:38:37.4252561Z\",\r\n \"configurationChangeDate\": \"2018-02-21T00:44:36.9972665Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -289,7 +289,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:40 GMT" + "Wed, 21 Feb 2018 18:38:39 GMT" ], "Pragma": [ "no-cache" @@ -307,28 +307,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a1c955cf-5b80-42b8-9c34-0fd2594d05e4" + "2a688ab8-f0eb-49b8-aada-03a75d973cb8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14994" ], "x-ms-correlation-request-id": [ - "597afc2f-4fdd-4202-89ea-b883b0ac3aac" + "d3a8b22f-9be6-482e-af0b-1c23a73c8902" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191541Z:597afc2f-4fdd-4202-89ea-b883b0ac3aac" + "WESTUS2:20180221T183840Z:d3a8b22f-9be6-482e-af0b-1c23a73c8902" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/syncState?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zeW5jU3RhdGU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6e197b0c-8610-4f5b-9d4e-c2844eee089b" + "c8007bea-20a6-402c-9a3a-b770f4b679a6" ], "accept-language": [ "en-US" @@ -338,7 +338,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"4c18f6732ed89ce8bd70edb1609be5eacc206e01\",\r\n \"isExport\": false,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2017-08-02T19:16:36.8118031Z\",\r\n \"configurationChangeDate\": \"2017-08-02T19:16:36.8118031Z\"\r\n}", + "ResponseBody": "{\r\n \"branch\": \"master\",\r\n \"commitId\": \"6a653428c0e8b8d0726a9d1281a37307166bc3ef\",\r\n \"isExport\": false,\r\n \"isSynced\": true,\r\n \"isGitEnabled\": true,\r\n \"syncDate\": \"2018-02-21T18:39:41.3332656Z\",\r\n \"configurationChangeDate\": \"2018-02-21T18:39:41.3332656Z\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -350,7 +350,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:42 GMT" + "Wed, 21 Feb 2018 18:39:41 GMT" ], "Pragma": [ "no-cache" @@ -368,23 +368,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7b977b7c-f5b3-4d31-a8fd-f2f4f598dd26" + "9438cbdb-7644-46c2-af94-f8011d0d4779" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14991" ], "x-ms-correlation-request-id": [ - "d3ad5ea3-8d46-4dbd-b8f9-b61e6ce93fc9" + "5e51465a-0448-4062-91db-12a4b1d48721" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191643Z:d3ad5ea3-8d46-4dbd-b8f9-b61e6ce93fc9" + "WESTUS2:20180221T183941Z:5e51465a-0448-4062-91db-12a4b1d48721" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/save?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zYXZlP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/save?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9zYXZlP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "{\r\n \"branch\": \"master\"\r\n}", "RequestHeaders": { @@ -395,7 +395,7 @@ "26" ], "x-ms-client-request-id": [ - "1f082ce6-691e-44ca-81c8-fbad90bf3646" + "d4099cba-443e-4886-93cd-7559f2ed17a0" ], "accept-language": [ "en-US" @@ -405,7 +405,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"Id\": \"598224be50f4b80f1009c335\"\r\n}", + "ResponseBody": "{\r\n \"Id\": \"5a8dbc9350f4b8121cab0000\"\r\n}", "ResponseHeaders": { "Content-Length": [ "33" @@ -420,13 +420,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:10 GMT" + "Wed, 21 Feb 2018 18:38:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224be50f4b80f1009c335?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbc9350f4b8121cab0000?api-version=2018-01-01" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -435,23 +435,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b84bdba0-4333-4360-abf5-0de6d886c217" + "b3bc912b-c8bb-4735-9a40-6d3222b6b9cf" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1198" ], "x-ms-correlation-request-id": [ - "a068c761-a02d-42a9-b75c-70fab6115002" + "5edff83a-a726-4799-8ec4-2a2e46e81ff7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191510Z:a068c761-a02d-42a9-b75c-70fab6115002" + "WESTUS2:20180221T183810Z:5edff83a-a726-4799-8ec4-2a2e46e81ff7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224be50f4b80f1009c335?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81OTgyMjRiZTUwZjRiODBmMTAwOWMzMzU/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbc9350f4b8121cab0000?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9vcGVyYXRpb25SZXN1bHRzLzVhOGRiYzkzNTBmNGI4MTIxY2FiMDAwMD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -460,7 +460,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"598224be50f4b80f1009c335\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2017-08-02T19:15:10.853\",\r\n \"updated\": \"2017-08-02T19:15:31.43\",\r\n \"resultInfo\": \"The configuration was successfully saved to master as commit 4c18f6732ed89ce8bd70edb1609be5eacc206e01.\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"5a8dbc9350f4b8121cab0000\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2018-02-21T18:38:11.507Z\",\r\n \"updated\": \"2018-02-21T18:38:37.807Z\",\r\n \"resultInfo\": \"The configuration was successfully saved to master as commit 6a653428c0e8b8d0726a9d1281a37307166bc3ef.\",\r\n \"error\": null,\r\n \"actionLog\": []\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -472,7 +472,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:40 GMT" + "Wed, 21 Feb 2018 18:38:39 GMT" ], "Pragma": [ "no-cache" @@ -490,23 +490,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a30b3cb9-c45a-4016-8ab4-7b15ed871a18" + "de04e770-9ea9-43f6-8327-1a15c9297583" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14995" ], "x-ms-correlation-request-id": [ - "654a38c4-b2bf-4344-9f06-e01a9881786c" + "ffe9a7d0-80f8-421d-b963-8b43bb949a27" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191540Z:654a38c4-b2bf-4344-9f06-e01a9881786c" + "WESTUS2:20180221T183840Z:ffe9a7d0-80f8-421d-b963-8b43bb949a27" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/validate?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/validate?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi92YWxpZGF0ZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "POST", "RequestBody": "{\r\n \"branch\": \"master\"\r\n}", "RequestHeaders": { @@ -517,7 +517,7 @@ "26" ], "x-ms-client-request-id": [ - "85a6c6d6-327f-4b6d-adb9-ca5ad8321c33" + "cf0d13dc-5fa3-486e-8302-3fe3862f9f5e" ], "accept-language": [ "en-US" @@ -527,7 +527,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"Id\": \"598224dd50f4b80f1009c338\"\r\n}", + "ResponseBody": "{\r\n \"Id\": \"5a8dbcb350f4b8121cab0003\"\r\n}", "ResponseHeaders": { "Content-Length": [ "33" @@ -542,13 +542,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:15:40 GMT" + "Wed, 21 Feb 2018 18:38:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224dd50f4b80f1009c338?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbcb350f4b8121cab0003?api-version=2018-01-01" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -557,23 +557,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "625fdc29-03aa-42ff-b4cf-9b6901e32761" + "610744e7-2c7a-4e88-9f11-71fb02812f00" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1197" ], "x-ms-correlation-request-id": [ - "3c3c9f9e-4073-41fc-820f-4bc17dd103a9" + "c14f3f6b-0d09-45b8-af9b-bab15eb14049" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191541Z:3c3c9f9e-4073-41fc-820f-4bc17dd103a9" + "WESTUS2:20180221T183840Z:c14f3f6b-0d09-45b8-af9b-bab15eb14049" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224dd50f4b80f1009c338?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81OTgyMjRkZDUwZjRiODBmMTAwOWMzMzg/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbcb350f4b8121cab0003?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9vcGVyYXRpb25SZXN1bHRzLzVhOGRiY2IzNTBmNGI4MTIxY2FiMDAwMz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -582,7 +582,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"598224dd50f4b80f1009c338\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2017-08-02T19:15:41.727\",\r\n \"updated\": \"2017-08-02T19:15:53.38\",\r\n \"resultInfo\": null,\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"5a8dbcb350f4b8121cab0003\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2018-02-21T18:38:43.593Z\",\r\n \"updated\": \"2018-02-21T18:38:54.93Z\",\r\n \"resultInfo\": \"Validation is successfull\",\r\n \"error\": null,\r\n \"actionLog\": [\r\n {\r\n \"objectType\": \"ProductSpecificationContract\",\r\n \"action\": \"Updated\",\r\n \"objectKey\": \"starter\"\r\n },\r\n {\r\n \"objectType\": \"ProductSpecificationContract\",\r\n \"action\": \"Updated\",\r\n \"objectKey\": \"unlimited\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -594,7 +594,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:11 GMT" + "Wed, 21 Feb 2018 18:39:10 GMT" ], "Pragma": [ "no-cache" @@ -612,23 +612,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "11cd896e-7929-4115-8e78-b26ebeb36d18" + "2c597d0c-122a-4b61-a3b5-9ea1d5c1a57b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14993" ], "x-ms-correlation-request-id": [ - "412902e0-02c3-4d0b-88ba-42e86a9355f0" + "c1c6213d-ed43-42d1-abc4-2cb0ceef2b71" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191611Z:412902e0-02c3-4d0b-88ba-42e86a9355f0" + "WESTUS2:20180221T183911Z:c1c6213d-ed43-42d1-abc4-2cb0ceef2b71" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/deploy?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9kZXBsb3k/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/deploy?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9kZXBsb3k/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "POST", "RequestBody": "{\r\n \"branch\": \"master\"\r\n}", "RequestHeaders": { @@ -639,7 +639,7 @@ "26" ], "x-ms-client-request-id": [ - "8df661da-78b2-402f-86a6-b1d2b855d1fd" + "ccea4708-ac2d-4893-9beb-d2571cf21008" ], "accept-language": [ "en-US" @@ -649,7 +649,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"Id\": \"598224fd50f4b80f1009c33b\"\r\n}", + "ResponseBody": "{\r\n \"Id\": \"5a8dbcd250f4b8121cab0006\"\r\n}", "ResponseHeaders": { "Content-Length": [ "33" @@ -664,13 +664,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:12 GMT" + "Wed, 21 Feb 2018 18:39:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224fd50f4b80f1009c33b?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbcd250f4b8121cab0006?api-version=2018-01-01" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -679,23 +679,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ee05bafd-dda3-4ffe-a983-081374ef6795" + "6ea5c13a-c275-44bf-ae19-a4a6bd9a4a91" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1196" ], "x-ms-correlation-request-id": [ - "50c214ec-2d21-42fe-9cab-2c5b30bc0323" + "99b15154-4ee7-4424-bef4-ec02f6e6f4e0" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191612Z:50c214ec-2d21-42fe-9cab-2c5b30bc0323" + "WESTUS2:20180221T183911Z:99b15154-4ee7-4424-bef4-ec02f6e6f4e0" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/operationResults/598224fd50f4b80f1009c33b?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvb3BlcmF0aW9uUmVzdWx0cy81OTgyMjRmZDUwZjRiODBmMTAwOWMzM2I/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/tenant/configuration/operationResults/5a8dbcd250f4b8121cab0006?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS90ZW5hbnQvY29uZmlndXJhdGlvbi9vcGVyYXRpb25SZXN1bHRzLzVhOGRiY2QyNTBmNGI4MTIxY2FiMDAwNj9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -704,7 +704,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"598224fd50f4b80f1009c33b\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2017-08-02T19:16:13.073\",\r\n \"updated\": \"2017-08-02T19:16:37.31\",\r\n \"resultInfo\": \"Latest commit 4c18f6732ed89ce8bd70edb1609be5eacc206e01 was successfully deployed from master. Previous configuration was saved to the 'ConfigurationBackup' branch.\",\r\n \"error\": null\r\n}", + "ResponseBody": "{\r\n \"id\": \"5a8dbcd250f4b8121cab0006\",\r\n \"status\": \"Succeeded\",\r\n \"started\": \"2018-02-21T18:39:14.103Z\",\r\n \"updated\": \"2018-02-21T18:39:41.727Z\",\r\n \"resultInfo\": \"Latest commit 6a653428c0e8b8d0726a9d1281a37307166bc3ef was successfully deployed from master. Objects created: 0, updated: 2, deleted: 0. Previous configuration was saved to the 'ConfigurationBackup' branch.\",\r\n \"error\": null,\r\n \"actionLog\": [\r\n {\r\n \"objectType\": \"ProductSpecificationContract\",\r\n \"action\": \"Updated\",\r\n \"objectKey\": \"starter\"\r\n },\r\n {\r\n \"objectType\": \"ProductSpecificationContract\",\r\n \"action\": \"Updated\",\r\n \"objectKey\": \"unlimited\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -716,7 +716,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:16:42 GMT" + "Wed, 21 Feb 2018 18:39:41 GMT" ], "Pragma": [ "no-cache" @@ -734,16 +734,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fa587eec-ab23-4f78-88c3-9aa0a3f4695d" + "747eeab1-1798-4aec-8fe5-0fe58450c657" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14992" ], "x-ms-correlation-request-id": [ - "96b8f574-c5d3-4f03-8b47-f4f2c6db8eed" + "65222bd6-d4fc-4f76-bf8f-a5a3144539c4" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T191643Z:96b8f574-c5d3-4f03-8b47-f4f2c6db8eed" + "WESTUS2:20180221T183941Z:65222bd6-d4fc-4f76-bf8f-a5a3144539c4" ] }, "StatusCode": 200 @@ -752,9 +752,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/CreateListUpdateDelete.json index 356724412d10..f4b31540aa99 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/CreateListUpdateDelete.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "7182a86a-65cc-448b-b2e3-3c7c40981bbe" + "66a2f600-7f93-44e6-b0a2-77660cf7bdf6" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:44 GMT" + "Wed, 21 Feb 2018 00:26:43 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8828e7c5-f5b4-4cfc-84fc-0a54e0ea0d53", - "85bf5420-48c5-478c-8f0e-a7e67b510496" + "3d169c02-bdc7-49cb-8919-6337baf2df5e", + "881b3d60-d398-4990-8ce9-272e9be7297d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "1e1b036f-2cfc-40be-ab13-ca2bc32a25ed" + "0bf39710-ef1f-4906-b32c-295107af83c3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191445Z:1e1b036f-2cfc-40be-ab13-ca2bc32a25ed" + "WESTUS2:20180221T002643Z:0bf39710-ef1f-4906-b32c-295107af83c3" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "9f8b904d-6902-454a-a525-6acb83c687fa" + "0c0d0b31-f715-4ed9-b05b-1f3b4cb43578" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:45 GMT" + "Wed, 21 Feb 2018 00:26:43 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0382f9e0-54c4-4a6b-827d-de4a60bbe599" + "d7bcd16a-3e71-41b3-b332-e62de0fb3311" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14998" ], "x-ms-correlation-request-id": [ - "d221eeac-e285-487e-ab46-f1d00435ca63" + "8c349f43-f7f7-4746-b42e-29ddcdd2437f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191445Z:d221eeac-e285-487e-ab46-f1d00435ca63" + "WESTUS2:20180221T002643Z:8c349f43-f7f7-4746-b42e-29ddcdd2437f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c2360818-2934-4ded-a54e-4ece78b47f9d" + "1e7f7954-0678-4d8f-ae8a-fc26fad9b22e" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:45 GMT" + "Wed, 21 Feb 2018 00:26:44 GMT" ], "Pragma": [ "no-cache" @@ -182,34 +182,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1a362302-7195-48ac-8526-4ef956e09044" + "1b06a927-c7ce-4a5b-8cec-59895e46257b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14997" ], "x-ms-correlation-request-id": [ - "0f9c7d62-89d6-48f8-a2a6-f4ad1f414eb4" + "2016801b-e097-4134-9341-89b800525fd4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191445Z:0f9c7d62-89d6-48f8-a2a6-f4ad1f414eb4" + "WESTUS2:20180221T002644Z:2016801b-e097-4134-9341-89b800525fd4" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"userNote721\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"firstName\": \"userFirstName479\",\r\n \"lastName\": \"userLastName8523\",\r\n \"password\": \"userPassword6246\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"userNote2437\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"firstName\": \"userFirstName9474\",\r\n \"lastName\": \"userLastName3808\",\r\n \"password\": \"userPassword2808\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "230" + "232" ], "x-ms-client-request-id": [ - "34a17715-e0fe-478d-91ad-33d9fe51c180" + "df5f9fbe-7f4a-400b-ae3b-4627f61e439d" ], "accept-language": [ "en-US" @@ -219,10 +219,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId1340\",\r\n \"properties\": {\r\n \"firstName\": \"userFirstName479\",\r\n \"lastName\": \"userLastName8523\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:14:46.8681637Z\",\r\n \"note\": \"userNote721\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId4306\",\r\n \"properties\": {\r\n \"firstName\": \"userFirstName9474\",\r\n \"lastName\": \"userLastName3808\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-21T00:26:46.133Z\",\r\n \"note\": \"userNote2437\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1093" + "1091" ], "Content-Type": [ "application/json; charset=utf-8" @@ -234,13 +234,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:45 GMT" + "Wed, 21 Feb 2018 00:26:45 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD7Q=\"" + "\"AAAAAAAANhUAAAAAAAA2Fw==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -249,28 +249,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bd17b033-14a7-4f4a-9aa1-2a89431e37d1" + "d620943a-b093-4d60-b25a-68535cb0cf4a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "62a623de-50f5-474a-bb1a-c5fcfa986323" + "435af7c5-3d22-491f-8496-9384fe1a2b6e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191446Z:62a623de-50f5-474a-bb1a-c5fcfa986323" + "WESTUS2:20180221T002645Z:435af7c5-3d22-491f-8496-9384fe1a2b6e" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7ae2a25c-74b3-4792-b651-0c314e20da34" + "590a72cc-4f5f-46ae-b4f1-8c97a296c736" ], "accept-language": [ "en-US" @@ -280,7 +280,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId1340\",\r\n \"properties\": {\r\n \"firstName\": \"userFirstName479\",\r\n \"lastName\": \"userLastName8523\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:14:46.44\",\r\n \"note\": \"userNote721\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId4306\",\r\n \"properties\": {\r\n \"firstName\": \"userFirstName9474\",\r\n \"lastName\": \"userLastName3808\",\r\n \"email\": \"contoso@microsoft.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-21T00:26:46.133Z\",\r\n \"note\": \"userNote2437\",\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"contoso@microsoft.com\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -292,7 +292,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:46 GMT" + "Wed, 21 Feb 2018 00:26:45 GMT" ], "Pragma": [ "no-cache" @@ -301,7 +301,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD7QAAAAAAAAPtg==\"" + "\"AAAAAAAANhUAAAAAAAA2Fw==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -313,28 +313,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9b6fec52-e065-438e-ba86-de1d620c7b6f" + "52d270a2-9d3d-4d09-93b0-d1c449235840" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14996" ], "x-ms-correlation-request-id": [ - "090512a1-1cc5-4eaa-8959-8fa467c91316" + "b5b24717-204b-470c-9a14-ffae628eea26" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191447Z:090512a1-1cc5-4eaa-8959-8fa467c91316" + "WESTUS2:20180221T002645Z:b5b24717-204b-470c-9a14-ffae628eea26" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ab0976a6-534f-4ee3-b0f7-22c2d93c9e34" + "64b2d633-88c7-4ef2-a1a1-d194b9b1a415" ], "accept-language": [ "en-US" @@ -359,7 +359,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:47 GMT" + "Wed, 21 Feb 2018 00:26:46 GMT" ], "Pragma": [ "no-cache" @@ -371,28 +371,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "195c8f9a-0443-4baa-b6ee-7986ca04313f" + "ea235c08-df01-44ca-9e28-63deea57570d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14994" ], "x-ms-correlation-request-id": [ - "6a366a03-b092-4fe7-b7e3-4428c0c76e38" + "f111bfd3-203d-4d3a-a2ac-ff03e16449d7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191448Z:6a366a03-b092-4fe7-b7e3-4428c0c76e38" + "WESTUS2:20180221T002646Z:f111bfd3-203d-4d3a-a2ac-ff03e16449d7" ] }, "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz8kdG9wPTEmYXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz8kdG9wPTEmYXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "53414a1f-693f-4123-8e13-97ed7bc7c334" + "1f2bf80a-7ab1-493c-ba52-35d39e52ac99" ], "accept-language": [ "en-US" @@ -402,7 +402,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -414,7 +414,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:46 GMT" + "Wed, 21 Feb 2018 00:26:45 GMT" ], "Pragma": [ "no-cache" @@ -432,28 +432,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c052fedb-5e96-435a-bb83-0101d19c916d" + "e6b0baf5-cdd9-403b-846a-84f0ea22f846" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14995" ], "x-ms-correlation-request-id": [ - "3d3f3851-79f9-4557-8aa6-7df7a772a147" + "8b5a6f56-57a6-4d28-a1b0-b44792980229" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191447Z:3d3f3851-79f9-4557-8aa6-7df7a772a147" + "WESTUS2:20180221T002645Z:8b5a6f56-57a6-4d28-a1b0-b44792980229" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340/generateSsoUrl?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwL2dlbmVyYXRlU3NvVXJsP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306/generateSsoUrl?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2L2dlbmVyYXRlU3NvVXJsP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "7b90a18b-6c59-40ca-a264-381f818e1c30" + "2ec6a39b-6edf-41df-a3bb-08d102391d38" ], "accept-language": [ "en-US" @@ -463,7 +463,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": \"https://sdktestservice.portal.azure-api.net/signin-sso?token=userId1340%26201708021919%26TkJx9129ui5U5ImySGaUFCBxNsnfDCQrnQpgFobQDTUe1dLHzDieVFHLhMB2inG07jKqVYD7Xoyp8i%2bF1dAvcQ%3d%3d\"\r\n}", + "ResponseBody": "{\r\n \"value\": \"https://sdktestservice.portal.azure-api.net/signin-sso?token=userId4306%26201802210031%266m6kyxsJY%2f5laUpeZZoelEB%2bbjfQFkG2N1SxKkD156E1aXy1URfz2VgJu9SFAT6e7S9lzg50LUpYl37sr8Akig%3d%3d\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -475,7 +475,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:46 GMT" + "Wed, 21 Feb 2018 00:26:45 GMT" ], "Pragma": [ "no-cache" @@ -493,25 +493,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "54352ab8-60a9-41c3-884f-253af90e946a" + "e29ca931-7ee6-441a-af7e-14306a3778b7" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "07ad5048-6a78-462f-aca7-e14c9d3e5abe" + "7f8e4d16-b61c-4339-b102-8fea7d1c27af" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191447Z:07ad5048-6a78-462f-aca7-e14c9d3e5abe" + "WESTUS2:20180221T002645Z:7f8e4d16-b61c-4339-b102-8fea7d1c27af" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340/token?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwL3Rva2VuP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306/token?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2L3Rva2VuP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", - "RequestBody": "{\r\n \"keyType\": \"primary\",\r\n \"expiry\": \"2017-09-01T19:14:47.8247083Z\"\r\n}", + "RequestBody": "{\r\n \"keyType\": \"primary\",\r\n \"expiry\": \"2018-03-23T00:26:46.1691024Z\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -520,7 +520,7 @@ "73" ], "x-ms-client-request-id": [ - "61128d63-9ccf-4aba-bef3-876338c2f6e7" + "ea39970e-3c8d-4748-8fad-cf833689ad09" ], "accept-language": [ "en-US" @@ -530,7 +530,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": \"userId1340&201709011914&kE+W/GO3NBg3Z2imAfRFMnR+eSbKTbPUwunGs59XPXLCEybrUHvqQ7fDNUMH0DDRaSxVSnF1AZ4iQGX9EBgozw==\"\r\n}", + "ResponseBody": "{\r\n \"value\": \"userId4306&201803230026&8wvutQsAMNnmahRrmK71JrP0VYqzSq227au/5LwQhT7gF5iUQSxqyukJnHJzEuUoH9asbWLrZ0gF9xuJ2NfofA==\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -542,7 +542,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:47 GMT" + "Wed, 21 Feb 2018 00:26:45 GMT" ], "Pragma": [ "no-cache" @@ -560,31 +560,31 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b07c44af-a93e-49fd-9431-645ee4914c16" + "3c04e33d-4107-487d-a348-cee932ff1fbd" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "2b0eecb7-c227-46ed-93de-cd2ac69910d9" + "64f8dc90-cf3b-4d83-a1c7-ee53d59b25ec" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191447Z:2b0eecb7-c227-46ed-93de-cd2ac69910d9" + "WESTUS2:20180221T002645Z:64f8dc90-cf3b-4d83-a1c7-ee53d59b25ec" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwP2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2P2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "509b21e7-256c-433c-9fb8-3cf2f48d5703" + "5129b2ff-2c73-4387-a0f7-1bde4ed0dcf6" ], "If-Match": [ - "\"AAAAAAAAD7QAAAAAAAAPtg==\"" + "\"AAAAAAAANhUAAAAAAAA2Fw==\"" ], "accept-language": [ "en-US" @@ -606,7 +606,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:47 GMT" + "Wed, 21 Feb 2018 00:26:46 GMT" ], "Pragma": [ "no-cache" @@ -618,28 +618,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "abbf8b37-cbce-421e-8155-735c653176f4" + "d004763e-af65-45d9-9bc6-7a3d020ef28d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "147f58b2-0b14-4fef-b509-806a45d870ad" + "10cf1283-0135-42d1-996c-e81bf0c4d12a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191448Z:147f58b2-0b14-4fef-b509-806a45d870ad" + "WESTUS2:20180221T002646Z:10cf1283-0135-42d1-996c-e81bf0c4d12a" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId1340?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQxMzQwP2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId4306?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ0MzA2P2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "09393877-0c05-42e7-b6f5-85d874266b86" + "6dd09440-cafc-4722-8a76-b63506cb057c" ], "If-Match": [ "*" @@ -654,9 +654,6 @@ }, "ResponseBody": "", "ResponseHeaders": { - "Content-Length": [ - "0" - ], "Expires": [ "-1" ], @@ -664,7 +661,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:47 GMT" + "Wed, 21 Feb 2018 00:26:46 GMT" ], "Pragma": [ "no-cache" @@ -676,16 +673,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ac364f94-7f0e-4640-9fa2-2533267e3e1e" + "fc4af8ad-b40f-4597-9b09-1d110852832a" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "147f1612-e9a7-4902-ba5f-7effa1d00911" + "3f363e2a-f458-4a08-b5fd-1d6639b0520e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191448Z:147f1612-e9a7-4902-ba5f-7effa1d00911" + "WESTUS2:20180221T002646Z:3f363e2a-f458-4a08-b5fd-1d6639b0520e" ] }, "StatusCode": 204 @@ -693,18 +690,17 @@ ], "Names": { "CreateListUpdateDelete": [ - "userId1340", - "userFirstName479", - "userLastName8523", - "userPassword6246", - "userNote721" + "userId4306", + "userFirstName9474", + "userLastName3808", + "userPassword2808", + "userNote2437" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/GroupsListAddRemove.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/GroupsListAddRemove.json index 25b109f2b491..0c57cc9cf0d9 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/GroupsListAddRemove.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/GroupsListAddRemove.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "b7272ec8-12bd-4443-9c3d-8ce450c82aa2" + "135644eb-a9af-4e7d-86b5-3f47d1f52efb" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:33 GMT" + "Wed, 21 Feb 2018 00:26:16 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b412e373-fc1a-4f06-828a-2a2e0aecc71d", - "f61c4e70-3e89-4679-a4c8-2ca074404a35" + "f552fb93-6a29-4e2c-ac9d-7bbea676a11b", + "dcd135f2-2423-4e18-86e4-03645f6f464d" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "41d1ccde-34c2-44aa-87c4-3bf5fc128238" + "4c8db419-d274-4351-bbd1-55c165b8d182" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191434Z:41d1ccde-34c2-44aa-87c4-3bf5fc128238" + "WESTUS2:20180221T002616Z:4c8db419-d274-4351-bbd1-55c165b8d182" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "48e3f68c-7786-42bf-b2af-8991fc3ee41b" + "c104d22e-c3a1-421a-bdf1-f889552a9de5" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:33 GMT" + "Wed, 21 Feb 2018 00:26:16 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,25 +121,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bf3c06c8-c5bc-436b-81dd-8b90c619d797" + "12d90fd9-e955-4a54-9df1-9111f22b8753" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14961" ], "x-ms-correlation-request-id": [ - "f72f9190-1802-4cee-b203-702a35b74453" + "ae596fc8-f5ee-45e8-be12-ce2c03e36334" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191434Z:f72f9190-1802-4cee-b203-702a35b74453" + "WESTUS2:20180221T002616Z:ae596fc8-f5ee-45e8-be12-ce2c03e36334" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDcxNj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDQ4NTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"groupName3891\",\r\n \"type\": \"custom\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"displayName\": \"groupName7073\",\r\n \"type\": \"custom\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -148,7 +148,7 @@ "87" ], "x-ms-client-request-id": [ - "6b2d60ce-cf1c-4b8b-847c-3ce5ebeed7a9" + "1adfaaeb-84a6-46e0-8178-1c90832668b8" ], "accept-language": [ "en-US" @@ -158,10 +158,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"groupId716\",\r\n \"properties\": {\r\n \"displayName\": \"groupName3891\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"groupId4851\",\r\n \"properties\": {\r\n \"displayName\": \"groupName7073\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "415" + "417" ], "Content-Type": [ "application/json; charset=utf-8" @@ -173,13 +173,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:34 GMT" + "Wed, 21 Feb 2018 00:26:17 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD6Y=\"" + "\"AAAAAAAANfk=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -188,28 +188,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "31e849bd-bb45-42bb-ad86-c497b35bd20b" + "519c87bd-37b6-4c62-997c-49794a83d177" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], "x-ms-correlation-request-id": [ - "16261ad3-b9cd-464f-ada0-7623ee46faaf" + "eb684806-3f00-423a-96df-a867189f859c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191435Z:16261ad3-b9cd-464f-ada0-7623ee46faaf" + "WESTUS2:20180221T002617Z:eb684806-3f00-423a-96df-a867189f859c" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDcxNj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDQ4NTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "87200be4-7791-4134-92b8-ad4a0d5284eb" + "9d6d8a51-0906-417c-abd2-f85e25a1ef28" ], "accept-language": [ "en-US" @@ -219,7 +219,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"groupId716\",\r\n \"properties\": {\r\n \"displayName\": \"groupName3891\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups\",\r\n \"name\": \"groupId4851\",\r\n \"properties\": {\r\n \"displayName\": \"groupName7073\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -231,7 +231,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:34 GMT" + "Wed, 21 Feb 2018 00:26:17 GMT" ], "Pragma": [ "no-cache" @@ -240,7 +240,7 @@ "chunked" ], "ETag": [ - "\"AAAAAAAAD6Y=\"" + "\"AAAAAAAANfk=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -252,34 +252,34 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d0af3e57-2fac-424b-ac23-e3afc4d1341d" + "de0ed73e-bd7c-44be-b5d6-21e560bbbd23" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14960" ], "x-ms-correlation-request-id": [ - "01cb7693-bdf1-4a47-91ee-9eafecaff4a2" + "b49fd395-6e4c-4074-8475-ed48056b064b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191435Z:01cb7693-bdf1-4a47-91ee-9eafecaff4a2" + "WESTUS2:20180221T002617Z:b49fd395-6e4c-4074-8475-ed48056b064b" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ5MzQ5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ4MTIxP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"note4693\",\r\n \"email\": \"ivan.ivanov8519@contoso.com\",\r\n \"firstName\": \"Ivan9070\",\r\n \"lastName\": \"Ivanov1263\",\r\n \"password\": \"pwd2835\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"state\": \"active\",\r\n \"note\": \"note6684\",\r\n \"email\": \"ivan.ivanov1314@contoso.com\",\r\n \"firstName\": \"Ivan6413\",\r\n \"lastName\": \"Ivanov786\",\r\n \"password\": \"pwd6590\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "210" + "209" ], "x-ms-client-request-id": [ - "4df25af7-ffb4-45d3-9384-d46bb03c2c3d" + "394513bf-61d9-4000-a841-661ba47b9d2f" ], "accept-language": [ "en-US" @@ -289,10 +289,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId9349\",\r\n \"properties\": {\r\n \"firstName\": \"Ivan9070\",\r\n \"lastName\": \"Ivanov1263\",\r\n \"email\": \"ivan.ivanov8519@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:14:36.3218888Z\",\r\n \"note\": \"note4693\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"ivan.ivanov8519@contoso.com\"\r\n }\r\n ]\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"userId8121\",\r\n \"properties\": {\r\n \"firstName\": \"Ivan6413\",\r\n \"lastName\": \"Ivanov786\",\r\n \"email\": \"ivan.ivanov1314@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-21T00:26:19.1Z\",\r\n \"note\": \"note6684\",\r\n \"groups\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"name\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n ],\r\n \"identities\": [\r\n {\r\n \"provider\": \"Basic\",\r\n \"id\": \"ivan.ivanov1314@contoso.com\"\r\n }\r\n ]\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "1088" + "1081" ], "Content-Type": [ "application/json; charset=utf-8" @@ -304,13 +304,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:35 GMT" + "Wed, 21 Feb 2018 00:26:17 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD6c=\"" + "\"AAAAAAAANfwAAAAAAAA1/g==\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -319,28 +319,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8885042f-d688-45ec-b8b0-df3f0db2e48a" + "18feb75e-e66f-421f-b5d8-88ada0f28760" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], "x-ms-correlation-request-id": [ - "6603f70c-12b1-400b-af7c-cb3f7e02ae56" + "3ddb9409-3087-41b8-b2ef-cacb916b0d58" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191436Z:6603f70c-12b1-400b-af7c-cb3f7e02ae56" + "WESTUS2:20180221T002618Z:3ddb9409-3087-41b8-b2ef-cacb916b0d58" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ5MzQ5L2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ4MTIxL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2b3d3af3-11a8-4e8e-ad85-6a2e6d210826" + "c9cb74fd-391c-4e18-9948-c3cc3ef2bd7d" ], "accept-language": [ "en-US" @@ -350,7 +350,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -362,7 +362,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:36 GMT" + "Wed, 21 Feb 2018 00:26:18 GMT" ], "Pragma": [ "no-cache" @@ -380,28 +380,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bf7e7d32-f3ff-4fb3-95ce-1f8449e5f653" + "d3636c38-2f82-46b0-90de-a4cc36ecd7fd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14959" ], "x-ms-correlation-request-id": [ - "f3a29731-9d69-407f-9f06-bbbfc10d2af2" + "90918324-253d-46f9-b7e6-54c510750232" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191437Z:f3a29731-9d69-407f-9f06-bbbfc10d2af2" + "WESTUS2:20180221T002618Z:90918324-253d-46f9-b7e6-54c510750232" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ5MzQ5L2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ4MTIxL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5da3be8e-1265-44b9-967a-b6d7d6ece1a1" + "9c606471-b974-407a-980f-c8d410b317fc" ], "accept-language": [ "en-US" @@ -411,7 +411,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"groupId716\",\r\n \"properties\": {\r\n \"displayName\": \"groupName3891\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups/groupId4851\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"groupId4851\",\r\n \"properties\": {\r\n \"displayName\": \"groupName7073\",\r\n \"description\": null,\r\n \"builtIn\": false,\r\n \"type\": \"custom\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -423,7 +423,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:37 GMT" + "Wed, 21 Feb 2018 00:26:18 GMT" ], "Pragma": [ "no-cache" @@ -441,28 +441,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3993d722-d60e-49fb-93c3-0e6f91595e19" + "6d7b9bb3-e168-4936-997b-9214aca060e5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14958" ], "x-ms-correlation-request-id": [ - "048d2a6a-3238-48ba-ac00-1a075720c285" + "239cba19-6a96-4beb-9f94-6b2cfe5f9b79" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191437Z:048d2a6a-3238-48ba-ac00-1a075720c285" + "WESTUS2:20180221T002619Z:239cba19-6a96-4beb-9f94-6b2cfe5f9b79" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349/groups?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ5MzQ5L2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ4MTIxL2dyb3Vwcz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "e7c9bcde-03e3-47ae-9812-ed91967658b9" + "652a73b1-91b1-48b5-adb7-a09b922d51cc" ], "accept-language": [ "en-US" @@ -472,7 +472,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121/groups/developers\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/groups\",\r\n \"name\": \"developers\",\r\n \"properties\": {\r\n \"displayName\": \"Developers\",\r\n \"description\": \"Developers is a built-in group. Its membership is managed by the system. Signed-in users fall into this group.\",\r\n \"builtIn\": true,\r\n \"type\": \"system\",\r\n \"externalId\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -484,7 +484,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:37 GMT" + "Wed, 21 Feb 2018 00:26:19 GMT" ], "Pragma": [ "no-cache" @@ -502,28 +502,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c853b47b-27c3-4c70-a639-18d7dd34cc14" + "15b20e45-94f8-4fea-bdc0-9278edb0312d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14957" ], "x-ms-correlation-request-id": [ - "54369124-ed3e-4d95-a4df-43c30844448f" + "3f3526e9-a9fc-4ed8-a0ac-9b237fc5e213" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191438Z:54369124-ed3e-4d95-a4df-43c30844448f" + "WESTUS2:20180221T002619Z:3f3526e9-a9fc-4ed8-a0ac-9b237fc5e213" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716/users/userId9349?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDcxNi91c2Vycy91c2VySWQ5MzQ5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851/users/userId8121?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDQ4NTEvdXNlcnMvdXNlcklkODEyMT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c99b9e73-2dbc-4771-94f4-bad8547d75f9" + "b3c9ddaa-e7bd-41ce-a9f0-9bcefdc48034" ], "accept-language": [ "en-US" @@ -533,10 +533,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"userId9349\",\r\n \"properties\": {\r\n \"firstName\": \"Ivan9070\",\r\n \"lastName\": \"Ivanov1263\",\r\n \"email\": \"ivan.ivanov8519@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-08-02T19:14:36.367\",\r\n \"note\": \"note4693\",\r\n \"groups\": [],\r\n \"identities\": []\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851/users/userId8121\",\r\n \"type\": \"Microsoft.ApiManagement/service/groups/users\",\r\n \"name\": \"userId8121\",\r\n \"properties\": {\r\n \"firstName\": \"Ivan6413\",\r\n \"lastName\": \"Ivanov786\",\r\n \"email\": \"ivan.ivanov1314@contoso.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2018-02-21T00:26:19.1Z\",\r\n \"note\": \"note6684\",\r\n \"groups\": [],\r\n \"identities\": []\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ - "535" + "552" ], "Content-Type": [ "application/json; charset=utf-8" @@ -548,13 +548,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:36 GMT" + "Wed, 21 Feb 2018 00:26:18 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAAAAD6w=\"" + "\"AAAAAAAANgY=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -563,28 +563,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dca69da0-8e2b-451a-b603-a5ce71336f71" + "fde01d05-392f-4388-afe0-c9525c6b7799" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], "x-ms-correlation-request-id": [ - "db3cfe6c-5894-4f33-bd78-519586590deb" + "334b05f6-c9ec-41af-9dc0-05bf0fd0e164" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191437Z:db3cfe6c-5894-4f33-bd78-519586590deb" + "WESTUS2:20180221T002619Z:334b05f6-c9ec-41af-9dc0-05bf0fd0e164" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716/users/userId9349?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDcxNi91c2Vycy91c2VySWQ5MzQ5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851/users/userId8121?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDQ4NTEvdXNlcnMvdXNlcklkODEyMT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0324068d-2e53-4964-bf0b-384e26f75e8c" + "7f4efd2d-ca60-489d-909e-75ef07b02cd5" ], "accept-language": [ "en-US" @@ -606,7 +606,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:37 GMT" + "Wed, 21 Feb 2018 00:26:19 GMT" ], "Pragma": [ "no-cache" @@ -618,28 +618,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "70c6b15c-73f8-47a4-ab34-0167d55f76e7" + "9667b09b-22e6-4df8-ab41-516be5d21595" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1195" ], "x-ms-correlation-request-id": [ - "6c9a18f0-687f-4af1-81e4-a15c0e625ea8" + "19da1922-7131-4651-8480-d4eb20cdcca6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191438Z:6c9a18f0-687f-4af1-81e4-a15c0e625ea8" + "WESTUS2:20180221T002619Z:19da1922-7131-4651-8480-d4eb20cdcca6" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId9349?deleteSubscriptions=true&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ5MzQ5P2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/userId8121?deleteSubscriptions=true&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy91c2VySWQ4MTIxP2RlbGV0ZVN1YnNjcmlwdGlvbnM9dHJ1ZSZhcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "dc4e9251-1d74-4e21-b2bc-7176d230610e" + "a8c84275-0783-457e-8da1-343747af5adc" ], "If-Match": [ "*" @@ -664,7 +664,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:38 GMT" + "Wed, 21 Feb 2018 00:26:19 GMT" ], "Pragma": [ "no-cache" @@ -676,28 +676,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ab67808f-cd47-4972-a751-96f0fcf969d3" + "e1b91bfa-e524-44e4-b6c2-fe754e2d7b18" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1194" ], "x-ms-correlation-request-id": [ - "c156bcd6-3f72-40bc-969b-be35d792e170" + "ac66017a-eee4-44f4-bfb1-cda41ccb8ca2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191439Z:c156bcd6-3f72-40bc-969b-be35d792e170" + "WESTUS2:20180221T002620Z:ac66017a-eee4-44f4-bfb1-cda41ccb8ca2" ] }, - "StatusCode": 204 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId716?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDcxNj9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/groups/groupId4851?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9ncm91cHMvZ3JvdXBJZDQ4NTE/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6bf1ddab-3260-42f2-afa9-184b315a7cb4" + "dabfa798-d263-4fe9-8d55-6a6c43cf4a8b" ], "If-Match": [ "*" @@ -722,7 +722,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:38 GMT" + "Wed, 21 Feb 2018 00:26:20 GMT" ], "Pragma": [ "no-cache" @@ -734,38 +734,37 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dc721884-239a-4d4e-9254-8511b99b9325" + "3da12775-4a41-40c9-802e-c9a1f1eac5b9" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], "x-ms-correlation-request-id": [ - "fdc96677-457e-4a92-8c3a-ced5e0d0ccd0" + "f1db79c7-d90f-446f-875e-12687c22ddc6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191439Z:fdc96677-457e-4a92-8c3a-ced5e0d0ccd0" + "WESTUS2:20180221T002620Z:f1db79c7-d90f-446f-875e-12687c22ddc6" ] }, - "StatusCode": 204 + "StatusCode": 200 } ], "Names": { "GroupsListAddRemove": [ - "groupId716", - "groupName3891", - "userId9349", - "Ivan9070", - "Ivanov1263", - "ivan.ivanov8519", - "pwd2835", - "note4693" + "groupId4851", + "groupName7073", + "userId8121", + "Ivan6413", + "Ivanov786", + "ivan.ivanov1314", + "pwd6590", + "note6684" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/SubscriptionsList.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/SubscriptionsList.json index 03f6578c6ccd..eb8c2d9efa4a 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/SubscriptionsList.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/SubscriptionsList.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "ec9e0e66-65ac-43e9-b503-62aa0d7c0a11" + "b6990646-d548-4e10-8ae5-698a6205357d" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:26 GMT" + "Wed, 21 Feb 2018 00:27:10 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ad0f8b49-279e-449b-9949-19591eeee981", - "27bc2201-1b4e-4a5e-bd55-a46b5c4916d1" + "4f76c4bc-953a-4d12-9905-e4757845fccb", + "7d8b34a7-b89e-4f85-bb9d-5a29bbd0ec5e" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1188" ], "x-ms-correlation-request-id": [ - "7ffa5a33-598a-42f4-8fe2-6466db5bcced" + "81331277-cb50-43dc-8c2c-41896397e50d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191426Z:7ffa5a33-598a-42f4-8fe2-6466db5bcced" + "WESTUS2:20180221T002710Z:81331277-cb50-43dc-8c2c-41896397e50d" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b4e011fc-f4a8-4594-968c-1f4baa0867b7" + "6d7d5d50-136e-4d9c-9ef2-a3d768bb2b42" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:26 GMT" + "Wed, 21 Feb 2018 00:27:10 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "80565277-7a01-4b0e-8553-a3971b976e19" + "1088cde9-013f-4c32-8fe5-0659102349f8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14990" ], "x-ms-correlation-request-id": [ - "4fb18744-9e7c-4915-83b1-22b3702c35d3" + "b017543f-15dd-4c30-9c47-aa65b882ecc7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191426Z:4fb18744-9e7c-4915-83b1-22b3702c35d3" + "WESTUS2:20180221T002710Z:b017543f-15dd-4c30-9c47-aa65b882ecc7" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a96ed191-71f6-4dce-9cc1-2d9973025df1" + "9b9b8351-348b-46c7-8ef5-309ca1b65403" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:26 GMT" + "Wed, 21 Feb 2018 00:27:10 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "17171a51-adad-40ca-906f-08723610507e" + "c2dd0c6b-9a41-40ee-97d8-d8298af4cb50" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14989" ], "x-ms-correlation-request-id": [ - "1f0904a1-316b-45f2-9615-8a5959fc219d" + "6e9a7350-ed92-407e-8cf7-af1aff2c74f9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191427Z:1f0904a1-316b-45f2-9615-8a5959fc219d" + "WESTUS2:20180221T002710Z:6e9a7350-ed92-407e-8cf7-af1aff2c74f9" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5689be06-ddc8-4330-a394-f2045369aee2" + "09d81d6e-8d72-4261-8b4b-db2e147918fe" ], "accept-language": [ "en-US" @@ -213,7 +213,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n },\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:27 GMT" + "Wed, 21 Feb 2018 00:27:10 GMT" ], "Pragma": [ "no-cache" @@ -243,28 +243,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "25ebe4bf-7a7b-48b6-b9cf-9ef6fdeef989" + "4b489c78-68c8-47df-a855-596c320826dd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14988" ], "x-ms-correlation-request-id": [ - "ab954be3-f7cf-4fcd-b491-a9ec73235acc" + "f096f1b1-c362-4471-843e-e2aa66e95f60" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191427Z:ab954be3-f7cf-4fcd-b491-a9ec73235acc" + "WESTUS2:20180221T002711Z:f096f1b1-c362-4471-843e-e2aa66e95f60" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?$top=1&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/JHRvcD0xJmFwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?$top=1&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/JHRvcD0xJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a8982fab-b605-4fe5-ac3d-5bc047ee83e4" + "2a9eac00-5f76-432f-8280-48a39d80c220" ], "accept-language": [ "en-US" @@ -274,7 +274,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?%24top=1&api-version=2017-03-01&%24skip=1\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions/59442dab78b6e60085070001\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070001\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/starter\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"b39b8620186c45399dcc542df1b18652\",\r\n \"secondaryKey\": \"5f1d2ea1f546452f88c46d492033b0b7\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"https://management.azure.com:443/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?%24top=1&api-version=2018-01-01&%24skip=1\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -286,7 +286,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:27 GMT" + "Wed, 21 Feb 2018 00:27:10 GMT" ], "Pragma": [ "no-cache" @@ -304,28 +304,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6849ebda-8bb2-438e-8ff8-16d62f9634ab" + "19ade4a4-4c51-4818-924d-0c416bd3992f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14987" ], "x-ms-correlation-request-id": [ - "840ba44b-a941-48f7-8c11-43a8a45de749" + "41587c48-7af4-4588-a95b-2b320794023c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191427Z:840ba44b-a941-48f7-8c11-43a8a45de749" + "WESTUS2:20180221T002711Z:41587c48-7af4-4588-a95b-2b320794023c" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?%24top=1&api-version=2017-03-01&%24skip=1", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/JTI0dG9wPTEmYXBpLXZlcnNpb249MjAxNy0wMy0wMSYlMjRza2lwPTE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions?%24top=1&api-version=2018-01-01&%24skip=1", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL3N1YnNjcmlwdGlvbnM/JTI0dG9wPTEmYXBpLXZlcnNpb249MjAxOC0wMS0wMSYlMjRza2lwPTE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0e8faa89-4cf8-46e1-a7f9-199ae7cb09f0" + "25455e97-0345-44bc-9bc5-e3681684dcf8" ], "accept-language": [ "en-US" @@ -335,7 +335,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/subscriptions/59442dab78b6e60085070002\",\r\n \"type\": \"Microsoft.ApiManagement/service/users/subscriptions\",\r\n \"name\": \"59442dab78b6e60085070002\",\r\n \"properties\": {\r\n \"userId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"productId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/products/unlimited\",\r\n \"displayName\": null,\r\n \"state\": \"active\",\r\n \"createdDate\": \"2017-06-16T19:12:43.717Z\",\r\n \"startDate\": null,\r\n \"expirationDate\": null,\r\n \"endDate\": null,\r\n \"notificationDate\": null,\r\n \"primaryKey\": \"5d7dc5e4a9f24d47956d0cea1205dcba\",\r\n \"secondaryKey\": \"088c12c96e8e4d5198a09c426f134bd0\",\r\n \"stateComment\": null\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -347,7 +347,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:27 GMT" + "Wed, 21 Feb 2018 00:27:11 GMT" ], "Pragma": [ "no-cache" @@ -365,16 +365,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "68449011-b6f6-43ea-b249-622817927d76" + "c4ec7f1f-771c-4483-9498-660103ac861f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14986" ], "x-ms-correlation-request-id": [ - "8183a70c-e27d-4e85-b1d2-54536e08244f" + "082e53a0-b80c-4838-b0ba-07364e6ce467" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191428Z:8183a70c-e27d-4e85-b1d2-54536e08244f" + "WESTUS2:20180221T002711Z:082e53a0-b80c-4838-b0ba-07364e6ce467" ] }, "StatusCode": 200 @@ -383,9 +383,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/UserIdentities.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/UserIdentities.json index e201538a31e9..1156d9d7d44b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/UserIdentities.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.UserTests/UserIdentities.json @@ -1,8 +1,8 @@ { "Entries": [ { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"CentralUS\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -13,7 +13,7 @@ "289" ], "x-ms-client-request-id": [ - "b606126f-4c55-4362-9986-c83ab734122a" + "38edf0cc-be5e-439d-9921-0139fa5fad50" ], "accept-language": [ "en-US" @@ -23,7 +23,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -35,7 +35,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:18 GMT" + "Wed, 21 Feb 2018 00:27:34 GMT" ], "Pragma": [ "no-cache" @@ -44,7 +44,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -56,29 +56,29 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4424dfac-6607-43a0-b687-daa68f3e177c", - "ac33d5e1-e8de-4ad6-928f-9000bdbf8617" + "40f56573-436c-443e-b081-3cd2020a5bdc", + "09881bc4-7ad0-41d8-8acf-5841faa0168c" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "5a2ebc76-5173-48fc-8973-a04c87d74891" + "dd91827f-84ef-4183-84ef-99320469077e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191419Z:5a2ebc76-5173-48fc-8973-a04c87d74891" + "WESTUS2:20180221T002735Z:dd91827f-84ef-4183-84ef-99320469077e" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ab758b6b-dd75-48bc-8033-40a43ce421e3" + "0733732e-87d6-44fd-b2cc-2e421296967e" ], "accept-language": [ "en-US" @@ -88,7 +88,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACZGyU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice\",\r\n \"name\": \"sdktestservice\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaNQw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-06-16T19:08:53.4371217Z\",\r\n \"gatewayUrl\": \"https://sdktestservice.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestservice-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestservice.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestservice.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestservice.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.77.113\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -100,7 +100,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:19 GMT" + "Wed, 21 Feb 2018 00:27:34 GMT" ], "Pragma": [ "no-cache" @@ -109,7 +109,7 @@ "chunked" ], "ETag": [ - "\"AAAAAACZGyU=\"" + "\"AAAAAADaNQw=\"" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -121,28 +121,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dbcfa83e-5284-4013-997d-f31f019c6ed3" + "5f96104f-7d76-430d-9d81-797d8b039fd8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14999" ], "x-ms-correlation-request-id": [ - "aec69d9f-406e-491c-b20c-fb478be9a370" + "7bfa25a3-9f61-4323-a8ad-b52af23d4722" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191419Z:aec69d9f-406e-491c-b20c-fb478be9a370" + "WESTUS2:20180221T002735Z:7bfa25a3-9f61-4323-a8ad-b52af23d4722" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?$filter=firstName%20eq%20'Administrator'&api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz8kZmlsdGVyPWZpcnN0TmFtZSUyMGVxJTIwJ0FkbWluaXN0cmF0b3InJmFwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users?$filter=firstName%20eq%20'Administrator'&api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycz8kZmlsdGVyPWZpcnN0TmFtZSUyMGVxJTIwJ0FkbWluaXN0cmF0b3InJmFwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c0fdd8ab-872c-40a9-a77d-e25076cd95e1" + "9f451bc4-c22c-475d-b7f9-12f49843a121" ], "accept-language": [ "en-US" @@ -152,7 +152,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1\",\r\n \"type\": \"Microsoft.ApiManagement/service/users\",\r\n \"name\": \"1\",\r\n \"properties\": {\r\n \"firstName\": \"Administrator\",\r\n \"lastName\": \"\",\r\n \"email\": \"apim@autorestsdk.com\",\r\n \"state\": \"active\",\r\n \"registrationDate\": \"2017-06-16T19:12:43.183Z\",\r\n \"note\": null,\r\n \"identities\": [\r\n {\r\n \"provider\": \"Azure\",\r\n \"id\": \"apim@autorestsdk.com\"\r\n }\r\n ]\r\n }\r\n }\r\n ],\r\n \"nextLink\": \"\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -164,7 +164,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:19 GMT" + "Wed, 21 Feb 2018 00:27:34 GMT" ], "Pragma": [ "no-cache" @@ -182,28 +182,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4530c261-a960-4246-882f-b542d605b454" + "91c24166-ecd2-40f1-a0a8-ea288fb76f4b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14998" ], "x-ms-correlation-request-id": [ - "314afd3b-ec9a-4958-bdea-1d1378d65f7f" + "bb0577ee-cb62-472d-adb2-e0d692524904" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191419Z:314afd3b-ec9a-4958-bdea-1d1378d65f7f" + "WESTUS2:20180221T002735Z:bb0577ee-cb62-472d-adb2-e0d692524904" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/identities?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL2lkZW50aXRpZXM/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/users/1/identities?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS91c2Vycy8xL2lkZW50aXRpZXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "0fee0a78-4e60-417f-a436-dfa771a4af18" + "7df1ffef-399e-4bf1-b3fe-4cf503e80c82" ], "accept-language": [ "en-US" @@ -225,7 +225,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 19:14:20 GMT" + "Wed, 21 Feb 2018 00:27:34 GMT" ], "Pragma": [ "no-cache" @@ -243,16 +243,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "33c8148f-6f63-4ac9-aeab-b7800fb2150e" + "b624e869-62f0-47a3-8783-0801b6a2441d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14997" ], "x-ms-correlation-request-id": [ - "977a0c17-8e8a-4e8e-b247-56a2da6a129f" + "a24455a2-ea99-4ad3-97e9-01b429ec6eb0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T191420Z:977a0c17-8e8a-4e8e-b247-56a2da6a129f" + "WESTUS2:20180221T002735Z:a24455a2-ea99-4ad3-97e9-01b429ec6eb0" ] }, "StatusCode": 200 @@ -261,9 +261,8 @@ "Names": {}, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", "ServiceName": "sdktestservice", "Location": "CentralUS", diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/BackupAndRestoreService.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/BackupAndRestoreService.json index ad2b7047e1d1..88b6503f66ce 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/BackupAndRestoreService.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/BackupAndRestoreService.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6c7c8365-a093-49ea-bd2a-3f3a9e61a2f5" + "962055ec-2f25-4084-a9d2-0041afd42d42" ], "accept-language": [ "en-US" @@ -17,7 +17,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:09:42 GMT" + "Mon, 19 Feb 2018 21:20:52 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14999" ], "x-ms-request-id": [ - "8b038ead-447b-4df4-be7d-6da081f90f25" + "aef751ae-12f5-40bc-a716-f3534718c43e" ], "x-ms-correlation-request-id": [ - "8b038ead-447b-4df4-be7d-6da081f90f25" + "aef751ae-12f5-40bc-a716-f3534718c43e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T200943Z:8b038ead-447b-4df4-be7d-6da081f90f25" + "WESTUS2:20180219T212053Z:aef751ae-12f5-40bc-a716-f3534718c43e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,8 +56,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg8665?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzg2NjU/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg9360?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzkzNjA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { @@ -68,7 +68,7 @@ "32" ], "x-ms-client-request-id": [ - "b2efb35b-a55f-44cd-ba88-0bb2e603eedc" + "f11398e0-4c38-4611-bc15-5007c6670c9a" ], "accept-language": [ "en-US" @@ -78,7 +78,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665\",\r\n \"name\": \"sdktestrg8665\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360\",\r\n \"name\": \"sdktestrg9360\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "182" @@ -93,22 +93,22 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:09:44 GMT" + "Mon, 19 Feb 2018 21:20:54 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1193" + "1199" ], "x-ms-request-id": [ - "31c7cf46-a067-4a9d-b56b-53c0af04ccbc" + "c9e1c73c-aafd-40a7-a39e-67b10bed28bd" ], "x-ms-correlation-request-id": [ - "31c7cf46-a067-4a9d-b56b-53c0af04ccbc" + "c9e1c73c-aafd-40a7-a39e-67b10bed28bd" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T200945Z:31c7cf46-a067-4a9d-b56b-53c0af04ccbc" + "WESTUS2:20180219T212054Z:c9e1c73c-aafd-40a7-a39e-67b10bed28bd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,8 +117,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTI/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -129,7 +129,7 @@ "290" ], "x-ms-client-request-id": [ - "c701c7da-1052-47ec-9b98-2125ac24e1e8" + "2eb41486-1553-40ce-8092-ebcd773f8e46" ], "accept-language": [ "en-US" @@ -139,10 +139,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298\",\r\n \"name\": \"sdktestapim9298\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACas/w=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2017-08-02T20:09:48.2009488Z\",\r\n \"gatewayUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752\",\r\n \"name\": \"sdktestapim752\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADawoQ=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T21:20:56.4345226Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "852" + "948" ], "Content-Type": [ "application/json; charset=utf-8" @@ -154,16 +154,16 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:09:46 GMT" + "Mon, 19 Feb 2018 21:20:56 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAACas/w=\"" + "\"AAAAAADawoQ=\"" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw==?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -175,24 +175,24 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "00676206-2c50-4809-85ae-58bfd9cf2c29", - "7c113733-ed4b-4ab1-b9bc-d0d7e912d88d" + "7ecaef6a-e2e4-4391-b363-952f80efa9ff", + "21d6b963-5a7d-44b6-bd20-4aa888d3223d" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "53e44902-5e8d-487b-b6e3-bbad8dba1fa7" + "7ccbafe3-3549-4154-a647-5952998b5f75" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T200947Z:53e44902-5e8d-487b-b6e3-bbad8dba1fa7" + "WESTUS2:20180219T212057Z:7ccbafe3-3549-4154-a647-5952998b5f75" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXc9PT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -213,13 +213,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:10:16 GMT" + "Mon, 19 Feb 2018 21:21:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -231,23 +231,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3e0ff3dd-35bd-426c-a01e-7842e0be57a6" + "3c07eb8a-050f-41a1-ac46-d7de8e68235b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14998" ], "x-ms-correlation-request-id": [ - "26781e95-990f-43c4-bb4f-f40524a40c05" + "6fdc4314-02e4-4927-8330-0a597b241fe5" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201017Z:26781e95-990f-43c4-bb4f-f40524a40c05" + "WESTUS2:20180219T212157Z:6fdc4314-02e4-4927-8330-0a597b241fe5" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,13 +268,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:10:47 GMT" + "Mon, 19 Feb 2018 21:22:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -286,23 +286,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bb20103d-c1ad-4b74-9c5a-42eaf00f7e35" + "483ae644-4933-440b-a90b-86d5cb550aa2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14997" ], "x-ms-correlation-request-id": [ - "75d93fa3-f04c-4323-aa97-288475be7088" + "7269e844-fdf9-48f3-b262-90267e3b3298" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201047Z:75d93fa3-f04c-4323-aa97-288475be7088" + "WESTUS2:20180219T212257Z:7269e844-fdf9-48f3-b262-90267e3b3298" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -323,13 +323,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:11:17 GMT" + "Mon, 19 Feb 2018 21:23:56 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -341,23 +341,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "aec97553-b998-4784-981c-2fc5bcd91858" + "41e8b963-7d38-4296-9f60-9ab0278cf920" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14996" ], "x-ms-correlation-request-id": [ - "46b1cf23-81b5-4fc9-b58f-f19ab0a198df" + "883f964a-1e08-444b-a7d3-1e4a2d2cd335" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201117Z:46b1cf23-81b5-4fc9-b58f-f19ab0a198df" + "WESTUS2:20180219T212357Z:883f964a-1e08-444b-a7d3-1e4a2d2cd335" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -378,13 +378,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:11:47 GMT" + "Mon, 19 Feb 2018 21:24:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -396,23 +396,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9c437ceb-a2c2-4df6-949c-485f98118020" + "a4c7d8a7-2c10-47d1-9942-0fc03db5f1f3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14999" ], "x-ms-correlation-request-id": [ - "6221ef45-0f6c-41a1-b3ea-1f8db1e7a5d5" + "5ce78bcd-4095-49c3-bdff-4644c58226e6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201147Z:6221ef45-0f6c-41a1-b3ea-1f8db1e7a5d5" + "WESTUS2:20180219T212458Z:5ce78bcd-4095-49c3-bdff-4644c58226e6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -433,13 +433,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:12:17 GMT" + "Mon, 19 Feb 2018 21:25:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -451,23 +451,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22116770-72ed-472c-bd6f-e0c0432c53ea" + "87e6f615-91f7-4b71-9f1d-696a046db2aa" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14998" ], "x-ms-correlation-request-id": [ - "265dba00-897f-4c4a-985f-deb9c64301d4" + "91dafe05-3197-4706-b8de-82a5d05eb05d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201218Z:265dba00-897f-4c4a-985f-deb9c64301d4" + "WESTUS2:20180219T212558Z:91dafe05-3197-4706-b8de-82a5d05eb05d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -488,13 +488,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:12:48 GMT" + "Mon, 19 Feb 2018 21:26:57 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -506,23 +506,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5039cb9a-2a44-4b93-89f3-2b48b7530638" + "0951be2c-4d1c-4541-a5b1-af80a1ec785e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14999" ], "x-ms-correlation-request-id": [ - "d3800bd6-dc23-406c-9287-efb16b04d3b7" + "48e84f9f-d833-4b32-8fd2-2ea14abd1860" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201248Z:d3800bd6-dc23-406c-9287-efb16b04d3b7" + "WESTUS2:20180219T212658Z:48e84f9f-d833-4b32-8fd2-2ea14abd1860" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -543,13 +543,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:13:17 GMT" + "Mon, 19 Feb 2018 21:27:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -561,23 +561,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c1cc171d-943c-4958-8f76-c10cbad20252" + "def215b4-8edf-4835-ab49-3c16f58db590" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14998" ], "x-ms-correlation-request-id": [ - "6b76ad15-65d1-4a0f-902f-07e3e619c3a2" + "494206d7-a7d2-4df8-9214-8e865df01c72" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201318Z:6b76ad15-65d1-4a0f-902f-07e3e619c3a2" + "WESTUS2:20180219T212758Z:494206d7-a7d2-4df8-9214-8e865df01c72" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -598,13 +598,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:13:47 GMT" + "Mon, 19 Feb 2018 21:28:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -616,23 +616,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6fd2784b-8360-4bc2-9eca-e91e816a58a9" + "4668b66f-1438-4e13-8eb9-dde93d647972" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14997" ], "x-ms-correlation-request-id": [ - "557f0d22-ce76-4df9-92d5-e591b29178b9" + "a66c86c0-6774-4904-876c-1dbf1894e80e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201348Z:557f0d22-ce76-4df9-92d5-e591b29178b9" + "WESTUS2:20180219T212859Z:a66c86c0-6774-4904-876c-1dbf1894e80e" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -653,13 +653,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:14:17 GMT" + "Mon, 19 Feb 2018 21:29:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -671,23 +671,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "cff5837a-f9a6-4355-8720-f2bf388eeedd" + "1ec082f4-d5e2-4c5c-b861-6709c1bcb5c2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "14996" ], "x-ms-correlation-request-id": [ - "c5d56f46-881c-46a5-ab9f-fdf54f4cff45" + "c0d31e78-eec5-4f87-ba22-3f000c4d217b" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201418Z:c5d56f46-881c-46a5-ab9f-fdf54f4cff45" + "WESTUS2:20180219T212959Z:c0d31e78-eec5-4f87-ba22-3f000c4d217b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -708,13 +708,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:14:47 GMT" + "Mon, 19 Feb 2018 21:30:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -726,23 +726,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b9199733-9d33-4a78-a099-c41907d2b29a" + "504bdf2b-975a-46f4-94e1-18e1878bf4fb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" + "14995" ], "x-ms-correlation-request-id": [ - "ea131700-491f-4a3f-82f8-612047dd509f" + "e07959be-b8ef-47ec-bed4-cf6bcea679e0" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201448Z:ea131700-491f-4a3f-82f8-612047dd509f" + "WESTUS2:20180219T213059Z:e07959be-b8ef-47ec-bed4-cf6bcea679e0" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -763,13 +763,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:15:18 GMT" + "Mon, 19 Feb 2018 21:31:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -781,23 +781,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ac9ad3ce-c636-4b58-ad8a-bc10aa1ae343" + "e0b3dfad-9d31-4f47-af82-dfb789a9582d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "14999" ], "x-ms-correlation-request-id": [ - "a47d7627-0d70-4f73-aba8-5228d4369bce" + "ba747587-02ce-466a-a96a-bea73ead7186" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201518Z:a47d7627-0d70-4f73-aba8-5228d4369bce" + "WESTUS2:20180219T213159Z:ba747587-02ce-466a-a96a-bea73ead7186" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -818,13 +818,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:15:48 GMT" + "Mon, 19 Feb 2018 21:32:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -836,23 +836,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4aadb935-764f-4a07-82fc-8c1924dfe235" + "6afeae2b-fce7-489f-954b-20d25549849a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "14998" ], "x-ms-correlation-request-id": [ - "d3460ec1-2829-4ce3-8bdd-a0cdcda08df5" + "a8f4187d-f8d2-497d-9597-d5531f567a97" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201548Z:d3460ec1-2829-4ce3-8bdd-a0cdcda08df5" + "WESTUS2:20180219T213259Z:a8f4187d-f8d2-497d-9597-d5531f567a97" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -873,13 +873,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:16:18 GMT" + "Mon, 19 Feb 2018 21:34:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -891,23 +891,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "49d04c9e-6e72-4cb2-9a9a-7359a428a4bc" + "279766d4-2887-4a00-ae5e-0cf516844821" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "14998" ], "x-ms-correlation-request-id": [ - "91cad370-a8fb-4659-adf2-88a8855b52cf" + "7ee7f0a6-c052-4ebe-b24a-26863daf7a41" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201619Z:91cad370-a8fb-4659-adf2-88a8855b52cf" + "WESTUS2:20180219T213410Z:7ee7f0a6-c052-4ebe-b24a-26863daf7a41" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -928,13 +928,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:16:48 GMT" + "Mon, 19 Feb 2018 21:34:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -946,23 +946,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c626711d-830e-4eb1-94d2-bff512d2bd8c" + "3dbb3a4e-78d5-4758-9f6b-769778a00c39" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "14998" ], "x-ms-correlation-request-id": [ - "a10eb199-0ac7-4ed7-8265-ab261da4ce00" + "6544c62d-539a-4c76-afdd-81da19747904" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201649Z:a10eb199-0ac7-4ed7-8265-ab261da4ce00" + "WESTUS2:20180219T213500Z:6544c62d-539a-4c76-afdd-81da19747904" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -983,13 +983,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:17:19 GMT" + "Mon, 19 Feb 2018 21:36:00 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1001,23 +1001,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2cf6247f-e841-46aa-b2cd-b69b24b3fb97" + "45754b35-76dd-44bf-9f3a-4fb2263f53e8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "14997" ], "x-ms-correlation-request-id": [ - "2d4c9433-20e8-4639-a360-5cf3af1ce7e6" + "76a837fc-03b0-44fb-8097-7b9cc0277e0f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201719Z:2d4c9433-20e8-4639-a360-5cf3af1ce7e6" + "WESTUS2:20180219T213600Z:76a837fc-03b0-44fb-8097-7b9cc0277e0f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1038,13 +1038,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:17:49 GMT" + "Mon, 19 Feb 2018 21:37:00 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1056,23 +1056,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c798b090-666c-443e-a61d-46e112718c65" + "1f8e524d-ff68-4c78-ae99-d0a7518fc6d7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "14997" ], "x-ms-correlation-request-id": [ - "598ccae5-d9f9-45fa-b1d8-189fe0d231ad" + "368ab8aa-6e02-4d7b-9182-7eff8a91f763" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201749Z:598ccae5-d9f9-45fa-b1d8-189fe0d231ad" + "WESTUS2:20180219T213701Z:368ab8aa-6e02-4d7b-9182-7eff8a91f763" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1093,13 +1093,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:18:19 GMT" + "Mon, 19 Feb 2018 21:38:01 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1111,23 +1111,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0bae443d-1bff-4335-97b1-f94a52066c7f" + "f958d9c5-9a30-40fd-9052-6069631037e2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "14999" ], "x-ms-correlation-request-id": [ - "982fdd82-2f1d-4381-83c6-2953dbeec040" + "7ff7bf8f-679e-42cd-a621-160700e63da1" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201819Z:982fdd82-2f1d-4381-83c6-2953dbeec040" + "WESTUS2:20180219T213801Z:7ff7bf8f-679e-42cd-a621-160700e63da1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1148,13 +1148,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:18:49 GMT" + "Mon, 19 Feb 2018 21:39:00 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1166,23 +1166,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f3cb777b-313d-4a21-849c-bd58a6bed6a9" + "2ff62075-a737-4f01-bf55-56858d81d6e2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14998" ], "x-ms-correlation-request-id": [ - "41c50057-3261-44c2-99d8-8de535cafcc7" + "d59b3b99-ab86-4341-9353-0b4efecf0e64" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201849Z:41c50057-3261-44c2-99d8-8de535cafcc7" + "WESTUS2:20180219T213900Z:d59b3b99-ab86-4341-9353-0b4efecf0e64" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1203,13 +1203,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:19:19 GMT" + "Mon, 19 Feb 2018 21:40:01 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1221,23 +1221,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "69e25e10-8120-48cd-9860-532fb7b95d75" + "ff0723d7-7e67-4e68-aa5a-893e14df374d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14999" ], "x-ms-correlation-request-id": [ - "51d0f94c-61f4-4aa1-ace6-46abeecd20bd" + "23f8c1b4-7ac4-4f58-bd25-f7cb4fd8c770" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201919Z:51d0f94c-61f4-4aa1-ace6-46abeecd20bd" + "WESTUS2:20180219T214001Z:23f8c1b4-7ac4-4f58-bd25-f7cb4fd8c770" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1258,13 +1258,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:19:49 GMT" + "Mon, 19 Feb 2018 21:41:01 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1276,23 +1276,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "75763679-4e86-48cb-8e4d-d5af0e3718aa" + "f3c4e51b-059c-48f0-8425-f9f0bd496ed8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14999" ], "x-ms-correlation-request-id": [ - "3c6d3df0-2025-4bae-9ef7-22778b2a1b39" + "ea671890-251d-43e2-a1fa-ec901c72f15d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T201950Z:3c6d3df0-2025-4bae-9ef7-22778b2a1b39" + "WESTUS2:20180219T214101Z:ea671890-251d-43e2-a1fa-ec901c72f15d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1313,13 +1313,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:20:19 GMT" + "Mon, 19 Feb 2018 21:42:01 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1331,23 +1331,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0ddadf52-7877-4090-bdce-63df75da4202" + "df2a4bee-62c5-4a14-8fb0-8ec9d35ca735" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14999" ], "x-ms-correlation-request-id": [ - "ea7bcf7f-f583-4172-b532-7d20fcb3e433" + "cfbd9455-0d95-43e3-a8a5-17837cbe7e9f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202020Z:ea7bcf7f-f583-4172-b532-7d20fcb3e433" + "WESTUS2:20180219T214202Z:cfbd9455-0d95-43e3-a8a5-17837cbe7e9f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1368,13 +1368,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:20:49 GMT" + "Mon, 19 Feb 2018 21:43:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1386,23 +1386,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c6d09fd6-c391-4adc-98a1-cc51f44624fc" + "1ffdb6e8-cfdf-49c4-8d3a-fa0f8cbebc37" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14999" ], "x-ms-correlation-request-id": [ - "b049dc73-4e86-41b4-9994-2b160ea7de8d" + "5618e94e-ac13-45e6-87ae-f4a1236af8ed" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202050Z:b049dc73-4e86-41b4-9994-2b160ea7de8d" + "WESTUS2:20180219T214309Z:5618e94e-ac13-45e6-87ae-f4a1236af8ed" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1423,13 +1423,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:21:19 GMT" + "Mon, 19 Feb 2018 21:44:03 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1441,23 +1441,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "03618dd1-6704-4131-a538-40fcaf7f95a1" + "ab268a84-ea89-4f03-8518-dcbdeb2f612e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14999" ], "x-ms-correlation-request-id": [ - "2a9532bd-a048-410d-97d6-115a1dbc2ec3" + "e89b1530-2f7b-4401-acb3-b584b1ba1e81" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202120Z:2a9532bd-a048-410d-97d6-115a1dbc2ec3" + "WESTUS2:20180219T214403Z:e89b1530-2f7b-4401-acb3-b584b1ba1e81" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1478,13 +1478,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:21:50 GMT" + "Mon, 19 Feb 2018 21:45:03 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1496,23 +1496,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0605479c-3ffd-43cc-9794-b90130b0834b" + "e830e67e-3b7b-4e90-a726-b3c851389832" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14998" ], "x-ms-correlation-request-id": [ - "5e6c56df-b721-4915-9780-999f2826256b" + "f0448138-3827-4b3f-85fa-fac9c8ddbfa2" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202150Z:5e6c56df-b721-4915-9780-999f2826256b" + "WESTUS2:20180219T214503Z:f0448138-3827-4b3f-85fa-fac9c8ddbfa2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1533,13 +1533,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:22:20 GMT" + "Mon, 19 Feb 2018 21:46:02 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1551,23 +1551,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7b694d37-4ee2-405e-8425-5c27b5d4dc68" + "9e134392-d266-4aab-a482-288c57c5aea2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14997" ], "x-ms-correlation-request-id": [ - "3b8d2b7c-157e-498d-954b-0a8b02466086" + "736718b4-1992-4bab-bd20-379fd6b82d0c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202220Z:3b8d2b7c-157e-498d-954b-0a8b02466086" + "WESTUS2:20180219T214602Z:736718b4-1992-4bab-bd20-379fd6b82d0c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1588,13 +1588,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:22:50 GMT" + "Mon, 19 Feb 2018 21:47:04 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1606,23 +1606,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "178803ce-895b-47d6-81e4-257a95126fd8" + "d0b2465f-0d85-47f0-bced-90d092f200f9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "14999" ], "x-ms-correlation-request-id": [ - "688bd5a1-d3a5-4e52-bd7c-8c33e0919e0b" + "bf6001cc-dc14-402c-9211-ebec77e9a03f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202250Z:688bd5a1-d3a5-4e52-bd7c-8c33e0919e0b" + "WESTUS2:20180219T214704Z:bf6001cc-dc14-402c-9211-ebec77e9a03f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1643,13 +1643,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:23:20 GMT" + "Mon, 19 Feb 2018 21:48:04 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1661,23 +1661,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5a1db525-6192-4bdd-a31c-6296b0e5a25f" + "dce3e0ce-a262-4039-a346-4cd4336e76c0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "14998" ], "x-ms-correlation-request-id": [ - "0b9e7664-bc98-4d30-9442-05d2f0e4fb13" + "e7570d24-0b3e-42f7-bc0c-9859a1989727" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202320Z:0b9e7664-bc98-4d30-9442-05d2f0e4fb13" + "WESTUS2:20180219T214805Z:e7570d24-0b3e-42f7-bc0c-9859a1989727" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1698,13 +1698,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:23:50 GMT" + "Mon, 19 Feb 2018 21:49:04 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1716,23 +1716,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e71f60fe-4893-4015-a260-6e32d471f67d" + "db43ffc1-8a13-4845-a455-2d9dca0936de" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "14998" ], "x-ms-correlation-request-id": [ - "3d20cc06-84d0-452c-9957-5ee87aa2062f" + "e781f557-dcdb-4549-8197-6bfcb13daea2" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202351Z:3d20cc06-84d0-452c-9957-5ee87aa2062f" + "WESTUS2:20180219T214905Z:e781f557-dcdb-4549-8197-6bfcb13daea2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1753,13 +1753,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:24:20 GMT" + "Mon, 19 Feb 2018 21:50:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1771,23 +1771,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "18f6f279-7e5b-4a6a-942e-80d57fa7ab96" + "737ac9cc-2299-4e29-922b-ac7ef96a55ab" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "14999" ], "x-ms-correlation-request-id": [ - "1a303f79-1a37-4cf0-beb8-24f5ec424b99" + "4c5d5ed4-fe10-4285-bcf9-beeca1158157" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202421Z:1a303f79-1a37-4cf0-beb8-24f5ec424b99" + "WESTUS2:20180219T215005Z:4c5d5ed4-fe10-4285-bcf9-beeca1158157" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1808,13 +1808,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:24:51 GMT" + "Mon, 19 Feb 2018 21:51:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1826,23 +1826,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a5fad74a-e1f6-43fe-97b5-29d5da047c9e" + "b00ccc35-9850-4008-8aa9-e3f8097a4124" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" + "14998" ], "x-ms-correlation-request-id": [ - "1d6a5264-5fd4-4382-a4db-ed14e79ae2bc" + "e202616f-0fe7-4185-870b-d9c47e150973" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202452Z:1d6a5264-5fd4-4382-a4db-ed14e79ae2bc" + "WESTUS2:20180219T215106Z:e202616f-0fe7-4185-870b-d9c47e150973" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1863,13 +1863,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:25:21 GMT" + "Mon, 19 Feb 2018 21:52:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1881,23 +1881,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "80d9b3e6-52e3-40cb-a579-dc8329d02f88" + "a785792b-8d87-47d8-9b2b-b37b2411ea8d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "14997" ], "x-ms-correlation-request-id": [ - "0a4845d4-345e-40ea-b57e-f51ae85d92e6" + "782f2f95-5daa-437f-82bd-2cc8509a7f53" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202522Z:0a4845d4-345e-40ea-b57e-f51ae85d92e6" + "WESTUS2:20180219T215206Z:782f2f95-5daa-437f-82bd-2cc8509a7f53" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1918,13 +1918,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:25:51 GMT" + "Mon, 19 Feb 2018 21:53:07 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1936,23 +1936,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5462cdd8-4c90-4d84-aa19-1934afdfbd1c" + "e774f241-0a15-478b-84a9-df1c2f02476c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" + "14996" ], "x-ms-correlation-request-id": [ - "44423339-207a-4f82-a327-6f2c457e7872" + "0d434a81-22a3-4ecb-954f-699e54ff7c75" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202552Z:44423339-207a-4f82-a327-6f2c457e7872" + "WESTUS2:20180219T215307Z:0d434a81-22a3-4ecb-954f-699e54ff7c75" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1973,13 +1973,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:26:22 GMT" + "Mon, 19 Feb 2018 21:54:07 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1991,23 +1991,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "78c700f5-86b9-4a40-ac64-37da58080ddc" + "e6bda800-9cf5-49b3-9452-5074c52eca9a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" + "14995" ], "x-ms-correlation-request-id": [ - "995b93c2-a8c3-43d1-b5a7-81cd3ee7d12e" + "e633a92f-5233-4b84-a25d-69ac65ccff6f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202622Z:995b93c2-a8c3-43d1-b5a7-81cd3ee7d12e" + "WESTUS2:20180219T215407Z:e633a92f-5233-4b84-a25d-69ac65ccff6f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2028,13 +2028,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:26:52 GMT" + "Mon, 19 Feb 2018 21:55:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2046,23 +2046,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "04cefdf6-9715-486b-b8a4-fcdddee31ec9" + "e22b617a-53c5-4f05-9e71-98a172661821" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" + "14997" ], "x-ms-correlation-request-id": [ - "06ea5abd-877a-4036-bd5e-2cb477013295" + "e9e710f4-94dd-4f03-aa7b-97f5a2f920d7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202652Z:06ea5abd-877a-4036-bd5e-2cb477013295" + "WESTUS2:20180219T215507Z:e9e710f4-94dd-4f03-aa7b-97f5a2f920d7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2083,13 +2083,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:27:22 GMT" + "Mon, 19 Feb 2018 21:56:18 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2101,23 +2101,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ad9361ff-4c99-4dc3-8cc1-61ee9ac15cbd" + "31267670-e8bc-4773-8e04-a34b171ccc9b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" + "14997" ], "x-ms-correlation-request-id": [ - "1335d9b5-1651-4ef4-bd16-c482e9e62566" + "bb514b55-e3be-428f-ae48-499061ba67c1" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202722Z:1335d9b5-1651-4ef4-bd16-c482e9e62566" + "WESTUS2:20180219T215618Z:bb514b55-e3be-428f-ae48-499061ba67c1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2138,13 +2138,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:27:52 GMT" + "Mon, 19 Feb 2018 21:57:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2156,23 +2156,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3a33a2d3-27ec-424d-8fd5-ec4bdb07acd6" + "8dcf5d32-5793-4150-9a47-9e79cac3904b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14925" + "14999" ], "x-ms-correlation-request-id": [ - "e87e49de-0d15-4504-9bfd-058265d3663c" + "1f448666-331f-468c-ac93-d3839049cf22" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202752Z:e87e49de-0d15-4504-9bfd-058265d3663c" + "WESTUS2:20180219T215708Z:1f448666-331f-468c-ac93-d3839049cf22" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2193,13 +2193,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:28:22 GMT" + "Mon, 19 Feb 2018 21:58:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2211,23 +2211,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "51ed3179-2b0c-4cbc-bea4-a72f9df7ea1f" + "0b58f137-f41f-4505-8bd3-09d2c49bda0a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" + "14998" ], "x-ms-correlation-request-id": [ - "c3ddf50c-2e96-4d9f-af80-9ff077ac520d" + "b4d509b1-e94c-4f10-bef2-d73457164a74" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202823Z:c3ddf50c-2e96-4d9f-af80-9ff077ac520d" + "WESTUS2:20180219T215809Z:b4d509b1-e94c-4f10-bef2-d73457164a74" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2248,13 +2248,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:28:52 GMT" + "Mon, 19 Feb 2018 21:59:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2266,23 +2266,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8ee92d7b-3f58-45b8-8a48-36f1c831a88c" + "98855a10-d648-46cb-a789-274eb01101e7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14923" + "14999" ], "x-ms-correlation-request-id": [ - "98cade6a-80c8-4e40-85cc-dfa5a5fb9395" + "8c66145d-db50-4bc3-936b-0cd64933ecc1" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202853Z:98cade6a-80c8-4e40-85cc-dfa5a5fb9395" + "WESTUS2:20180219T215909Z:8c66145d-db50-4bc3-936b-0cd64933ecc1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQWN0XzNhZWQxZGJh?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFXTjBYek5oWldReFpHSmg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2291,10 +2291,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752\",\r\n \"name\": \"sdktestapim752\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaw8w=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T21:20:56.4345226Z\",\r\n \"gatewayUrl\": \"https://sdktestapim752.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim752-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim752.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim752.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim752.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.37.48\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -2303,108 +2303,65 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:29:23 GMT" + "Mon, 19 Feb 2018 22:00:10 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Vary": [ + "Accept-Encoding" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2e8943bd-b78b-446a-8ff9-ac283d4ae4f1" + "0281f451-2850-4c28-97f5-7295b150305a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" + "14996" ], "x-ms-correlation-request-id": [ - "951c3a68-8f10-418c-92cf-856359dc2873" + "7aa9cebe-a875-4095-9aed-fa454e017dec" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T202923Z:951c3a68-8f10-418c-92cf-856359dc2873" + "WESTUS2:20180219T220010Z:7aa9cebe-a875-4095-9aed-fa454e017dec" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/checkNameAvailability?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"sdkapimbackup2556\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\"\r\n}", "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:29:53 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-request-id": [ - "c0112b7e-7487-4101-8a18-2840a64637a7" + "Content-Length": [ + "83" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14920" + "x-ms-client-request-id": [ + "c98ed5bc-db29-4cf2-85e5-161d2faa9504" ], - "x-ms-correlation-request-id": [ - "595f714c-bbe3-465a-b76b-2a36a127f450" + "accept-language": [ + "en-US" ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T202953Z:595f714c-bbe3-465a-b76b-2a36a127f450" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"nameAvailable\": true\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json" ], "Expires": [ "-1" @@ -2413,47 +2370,60 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:30:23 GMT" + "Mon, 19 Feb 2018 22:00:10 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ + "Microsoft-Azure-Storage-Resource-Provider/1.0", "Microsoft-HTTPAPI/2.0" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "41ed56d7-b5e2-412f-8fd6-de27191bc744" + "8a03ff3a-54ba-4b9d-be8c-94043baa2216" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14920" + "14995" ], "x-ms-correlation-request-id": [ - "cbfc18a3-d4e0-49c3-9ecc-07a08cdab977" + "8a03ff3a-54ba-4b9d-be8c-94043baa2216" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203023Z:cbfc18a3-d4e0-49c3-9ecc-07a08cdab977" + "WESTUS2:20180219T220010Z:8a03ff3a-54ba-4b9d-be8c-94043baa2216" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.Storage/storageAccounts/sdkapimbackup2556?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zZGthcGltYmFja3VwMjU1Nj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\"\r\n },\r\n \"kind\": \"Storage\",\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "100" + ], + "x-ms-client-request-id": [ + "410b23fe-e30b-4a6b-85e7-2c87c244764f" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" ] }, "ResponseBody": "", @@ -2461,6 +2431,9 @@ "Content-Length": [ "0" ], + "Content-Type": [ + "text/plain; charset=utf-8" + ], "Expires": [ "-1" ], @@ -2468,53 +2441,53 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:30:53 GMT" + "Mon, 19 Feb 2018 22:00:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/locations/centralus/asyncoperations/dee1ae87-607f-4fb9-adf8-a4b2b078b048?monitor=true&api-version=2016-05-01" ], "Retry-After": [ - "60" + "17" ], "Server": [ - "Microsoft-HTTPAPI/2.0" + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" + ], + "x-ms-request-id": [ + "dee1ae87-607f-4fb9-adf8-a4b2b078b048" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "x-ms-request-id": [ - "0881032e-7aff-42fa-a7a1-6be5acbe1e73" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14917" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "6be2a59a-1ce0-4411-aeaf-fde3a03fcbb6" + "ba282e24-d079-43f4-aee2-cb60bf53d7df" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203053Z:6be2a59a-1ce0-4411-aeaf-fde3a03fcbb6" + "WESTUS2:20180219T220012Z:ba282e24-d079-43f4-aee2-cb60bf53d7df" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/locations/centralus/asyncoperations/dee1ae87-607f-4fb9-adf8-a4b2b078b048?monitor=true&api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9sb2NhdGlvbnMvY2VudHJhbHVzL2FzeW5jb3BlcmF0aW9ucy9kZWUxYWU4Ny02MDdmLTRmYjktYWRmOC1hNGIyYjA3OGIwNDg/bW9uaXRvcj10cnVlJmFwaS12ZXJzaW9uPTIwMTYtMDUtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\",\r\n \"tier\": \"Standard\"\r\n },\r\n \"kind\": \"Storage\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.Storage/storageAccounts/sdkapimbackup2556\",\r\n \"name\": \"sdkapimbackup2556\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\",\r\n \"location\": \"centralus\",\r\n \"tags\": {},\r\n \"properties\": {\r\n \"supportsHttpsTrafficOnly\": false,\r\n \"encryption\": {\r\n \"services\": {\r\n \"blob\": {\r\n \"enabled\": true,\r\n \"lastEnabledTime\": \"2018-02-19T22:00:10.951732Z\"\r\n }\r\n },\r\n \"keySource\": \"Microsoft.Storage\"\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"creationTime\": \"2018-02-19T22:00:10.9048857Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sdkapimbackup2556.blob.core.windows.net/\",\r\n \"queue\": \"https://sdkapimbackup2556.queue.core.windows.net/\",\r\n \"table\": \"https://sdkapimbackup2556.table.core.windows.net/\",\r\n \"file\": \"https://sdkapimbackup2556.file.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"centralus\",\r\n \"statusOfPrimary\": \"available\",\r\n \"secondaryLocation\": \"eastus2\",\r\n \"statusOfSecondary\": \"available\"\r\n }\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json" ], "Expires": [ "-1" @@ -2523,53 +2496,59 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:31:23 GMT" + "Mon, 19 Feb 2018 22:00:29 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ - "Microsoft-HTTPAPI/2.0" + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "211c4f63-fc27-4184-a658-6baa404d875c" + "c8ca552c-261a-44ea-bc6a-ab8f17064f57" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14913" + "14994" ], "x-ms-correlation-request-id": [ - "895e49e3-3b01-410e-8c37-cdcb0075297c" + "9fda0de6-ec7d-4b0d-90ff-739e0afbab34" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203123Z:895e49e3-3b01-410e-8c37-cdcb0075297c" + "WESTUS2:20180219T220029Z:9fda0de6-ec7d-4b0d-90ff-739e0afbab34" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.Storage/storageAccounts/sdkapimbackup2556/listKeys?api-version=2016-05-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zZGthcGltYmFja3VwMjU1Ni9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", + "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { + "x-ms-client-request-id": [ + "7efef4c5-07f1-4c85-b045-7e2c8e01d4c1" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"value\": \"HiPOwbGW0yx3WaZ9XaIoAeyYQ50Z4XGPQTZTl9HLjNaZAS7wSE8+1l2igM488dKKY/7PREayG0BqwEPoO05u0w==\",\r\n \"permissions\": \"FULL\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"value\": \"1x57AyXLtLC+BVQs8FFRVT132tkJx8LnAn3yuP50qHIvQLRdBNG+HD5xBehZKolHSHfYghqjtorj9pblNK8nSg==\",\r\n \"permissions\": \"FULL\"\r\n }\r\n ]\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json" ], "Expires": [ "-1" @@ -2578,44 +2557,56 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:31:53 GMT" + "Mon, 19 Feb 2018 22:00:29 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ - "Microsoft-HTTPAPI/2.0" + "Microsoft-Azure-Storage-Resource-Provider/1.0,Microsoft-HTTPAPI/2.0 Microsoft-HTTPAPI/2.0" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Vary": [ + "Accept-Encoding" ], "x-ms-request-id": [ - "a67153c3-91ea-4b5d-96ff-6a69eff19e1b" + "787211c7-ec37-47ae-a806-2937898177f2" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14911" + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" ], "x-ms-correlation-request-id": [ - "8b49b903-5e46-40b2-9a68-c224b05c6f3c" + "9db8ad80-58a7-4b20-a336-a2d114532f02" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203154Z:8b49b903-5e46-40b2-9a68-c224b05c6f3c" + "WESTUS2:20180219T220029Z:9db8ad80-58a7-4b20-a336-a2d114532f02" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/backup?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvYmFja3VwP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageAccount\": \"sdkapimbackup2556\",\r\n \"accessKey\": \"HiPOwbGW0yx3WaZ9XaIoAeyYQ50Z4XGPQTZTl9HLjNaZAS7wSE8+1l2igM488dKKY/7PREayG0BqwEPoO05u0w==\",\r\n \"containerName\": \"apimbackupcontainer\",\r\n \"backupName\": \"apimbackup.zip\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "231" + ], + "x-ms-client-request-id": [ + "fcb25282-0257-4d27-82b5-fb890e3d8281" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" @@ -2633,13 +2624,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:32:24 GMT" + "Mon, 19 Feb 2018 22:00:29 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752//operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI=?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2651,23 +2642,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e1f8ffd9-d676-4665-906e-a19b2261ebdb" + "17847106-6c43-43df-8db3-34ff91b7f61e" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14910" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "ed4901db-ddaf-42ac-8470-fc489d63c47c" + "9962d60e-a9a5-4f72-8d71-ac74ebb7aceb" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203224Z:ed4901db-ddaf-42ac-8470-fc489d63c47c" + "WESTUS2:20180219T220030Z:9962d60e-a9a5-4f72-8d71-ac74ebb7aceb" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752//operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI=?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwM05USmZRbUZqYTNWd1h6STVOV1UzTkdJPT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2688,13 +2679,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:32:54 GMT" + "Mon, 19 Feb 2018 22:01:30 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2706,23 +2697,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ac8524fa-a5d4-4f7d-b7f1-354f304ec896" + "403c3846-7a68-40dc-842d-8c66686e4037" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14908" + "14995" ], "x-ms-correlation-request-id": [ - "87a08962-09ce-4445-8015-95201a3eb9bf" + "d5450c2b-66f5-48bd-862f-b92f5fdd926e" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203254Z:87a08962-09ce-4445-8015-95201a3eb9bf" + "WESTUS2:20180219T220130Z:d5450c2b-66f5-48bd-862f-b92f5fdd926e" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2743,13 +2734,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:33:24 GMT" + "Mon, 19 Feb 2018 22:02:29 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2761,23 +2752,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d31312a1-2348-4108-a61a-e4e1880f3b28" + "f7dc3884-6b38-42da-978d-d75c6ed6fd12" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14907" + "14997" ], "x-ms-correlation-request-id": [ - "4a0e92dd-0c9d-4b32-9da7-67b36fed4906" + "adf513be-bbfa-4851-a406-b0e2740709d6" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203324Z:4a0e92dd-0c9d-4b32-9da7-67b36fed4906" + "WESTUS2:20180219T220230Z:adf513be-bbfa-4851-a406-b0e2740709d6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2798,13 +2789,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:33:53 GMT" + "Mon, 19 Feb 2018 22:03:30 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2816,23 +2807,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4eed90df-79f1-4ae3-a8f6-006dfa62de78" + "4f4c8347-7618-466f-9003-6f3083142f57" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14906" + "14995" ], "x-ms-correlation-request-id": [ - "309ac182-72e7-4fb9-8866-21ea8e97bd6f" + "1d785acf-5484-4e59-a0f7-7f0e0f5636a8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203354Z:309ac182-72e7-4fb9-8866-21ea8e97bd6f" + "WESTUS2:20180219T220331Z:1d785acf-5484-4e59-a0f7-7f0e0f5636a8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2853,13 +2844,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:34:23 GMT" + "Mon, 19 Feb 2018 22:04:31 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2871,23 +2862,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "40961576-d6c4-4272-9e14-65d8147923a5" + "7cc95326-14f7-4ca8-ae77-6a88403947c7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14904" + "14999" ], "x-ms-correlation-request-id": [ - "7cba51cd-3a53-4284-95b7-cc2457972fd3" + "90d84386-4b81-4e21-b64f-dce85752e8f8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203424Z:7cba51cd-3a53-4284-95b7-cc2457972fd3" + "WESTUS2:20180219T220431Z:90d84386-4b81-4e21-b64f-dce85752e8f8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2908,13 +2899,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:34:53 GMT" + "Mon, 19 Feb 2018 22:05:31 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2926,23 +2917,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "40cd6dca-1f8d-4447-9055-c152f0ef5f9f" + "3059b12b-a6a2-4903-89bf-70816cefaa3b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14903" + "14998" ], "x-ms-correlation-request-id": [ - "718178b8-932d-419a-82f5-21d52c7af0c0" + "5524f7db-973e-4cac-bf23-6848a4bc75af" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203454Z:718178b8-932d-419a-82f5-21d52c7af0c0" + "WESTUS2:20180219T220531Z:5524f7db-973e-4cac-bf23-6848a4bc75af" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2963,13 +2954,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:35:24 GMT" + "Mon, 19 Feb 2018 22:06:31 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2981,23 +2972,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2581b270-c48b-40d6-b17c-33c26a441674" + "dba80e27-2c72-4479-9039-2ab087e5059b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14903" + "14994" ], "x-ms-correlation-request-id": [ - "51c089f5-98e0-4dc5-b223-f45bebeb068f" + "c315a4f5-7740-4edf-b36d-b6f24ebd6885" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203524Z:51c089f5-98e0-4dc5-b223-f45bebeb068f" + "WESTUS2:20180219T220632Z:c315a4f5-7740-4edf-b36d-b6f24ebd6885" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3018,13 +3009,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:35:55 GMT" + "Mon, 19 Feb 2018 22:07:32 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3036,23 +3027,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8c512d24-b2b8-4a52-8434-ab8852c33bc7" + "f85af82e-254b-4782-9721-db1e03a343ef" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14901" + "14993" ], "x-ms-correlation-request-id": [ - "b9959173-078d-440c-8aca-f93c1a82fad5" + "8b40aad1-f5f5-492f-b375-55568461e9da" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203555Z:b9959173-078d-440c-8aca-f93c1a82fad5" + "WESTUS2:20180219T220732Z:8b40aad1-f5f5-492f-b375-55568461e9da" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3073,13 +3064,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:36:25 GMT" + "Mon, 19 Feb 2018 22:08:31 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3091,23 +3082,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0b8b326f-8a31-42ea-b2f6-fa0436daff17" + "ec604708-08ee-4e31-8a25-f73c1d80e5f7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14899" + "14998" ], "x-ms-correlation-request-id": [ - "e2c0aeec-d87a-4871-bcaa-543259486ba4" + "328bdbb4-a886-465b-a998-d8f73ca1814d" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203625Z:e2c0aeec-d87a-4871-bcaa-543259486ba4" + "WESTUS2:20180219T220832Z:328bdbb4-a886-465b-a998-d8f73ca1814d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3128,13 +3119,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:36:54 GMT" + "Mon, 19 Feb 2018 22:09:32 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3146,23 +3137,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a34d2ba0-5f29-4dcd-be04-79a78c137081" + "dcb0c624-b644-40e0-ac6e-dfeef623e049" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14897" + "14997" ], "x-ms-correlation-request-id": [ - "6392b1b9-8d82-4de8-a843-6b77961ad5e4" + "e512517a-9764-4e95-931f-37fe80f1bb81" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203655Z:6392b1b9-8d82-4de8-a843-6b77961ad5e4" + "WESTUS2:20180219T220932Z:e512517a-9764-4e95-931f-37fe80f1bb81" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3183,13 +3174,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:37:25 GMT" + "Mon, 19 Feb 2018 22:10:33 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3201,23 +3192,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d52fd3aa-a521-4e60-901f-7ee9f7285b93" + "4e9db65e-3ea7-4d04-ab52-1c8bf5435f1b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14894" + "14996" ], "x-ms-correlation-request-id": [ - "735bc4d3-f83e-4a0e-ba24-3c9d2bd52340" + "ae4fa5e4-1342-4fe0-868d-f205fd8eb076" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203726Z:735bc4d3-f83e-4a0e-ba24-3c9d2bd52340" + "WESTUS2:20180219T221033Z:ae4fa5e4-1342-4fe0-868d-f205fd8eb076" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfQmFja3VwXzI5NWU3NGI%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlFtRmphM1Z3WHpJNU5XVTNOR0klM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3226,10 +3217,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752\",\r\n \"name\": \"sdktestapim752\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaxDY=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T21:20:56.4345226Z\",\r\n \"gatewayUrl\": \"https://sdktestapim752.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim752-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim752.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim752.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim752.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.37.48\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -3238,44 +3229,56 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:37:55 GMT" + "Mon, 19 Feb 2018 22:11:32 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Vary": [ + "Accept-Encoding" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9631d68f-0d2a-4f5b-866d-a5fef92fdf34" + "30f36547-b003-422b-975a-1f3410270159" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14892" + "14995" ], "x-ms-correlation-request-id": [ - "1e7884d6-8c4d-47a4-bc15-57ee08e4a219" + "b2b39a7e-9fc9-4efa-b50e-b9b1d090cb2a" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T203756Z:1e7884d6-8c4d-47a4-bc15-57ee08e4a219" + "WESTUS2:20180219T221133Z:b2b39a7e-9fc9-4efa-b50e-b9b1d090cb2a" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/restore?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvcmVzdG9yZT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"storageAccount\": \"sdkapimbackup2556\",\r\n \"accessKey\": \"HiPOwbGW0yx3WaZ9XaIoAeyYQ50Z4XGPQTZTl9HLjNaZAS7wSE8+1l2igM488dKKY/7PREayG0BqwEPoO05u0w==\",\r\n \"containerName\": \"apimbackupcontainer\",\r\n \"backupName\": \"apimbackup.zip\"\r\n}", "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "231" + ], + "x-ms-client-request-id": [ + "eaa6e819-0f14-406c-8fa0-775f43b7b41c" + ], + "accept-language": [ + "en-US" + ], "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" @@ -3293,13 +3296,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 20:38:25 GMT" + "Mon, 19 Feb 2018 22:11:33 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752//operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw==?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3311,2666 +3314,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3ba58cc0-827b-4498-95bf-2940e3394dfe" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14890" - ], - "x-ms-correlation-request-id": [ - "c553174d-cef4-4343-aa0d-63cf29caf68e" + "fb859a1d-ce88-4646-8cde-dfd9f637919f" ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T203826Z:c553174d-cef4-4343-aa0d-63cf29caf68e" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:38:55 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "0a10d52d-7544-4da6-b242-73cf54feb61c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14888" - ], - "x-ms-correlation-request-id": [ - "04063d6f-68a7-4a5c-b2f5-094abccc0640" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T203856Z:04063d6f-68a7-4a5c-b2f5-094abccc0640" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:39:26 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "28e032fa-f41b-477b-aa8d-6a6ccbd53e7b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14887" - ], - "x-ms-correlation-request-id": [ - "76678a68-d7d8-4a84-9c28-894fd4f2545c" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T203926Z:76678a68-d7d8-4a84-9c28-894fd4f2545c" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:39:56 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "dbcdc5ea-90ca-428f-b37d-e0de67ced14f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14886" - ], - "x-ms-correlation-request-id": [ - "20b8a0d2-e37a-42e9-a876-7ac7a9bf82a6" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T203956Z:20b8a0d2-e37a-42e9-a876-7ac7a9bf82a6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:40:25 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "b4e4189e-765f-4d9a-a6e2-d0a08183bcf8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14885" - ], - "x-ms-correlation-request-id": [ - "39fe3e7f-4c2b-4c01-b624-f8419ffcfdbe" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204026Z:39fe3e7f-4c2b-4c01-b624-f8419ffcfdbe" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:40:55 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a8798082-3dcc-4961-b3ed-b8555aecd987" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14884" - ], - "x-ms-correlation-request-id": [ - "910ad880-2eaa-459c-88c2-0b8ea4dd4966" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204056Z:910ad880-2eaa-459c-88c2-0b8ea4dd4966" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:41:26 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "945d3eaa-35f6-4057-8e03-5719f481d317" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14883" - ], - "x-ms-correlation-request-id": [ - "fb0503ac-fbf3-4a1b-9790-c392ca49e255" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204126Z:fb0503ac-fbf3-4a1b-9790-c392ca49e255" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:41:56 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "81faba41-282e-452a-a827-a4c73feb9ef9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14882" - ], - "x-ms-correlation-request-id": [ - "cd3772d4-f0cf-4a12-bed3-f4d930b8a64d" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204157Z:cd3772d4-f0cf-4a12-bed3-f4d930b8a64d" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:42:26 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9a095f0b-a9ed-4960-a29a-feca147eac9f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14879" - ], - "x-ms-correlation-request-id": [ - "9a802d68-b5fc-453c-85f0-825c6c70b29a" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204227Z:9a802d68-b5fc-453c-85f0-825c6c70b29a" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:42:56 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "b3802144-f840-482d-ac98-6a70ceca8ed8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14877" - ], - "x-ms-correlation-request-id": [ - "6672e3c1-b8d2-4679-9052-6121df7fed90" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204257Z:6672e3c1-b8d2-4679-9052-6121df7fed90" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:43:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1e6d7a9c-9bca-4033-8702-67b949316167" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14875" - ], - "x-ms-correlation-request-id": [ - "6078b52b-0fb8-4cb7-8f47-bd0b55db1cee" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204327Z:6078b52b-0fb8-4cb7-8f47-bd0b55db1cee" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:43:57 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1030286b-1ef1-42c2-b498-3fc9b9f25715" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14873" - ], - "x-ms-correlation-request-id": [ - "771f3d55-b0ac-4ffb-acdc-5517b28b6155" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204357Z:771f3d55-b0ac-4ffb-acdc-5517b28b6155" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:44:27 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "e08ffe93-2adb-4aed-a937-6cf29e0b6fad" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14872" - ], - "x-ms-correlation-request-id": [ - "7aa7f328-a7ee-4f30-9a84-df7d5e28e491" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204428Z:7aa7f328-a7ee-4f30-9a84-df7d5e28e491" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:44:58 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "6fa55e4a-9c8b-48ea-881f-894d7db836bd" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14871" - ], - "x-ms-correlation-request-id": [ - "50da0703-7ff3-457e-995a-ed3343a2da4c" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204458Z:50da0703-7ff3-457e-995a-ed3343a2da4c" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0FjdF81NDcxMmZjYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEZqZEY4MU5EY3hNbVpqWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298\",\r\n \"name\": \"sdktestapim9298\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatRk=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T20:09:48.2009488Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9298.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9298.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9298.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9298.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.22.124\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:45:30 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "4b423074-07aa-45ce-a959-dfe484413c7b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14870" - ], - "x-ms-correlation-request-id": [ - "22794199-c69a-4506-aca6-18e9720398c5" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204530Z:22794199-c69a-4506-aca6-18e9720398c5" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/checkNameAvailability?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"name\": \"sdkapimbackup1892\",\r\n \"type\": \"Microsoft.Storage/storageAccounts\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "83" - ], - "x-ms-client-request-id": [ - "7ee30fa4-f6ef-4369-8046-4c12fda9b58d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"nameAvailable\": true\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:45:30 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": [ - "e05f4840-1359-4773-acb5-8c1022c99842" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14996" - ], - "x-ms-correlation-request-id": [ - "e05f4840-1359-4773-acb5-8c1022c99842" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T204531Z:e05f4840-1359-4773-acb5-8c1022c99842" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.Storage/storageAccounts/sdkapimbackup1892?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zZGthcGltYmFja3VwMTg5Mj9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\"\r\n },\r\n \"kind\": \"Storage\",\r\n \"location\": \"Central US\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "100" - ], - "x-ms-client-request-id": [ - "8e716749-4338-4a69-8e95-f3ce85923f9c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:45:31 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/operations/752c7db6-7d30-4de7-a9ac-ceaf73640569?monitor=true&api-version=2016-05-01" - ], - "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": [ - "ab0093dc-d74b-41bc-9905-f0886066c247" - ], - "x-ms-correlation-request-id": [ - "ab0093dc-d74b-41bc-9905-f0886066c247" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T204532Z:ab0093dc-d74b-41bc-9905-f0886066c247" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Storage/operations/752c7db6-7d30-4de7-a9ac-ceaf73640569?monitor=true&api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuU3RvcmFnZS9vcGVyYXRpb25zLzc1MmM3ZGI2LTdkMzAtNGRlNy1hOWFjLWNlYWY3MzY0MDU2OT9tb25pdG9yPXRydWUmYXBpLXZlcnNpb249MjAxNi0wNS0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.Storage/storageAccounts/sdkapimbackup1892\",\r\n \"kind\": \"Storage\",\r\n \"location\": \"centralus\",\r\n \"name\": \"sdkapimbackup1892\",\r\n \"properties\": {\r\n \"creationTime\": \"2017-08-02T20:45:31.9745163Z\",\r\n \"primaryEndpoints\": {\r\n \"blob\": \"https://sdkapimbackup1892.blob.core.windows.net/\",\r\n \"file\": \"https://sdkapimbackup1892.file.core.windows.net/\",\r\n \"queue\": \"https://sdkapimbackup1892.queue.core.windows.net/\",\r\n \"table\": \"https://sdkapimbackup1892.table.core.windows.net/\"\r\n },\r\n \"primaryLocation\": \"centralus\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"secondaryLocation\": \"eastus2\",\r\n \"statusOfPrimary\": \"available\",\r\n \"statusOfSecondary\": \"available\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Standard_GRS\",\r\n \"tier\": \"Standard\"\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": [ - "Wed, 02 Aug 2017 20:46:01 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": [ - "4ff40821-bc4d-4083-8394-8fb90570576c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" - ], - "x-ms-correlation-request-id": [ - "4ff40821-bc4d-4083-8394-8fb90570576c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T204602Z:4ff40821-bc4d-4083-8394-8fb90570576c" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.Storage/storageAccounts/sdkapimbackup1892/listKeys?api-version=2016-05-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5TdG9yYWdlL3N0b3JhZ2VBY2NvdW50cy9zZGthcGltYmFja3VwMTg5Mi9saXN0S2V5cz9hcGktdmVyc2lvbj0yMDE2LTA1LTAx", - "RequestMethod": "POST", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "2c2b97f6-eace-4a97-bc71-a8985e1324b8" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.Storage.StorageManagementClient/6.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"keys\": [\r\n {\r\n \"keyName\": \"key1\",\r\n \"permissions\": \"Full\",\r\n \"value\": \"taaXoPuWxfSRyt6NjoZPXG+OH/8sLWM6LLiGBwLNQj1zEH4xXkGe/8YoFK+vJQrCZ9UFm0OW+hT/uyM+eJuiJA==\"\r\n },\r\n {\r\n \"keyName\": \"key2\",\r\n \"permissions\": \"Full\",\r\n \"value\": \"cmynlYDQqH2eKkAeNL09SEtZ3EBmsCCLNROj2k06ycRdr6JZtZm6NjWaNqaoZWUKKvBOuNlA7C+rX/zhhreOhQ==\"\r\n }\r\n ]\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:46:02 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": [ - "b15cfaa9-b10b-4208-b21f-65ea236fa032" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-correlation-request-id": [ - "b15cfaa9-b10b-4208-b21f-65ea236fa032" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T204603Z:b15cfaa9-b10b-4208-b21f-65ea236fa032" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/backup?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L2JhY2t1cD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"storageAccount\": \"sdkapimbackup1892\",\r\n \"accessKey\": \"taaXoPuWxfSRyt6NjoZPXG+OH/8sLWM6LLiGBwLNQj1zEH4xXkGe/8YoFK+vJQrCZ9UFm0OW+hT/uyM+eJuiJA==\",\r\n \"containerName\": \"apimbackupcontainer\",\r\n \"backupName\": \"apimbackup.zip\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "231" - ], - "x-ms-client-request-id": [ - "6f668b7d-f180-40ed-90eb-6430be5a4ad3" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:46:04 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298//operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ==?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "90657c77-dc7a-4b75-98fa-11759d15c142" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1188" - ], - "x-ms-correlation-request-id": [ - "e0ca24f9-0434-4157-b901-4b86c49e7346" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204604Z:e0ca24f9-0434-4157-b901-4b86c49e7346" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298//operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4Ly9vcGVyYXRpb25yZXN1bHRzL2MyUnJkR1Z6ZEdGd2FXMDVNams0WDBKaFkydDFjRjltWkdJMk9UVTBOUT09P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:46:34 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "886b8b39-0087-490f-9fd4-cd8e473cbbd8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14867" - ], - "x-ms-correlation-request-id": [ - "06541e5f-41ca-41fe-b9b6-59b2243a7090" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204635Z:06541e5f-41ca-41fe-b9b6-59b2243a7090" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:47:04 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "67ed4044-db65-4673-af4a-d123728986b9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14866" - ], - "x-ms-correlation-request-id": [ - "889d2efe-6d7b-41e0-af23-0b9c45bbab6b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204705Z:889d2efe-6d7b-41e0-af23-0b9c45bbab6b" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:47:34 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "358ee6f9-1ba6-44b1-8211-0927954b599b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14865" - ], - "x-ms-correlation-request-id": [ - "2f481e89-cde1-4e21-abdf-8057dc7d5160" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204735Z:2f481e89-cde1-4e21-abdf-8057dc7d5160" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:48:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "07458009-e459-4a21-be1f-b4f606e6d1ca" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14864" - ], - "x-ms-correlation-request-id": [ - "04085dc9-3bf2-443d-ae70-b1ed8d64d369" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204805Z:04085dc9-3bf2-443d-ae70-b1ed8d64d369" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:48:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "cf78b9c8-2705-44fe-b36a-3e7ee157b344" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14863" - ], - "x-ms-correlation-request-id": [ - "88a26d75-824f-4042-9f21-0c4d9d12bcf8" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204835Z:88a26d75-824f-4042-9f21-0c4d9d12bcf8" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:49:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "c0eb94cf-7c4c-4fab-a446-445af387c5bf" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14862" - ], - "x-ms-correlation-request-id": [ - "856d1a40-fec3-4dd4-858e-8836ab17c5ea" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204905Z:856d1a40-fec3-4dd4-858e-8836ab17c5ea" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:49:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "4f013068-0325-43d8-b347-158d58da95d0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14861" - ], - "x-ms-correlation-request-id": [ - "8b026b21-cade-44e4-80ba-92e47a9f5761" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T204935Z:8b026b21-cade-44e4-80ba-92e47a9f5761" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:50:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "95e1d907-d465-49f5-aba8-e4790ce80e27" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14861" - ], - "x-ms-correlation-request-id": [ - "85354430-7b19-486e-9c0a-7046d610e805" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205006Z:85354430-7b19-486e-9c0a-7046d610e805" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:50:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "6656a20f-587c-4985-88af-173604d21b10" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14860" - ], - "x-ms-correlation-request-id": [ - "5fb7bd68-e1e0-4b36-a336-3a24be0c3778" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205036Z:5fb7bd68-e1e0-4b36-a336-3a24be0c3778" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:51:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "ea687c17-3e91-46db-9196-cb802e104c4c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14859" - ], - "x-ms-correlation-request-id": [ - "9be1a459-ea8f-4406-ba67-ecaaecf3db94" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205106Z:9be1a459-ea8f-4406-ba67-ecaaecf3db94" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:51:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "8f37f79b-2886-4a1c-9cfa-919254f7f140" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14858" - ], - "x-ms-correlation-request-id": [ - "41536c2d-cd7e-4181-9e6a-3be36a2b6c49" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205136Z:41536c2d-cd7e-4181-9e6a-3be36a2b6c49" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:52:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "f737f6db-5774-46e0-bf05-7d3bbac0832b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14857" - ], - "x-ms-correlation-request-id": [ - "f15d426c-7a84-4aae-9a69-54e3cf8b6693" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205207Z:f15d426c-7a84-4aae-9a69-54e3cf8b6693" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:52:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "5e0d9f31-7816-40fe-90d7-53db32ce471a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14856" - ], - "x-ms-correlation-request-id": [ - "1472a4d3-78a3-4def-986e-b6a09f7e0f07" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205237Z:1472a4d3-78a3-4def-986e-b6a09f7e0f07" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:53:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "37416964-b4c1-4076-88d6-5f3a3fc0d15b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14855" - ], - "x-ms-correlation-request-id": [ - "24a657d5-92aa-45de-9a36-b0f439173ecb" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205307Z:24a657d5-92aa-45de-9a36-b0f439173ecb" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:53:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "7ee77428-7a16-4e93-9d05-2e55ff9184a1" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14854" - ], - "x-ms-correlation-request-id": [ - "3b2268e7-01f2-4038-bc11-c187156b9d48" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205337Z:3b2268e7-01f2-4038-bc11-c187156b9d48" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:54:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1e02b101-0250-49f2-9a99-f3307860b6e5" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14853" - ], - "x-ms-correlation-request-id": [ - "a935d8f8-6103-4d3e-8d8d-1b36443b5475" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205407Z:a935d8f8-6103-4d3e-8d8d-1b36443b5475" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X0JhY2t1cF9mZGI2OTU0NQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMEpoWTJ0MWNGOW1aR0kyT1RVME5RJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298\",\r\n \"name\": \"sdktestapim9298\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatSg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T20:09:48.2009488Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9298.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9298.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9298.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9298.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.22.124\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:54:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "71ac3da5-e831-49a3-8b50-ff0853051972" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14852" - ], - "x-ms-correlation-request-id": [ - "cce79785-f20a-45f2-84b4-fce046fc3010" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205437Z:cce79785-f20a-45f2-84b4-fce046fc3010" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/restore?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L3Jlc3RvcmU/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"storageAccount\": \"sdkapimbackup1892\",\r\n \"accessKey\": \"taaXoPuWxfSRyt6NjoZPXG+OH/8sLWM6LLiGBwLNQj1zEH4xXkGe/8YoFK+vJQrCZ9UFm0OW+hT/uyM+eJuiJA==\",\r\n \"containerName\": \"apimbackupcontainer\",\r\n \"backupName\": \"apimbackup.zip\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "231" - ], - "x-ms-client-request-id": [ - "ff45d37a-8a9c-4f6a-a451-6ef881ade19d" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:54:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298//operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ=?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "e3ead747-e597-43d0-afc2-539ec49fc6bc" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1187" - ], - "x-ms-correlation-request-id": [ - "b9b550aa-76e7-44a8-9367-dec2d1d2261a" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205438Z:b9b550aa-76e7-44a8-9367-dec2d1d2261a" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298//operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ=?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4Ly9vcGVyYXRpb25yZXN1bHRzL2MyUnJkR1Z6ZEdGd2FXMDVNams0WDFKbGMzUnZjbVZmTVdJeVlqWmhaRFE9P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:55:08 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "239fef39-5d3d-4480-852e-fab8092edeed" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14852" - ], - "x-ms-correlation-request-id": [ - "288088fa-b98e-42e9-bdbf-a754b917b38c" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205508Z:288088fa-b98e-42e9-bdbf-a754b917b38c" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:55:38 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "8cdef9ae-8c0d-428f-abdf-7f2054376fcf" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14851" - ], - "x-ms-correlation-request-id": [ - "3ebe203f-0988-4c55-83db-9d24d6459797" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205538Z:3ebe203f-0988-4c55-83db-9d24d6459797" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:56:08 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "74763ab0-bc99-4fe9-a676-136c1b1cf804" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14850" - ], - "x-ms-correlation-request-id": [ - "1cdd4aa0-f44b-4150-a733-e64120db835b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205608Z:1cdd4aa0-f44b-4150-a733-e64120db835b" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:56:39 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "e7d607a1-c9be-431b-a8ee-9efd85418542" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14849" - ], - "x-ms-correlation-request-id": [ - "e17969c4-b162-4886-ab60-2cf9a3b58c5f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205639Z:e17969c4-b162-4886-ab60-2cf9a3b58c5f" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:57:09 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "670d690d-f911-4c1f-8b79-ee34aef6ff4a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14848" - ], - "x-ms-correlation-request-id": [ - "79c6dcb9-e241-4806-97ed-a9d01ded99bf" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205710Z:79c6dcb9-e241-4806-97ed-a9d01ded99bf" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:57:39 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "4fc2c653-347e-4705-9d65-a274eed68dde" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14847" - ], - "x-ms-correlation-request-id": [ - "431a32e7-1b43-40db-935d-f1cf265fbcef" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205740Z:431a32e7-1b43-40db-935d-f1cf265fbcef" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:58:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a2682cc5-b8f9-4a67-92ef-920ea404d324" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14846" - ], - "x-ms-correlation-request-id": [ - "3f74a2cb-3686-4273-b63c-38a042dc4793" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205810Z:3f74a2cb-3686-4273-b63c-38a042dc4793" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:58:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "18a90081-4b4f-4f53-95dd-09d5c12765ee" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14845" - ], - "x-ms-correlation-request-id": [ - "d3bcc15a-6893-4064-bf9f-7b1d73974e46" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205840Z:d3bcc15a-6893-4064-bf9f-7b1d73974e46" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:59:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "63a10326-d0ab-4b7f-bb68-b65ee5fe2f8e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14844" - ], - "x-ms-correlation-request-id": [ - "077d50d6-3786-42f7-8f91-537ad68424a4" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170802T205910Z:077d50d6-3786-42f7-8f91-537ad68424a4" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 20:59:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "928f5c70-6556-4922-b4e7-01032d160364" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14843" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "449d14d1-aa26-4da8-b0c2-30fae7f19ebf" + "a56d061e-c259-4fc0-a4dc-3a735701f0dc" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T205941Z:449d14d1-aa26-4da8-b0c2-30fae7f19ebf" + "WESTUS2:20180219T221134Z:a56d061e-c259-4fc0-a4dc-3a735701f0dc" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752//operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwM05USmZVbVZ6ZEc5eVpWODRNVGd3TldGaVl3PT0/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -5991,13 +3351,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:00:11 GMT" + "Mon, 19 Feb 2018 22:12:34 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6009,23 +3369,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "45983e02-d1a7-4dd1-9cf1-2554a4a48e8f" + "34e96175-e573-4fe0-932a-b759477d666a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14842" + "14994" ], "x-ms-correlation-request-id": [ - "4cbf93e5-20e4-4b4d-a869-52532d7dbc60" + "01bd7752-0024-4459-a892-b6488074548f" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210011Z:4cbf93e5-20e4-4b4d-a869-52532d7dbc60" + "WESTUS2:20180219T221234Z:01bd7752-0024-4459-a892-b6488074548f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6046,13 +3406,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:00:41 GMT" + "Mon, 19 Feb 2018 22:13:34 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6064,23 +3424,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "80e28847-955c-4742-bd1e-5a380d0e3ff7" + "93154014-7481-4447-9e59-6df452f4c1c2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14841" + "14993" ], "x-ms-correlation-request-id": [ - "76a6ceb0-2bd0-4164-969d-d3e2100004f6" + "dfe66c93-edca-4628-9c84-5171c73c584c" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210041Z:76a6ceb0-2bd0-4164-969d-d3e2100004f6" + "WESTUS2:20180219T221335Z:dfe66c93-edca-4628-9c84-5171c73c584c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6101,13 +3461,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:01:11 GMT" + "Mon, 19 Feb 2018 22:14:35 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6119,23 +3479,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "949a24e6-f043-4529-bfac-b1f4e9cf3e37" + "1af19909-80ff-4db1-8497-80157b90dd02" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14840" + "14997" ], "x-ms-correlation-request-id": [ - "e7de78c3-9336-4311-a55c-e0dd512d6d06" + "70e3224d-47ca-4fa6-a960-09bfe276a163" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210111Z:e7de78c3-9336-4311-a55c-e0dd512d6d06" + "WESTUS2:20180219T221435Z:70e3224d-47ca-4fa6-a960-09bfe276a163" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6156,13 +3516,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:01:41 GMT" + "Mon, 19 Feb 2018 22:15:35 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6174,23 +3534,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9fbb5165-0e8f-454d-acca-b13edbdec681" + "ae3cdf9a-9f3c-4e51-8aa6-e6d670bd0de9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14839" + "14999" ], "x-ms-correlation-request-id": [ - "f5f40383-ae11-43b2-976f-9afb9d935fb0" + "2e9a95f0-4744-4b6b-af52-daaedb177550" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210142Z:f5f40383-ae11-43b2-976f-9afb9d935fb0" + "WESTUS2:20180219T221536Z:2e9a95f0-4744-4b6b-af52-daaedb177550" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6211,13 +3571,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:02:12 GMT" + "Mon, 19 Feb 2018 22:16:36 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6229,23 +3589,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "538424de-7368-49cb-adb6-1f4cf337623c" + "977da012-3eaa-4b01-b73a-e6ba45c3e9d6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14838" + "14998" ], "x-ms-correlation-request-id": [ - "639ae2dc-104c-4fc4-8ed1-ee74a208b37d" + "526fca6a-5304-4a1a-9415-91f7942a98b8" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210212Z:639ae2dc-104c-4fc4-8ed1-ee74a208b37d" + "WESTUS2:20180219T221636Z:526fca6a-5304-4a1a-9415-91f7942a98b8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6266,13 +3626,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:02:42 GMT" + "Mon, 19 Feb 2018 22:17:36 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6284,23 +3644,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "614d6480-e8b1-4047-84ba-52d109ae8135" + "471de2cf-882a-437b-8ac3-96681d0c4aad" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14837" + "14999" ], "x-ms-correlation-request-id": [ - "d29ad2a2-6934-4211-924c-fae99d5034f5" + "a2405e98-6562-4191-b48d-60e19334fac4" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210242Z:d29ad2a2-6934-4211-924c-fae99d5034f5" + "WESTUS2:20180219T221737Z:a2405e98-6562-4191-b48d-60e19334fac4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6321,13 +3681,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:03:11 GMT" + "Mon, 19 Feb 2018 22:18:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6339,23 +3699,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7a8d34be-0352-4bd7-b187-883074662f7f" + "55bd509d-80f9-40dc-8968-cbb97391b892" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14836" + "14998" ], "x-ms-correlation-request-id": [ - "bbe311a8-61e2-41d3-a7c5-f2ea7b419d13" + "8d25e33a-f7da-4343-a724-e9c8f474bf05" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210312Z:bbe311a8-61e2-41d3-a7c5-f2ea7b419d13" + "WESTUS2:20180219T221837Z:8d25e33a-f7da-4343-a724-e9c8f474bf05" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6376,13 +3736,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:03:42 GMT" + "Mon, 19 Feb 2018 22:19:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6394,23 +3754,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "376b8c1d-27b7-45a1-8c8a-82d7f5252198" + "7b1fccd3-4b89-414d-a1ca-5c744ebd0d22" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14835" + "14997" ], "x-ms-correlation-request-id": [ - "a1639b8d-389f-4ab3-8d0f-0d61b67e3bfa" + "b4c0ff9a-58fb-4d40-801b-0847e9b914dc" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210342Z:a1639b8d-389f-4ab3-8d0f-0d61b67e3bfa" + "WESTUS2:20180219T221937Z:b4c0ff9a-58fb-4d40-801b-0847e9b914dc" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6431,13 +3791,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:04:12 GMT" + "Mon, 19 Feb 2018 22:20:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6449,23 +3809,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6aa2db7a-6fed-47fc-bd43-d67eab686410" + "a051f109-ee3b-4e8a-be31-3e7af43aebbb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14833" + "14999" ], "x-ms-correlation-request-id": [ - "4735ca6b-4753-431d-85ee-72b5687346a9" + "404abcde-2a2e-4246-bf24-dbc0bc539066" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210412Z:4735ca6b-4753-431d-85ee-72b5687346a9" + "WESTUS2:20180219T222038Z:404abcde-2a2e-4246-bf24-dbc0bc539066" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6486,13 +3846,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:04:42 GMT" + "Mon, 19 Feb 2018 22:21:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -6504,23 +3864,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ffc3c9e4-5745-4e4a-9d29-f5735f783787" + "89f14ab5-4581-4aad-a1fd-c4fcd481329e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14831" + "14999" ], "x-ms-correlation-request-id": [ - "582b5338-fc33-46bb-9449-5e636c9ab295" + "a169e1f5-bd09-4a47-8d34-bf8ef0f8efbd" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210443Z:582b5338-fc33-46bb-9449-5e636c9ab295" + "WESTUS2:20180219T222138Z:a169e1f5-bd09-4a47-8d34-bf8ef0f8efbd" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298/operationresults/c2RrdGVzdGFwaW05Mjk4X1Jlc3RvcmVfMWIyYjZhZDQ%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg2NjUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mjk4L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qazRYMUpsYzNSdmNtVmZNV0l5WWpaaFpEUSUzRD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752/operationresults/c2RrdGVzdGFwaW03NTJfUmVzdG9yZV84MTgwNWFiYw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzkzNjAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW03NTIvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAzTlRKZlVtVnpkRzl5WlY4NE1UZ3dOV0ZpWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -6529,7 +3889,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8665/providers/Microsoft.ApiManagement/service/sdktestapim9298\",\r\n \"name\": \"sdktestapim9298\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatYw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T20:09:48.2009488Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9298.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9298.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9298.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9298.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.22.124\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg9360/providers/Microsoft.ApiManagement/service/sdktestapim752\",\r\n \"name\": \"sdktestapim752\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaxGo=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T21:20:56.4345226Z\",\r\n \"gatewayUrl\": \"https://sdktestapim752.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim752-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim752.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim752.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim752.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.37.48\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -6541,7 +3901,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:12 GMT" + "Mon, 19 Feb 2018 22:22:38 GMT" ], "Pragma": [ "no-cache" @@ -6559,16 +3919,16 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c16ea447-0f75-4c2a-aef9-36de3aeeb90b" + "cdc79e8d-ab93-4fbe-a9d5-998366070e3c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14835" + "14994" ], "x-ms-correlation-request-id": [ - "eebbc275-1921-4fde-a5a2-bc196a6a2d7c" + "d3fa2c9d-93ba-418c-96e1-725387075bb7" ], "x-ms-routing-request-id": [ - "WESTUS:20170802T210513Z:eebbc275-1921-4fde-a5a2-bc196a6a2d7c" + "WESTUS2:20180219T222239Z:d3fa2c9d-93ba-418c-96e1-725387075bb7" ] }, "StatusCode": 200 @@ -6576,21 +3936,20 @@ ], "Names": { "Initialize": [ - "sdktestapim9298", - "sdktestrg8665" + "sdktestapim752", + "sdktestrg9360" ], "BackupAndRestoreService": [ - "sdkapimbackup1892" + "sdkapimbackup2556" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "ServiceName": "sdktestapim9298", + "ServiceName": "sdktestapim752", "Location": "Central US", - "ResourceGroup": "sdktestrg8665" + "ResourceGroup": "sdktestrg9360" } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTest.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTests.json similarity index 54% rename from src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTest.json rename to src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTests.json index 594d4a2b9ec6..4cec1302a680 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTest.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateInVirtualNetworkTests.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "79ce337e-6bf9-480a-a73e-4d804b109bc2" + "f5c492aa-a3bc-44d4-8675-525a62a31cbb" ], "accept-language": [ "en-US" @@ -17,7 +17,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:23 GMT" + "Mon, 19 Feb 2018 17:26:24 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14993" + "14996" ], "x-ms-request-id": [ - "e6d47495-797d-4a72-89df-0799fc212cd6" + "f3333c44-6ac1-41ed-be99-acc4a6c78add" ], "x-ms-correlation-request-id": [ - "e6d47495-797d-4a72-89df-0799fc212cd6" + "f3333c44-6ac1-41ed-be99-acc4a6c78add" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210523Z:e6d47495-797d-4a72-89df-0799fc212cd6" + "WESTUS2:20180219T172624Z:f3333c44-6ac1-41ed-be99-acc4a6c78add" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,8 +56,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg1641?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzE2NDE/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg2915?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzI5MTU/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { @@ -68,7 +68,7 @@ "32" ], "x-ms-client-request-id": [ - "b14273cf-1fc8-4301-8f53-6f3c3405dbfa" + "04fb9cd5-0407-41f8-914a-8d2e8e71b4a7" ], "accept-language": [ "en-US" @@ -78,7 +78,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641\",\r\n \"name\": \"sdktestrg1641\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915\",\r\n \"name\": \"sdktestrg2915\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "182" @@ -93,7 +93,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:24 GMT" + "Mon, 19 Feb 2018 17:26:25 GMT" ], "Pragma": [ "no-cache" @@ -102,13 +102,13 @@ "1199" ], "x-ms-request-id": [ - "e06b3595-a5c5-4906-a07d-f145ef7ac633" + "b05278a8-b856-41ee-b77e-6e39420c66ab" ], "x-ms-correlation-request-id": [ - "e06b3595-a5c5-4906-a07d-f145ef7ac633" + "b05278a8-b856-41ee-b77e-6e39420c66ab" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210525Z:e06b3595-a5c5-4906-a07d-f145ef7ac633" + "WESTUS2:20180219T172625Z:b05278a8-b856-41ee-b77e-6e39420c66ab" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,10 +117,10 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDgwMjc/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910?api-version=2017-03-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDI5MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", "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 \"subnets\": [\r\n {\r\n \"properties\": {\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n },\r\n \"name\": \"apimsubnet3219\"\r\n }\r\n ]\r\n },\r\n \"location\": \"Central US\"\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"properties\": {\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n },\r\n \"name\": \"apimsubnet9238\"\r\n }\r\n ]\r\n },\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -129,7 +129,7 @@ "304" ], "x-ms-client-request-id": [ - "12d4a023-7f0c-4ea4-bef6-c36df649fb0b" + "bc6dd48b-60f0-4cea-8277-5f1b241588c2" ], "accept-language": [ "en-US" @@ -139,7 +139,7 @@ "Microsoft.Azure.Management.Network.NetworkManagementClient/10.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"apimvnet8027\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027\",\r\n \"etag\": \"W/\\\"d1fedf61-7bd2-4fc4-8e25-8a48cec53e1b\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"c82d8160-013a-48d9-a499-e2820f75ba80\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"apimsubnet3219\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"etag\": \"W/\\\"d1fedf61-7bd2-4fc4-8e25-8a48cec53e1b\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"apimvnet2910\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910\",\r\n \"etag\": \"W/\\\"def55fa0-e0bc-4019-ad53-293ce4b059ad\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"resourceGuid\": \"7be1d098-7bb5-42e1-86ef-58a3b5f21373\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"apimsubnet9238\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"etag\": \"W/\\\"def55fa0-e0bc-4019-ad53-293ce4b059ad\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Updating\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "1005" @@ -154,7 +154,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:26 GMT" + "Mon, 19 Feb 2018 17:26:27 GMT" ], "Pragma": [ "no-cache" @@ -167,10 +167,10 @@ "Microsoft-HTTPAPI/2.0" ], "x-ms-request-id": [ - "2f9d4bb6-4767-4de8-91d6-a8d6dce6a245" + "04f27eca-4a2d-48b3-bcc6-69e0ee0161ba" ], "Azure-AsyncOperation": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Network/locations/centralus/operations/2f9d4bb6-4767-4de8-91d6-a8d6dce6a245?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Network/locations/centralus/operations/04f27eca-4a2d-48b3-bcc6-69e0ee0161ba?api-version=2017-03-01" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -179,17 +179,17 @@ "1199" ], "x-ms-correlation-request-id": [ - "d93c0d8c-709e-4f71-b34d-6d4a60017554" + "ff2e3763-f00b-49e9-84ad-6baf9ab16b40" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210526Z:d93c0d8c-709e-4f71-b34d-6d4a60017554" + "WESTUS2:20180219T172627Z:ff2e3763-f00b-49e9-84ad-6baf9ab16b40" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Network/locations/centralus/operations/2f9d4bb6-4767-4de8-91d6-a8d6dce6a245?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvY2VudHJhbHVzL29wZXJhdGlvbnMvMmY5ZDRiYjYtNDc2Ny00ZGU4LTkxZDYtYThkNmRjZTZhMjQ1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.Network/locations/centralus/operations/04f27eca-4a2d-48b3-bcc6-69e0ee0161ba?api-version=2017-03-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuTmV0d29yay9sb2NhdGlvbnMvY2VudHJhbHVzL29wZXJhdGlvbnMvMDRmMjdlY2EtNGEyZC00OGIzLWJjYzYtNjllMGVlMDE2MWJhP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -210,7 +210,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:56 GMT" + "Mon, 19 Feb 2018 17:26:37 GMT" ], "Pragma": [ "no-cache" @@ -226,26 +226,26 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "b4ad8d17-4e1c-44d0-9530-535365941840" + "3dae5753-42ca-4ea6-bede-b46c026a3797" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14999" ], "x-ms-correlation-request-id": [ - "8aa53959-281e-4e90-9fcd-29ee61e1f4f8" + "eb6890fa-8057-4b59-9a47-c1bda8b183bf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210557Z:8aa53959-281e-4e90-9fcd-29ee61e1f4f8" + "WESTUS2:20180219T172637Z:eb6890fa-8057-4b59-9a47-c1bda8b183bf" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDgwMjc/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910?api-version=2017-03-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDI5MTA/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -254,7 +254,7 @@ "Microsoft.Azure.Management.Network.NetworkManagementClient/10.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"apimvnet8027\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027\",\r\n \"etag\": \"W/\\\"fe9e3079-3752-4701-85f6-0d5780ca9133\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"c82d8160-013a-48d9-a499-e2820f75ba80\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"apimsubnet3219\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"etag\": \"W/\\\"fe9e3079-3752-4701-85f6-0d5780ca9133\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"apimvnet2910\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910\",\r\n \"etag\": \"W/\\\"84b70db1-4d51-4329-99c1-c905793de849\\\"\",\r\n \"type\": \"Microsoft.Network/virtualNetworks\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"resourceGuid\": \"7be1d098-7bb5-42e1-86ef-58a3b5f21373\",\r\n \"addressSpace\": {\r\n \"addressPrefixes\": [\r\n \"10.0.0.0/16\"\r\n ]\r\n },\r\n \"subnets\": [\r\n {\r\n \"name\": \"apimsubnet9238\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"etag\": \"W/\\\"84b70db1-4d51-4329-99c1-c905793de849\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n }\r\n ],\r\n \"virtualNetworkPeerings\": []\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -266,7 +266,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:56 GMT" + "Mon, 19 Feb 2018 17:26:37 GMT" ], "Pragma": [ "no-cache" @@ -275,7 +275,7 @@ "chunked" ], "ETag": [ - "W/\"fe9e3079-3752-4701-85f6-0d5780ca9133\"" + "W/\"84b70db1-4d51-4329-99c1-c905793de849\"" ], "Server": [ "Microsoft-HTTPAPI/2.0", @@ -285,31 +285,31 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "72b86f9d-146c-471b-85b2-b55c4b83dab9" + "c0bedb42-4c79-40f8-a936-ffdba64dc159" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14998" ], "x-ms-correlation-request-id": [ - "e797f46f-cbc0-4e40-a5ee-2415924620a3" + "1136dc60-8bfe-4eb4-93ed-dd7a988f7b11" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210557Z:e797f46f-cbc0-4e40-a5ee-2415924620a3" + "WESTUS2:20180219T172637Z:1136dc60-8bfe-4eb4-93ed-dd7a988f7b11" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDgwMjcvc3VibmV0cy9hcGltc3VibmV0MzIxOT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238?api-version=2017-03-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5OZXR3b3JrL3ZpcnR1YWxOZXR3b3Jrcy9hcGltdm5ldDI5MTAvc3VibmV0cy9hcGltc3VibmV0OTIzOD9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "a622d3a8-bfca-4b21-8792-8832162da98d" + "cb6dce38-363c-4121-9157-667358a090b5" ], "accept-language": [ "en-US" @@ -319,7 +319,7 @@ "Microsoft.Azure.Management.Network.NetworkManagementClient/10.0.0.0" ] }, - "ResponseBody": "{\r\n \"name\": \"apimsubnet3219\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"etag\": \"W/\\\"fe9e3079-3752-4701-85f6-0d5780ca9133\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"name\": \"apimsubnet9238\",\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"etag\": \"W/\\\"84b70db1-4d51-4329-99c1-c905793de849\\\"\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\",\r\n \"addressPrefix\": \"10.0.1.0/24\"\r\n }\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -331,7 +331,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:05:57 GMT" + "Mon, 19 Feb 2018 17:26:37 GMT" ], "Pragma": [ "no-cache" @@ -340,7 +340,7 @@ "chunked" ], "ETag": [ - "W/\"fe9e3079-3752-4701-85f6-0d5780ca9133\"" + "W/\"84b70db1-4d51-4329-99c1-c905793de849\"" ], "Server": [ "Microsoft-HTTPAPI/2.0", @@ -350,28 +350,28 @@ "Accept-Encoding" ], "x-ms-request-id": [ - "19745840-cca6-4f0a-90b9-4d3f9fa857ea" + "9905975e-1ab8-410f-a87a-85a68263d4c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14997" ], "x-ms-correlation-request-id": [ - "24733317-c55f-43be-bd74-0ae1c3157181" + "0e171490-fe1c-4508-a369-b090ba8be0e2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210558Z:24733317-c55f-43be-bd74-0ae1c3157181" + "WESTUS2:20180219T172638Z:0e171490-fe1c-4508-a369-b090ba8be0e2" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\"\r\n },\r\n \"virtualNetworkType\": \"External\",\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\"\r\n },\r\n \"virtualNetworkType\": \"External\",\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -380,7 +380,7 @@ "565" ], "x-ms-client-request-id": [ - "c60d102e-2c1f-4f45-a1ad-fcc6f5d98e2a" + "3e330075-88a7-4300-9c73-19fe30db24ff" ], "accept-language": [ "en-US" @@ -390,10 +390,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459\",\r\n \"name\": \"sdktestapim9459\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatZE=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2017-08-02T21:06:01.0149193Z\",\r\n \"gatewayUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185\",\r\n \"name\": \"sdktestapim2185\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaurU=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T17:26:39.5781565Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "1101" + "1199" ], "Content-Type": [ "application/json; charset=utf-8" @@ -405,16 +405,16 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:06:00 GMT" + "Mon, 19 Feb 2018 17:26:39 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAACatZE=\"" + "\"AAAAAADaurU=\"" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ==?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ==?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -426,24 +426,98 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6aeb6049-4014-45a1-a366-b5db7dc9a22c", - "648367a0-71fd-44e0-98af-e79ffb2a982b" + "662852ed-6d48-493c-9b35-63724e20c995", + "5eb11b87-a56d-432b-bc48-e749fec419d4" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "04f815e8-29a1-44ae-8627-893dcaad772c" + "f1bb1682-e536-4a7a-8d9b-60bdf104e203" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210600Z:04f815e8-29a1-44ae-8627-893dcaad772c" + "WESTUS2:20180219T172640Z:f1bb1682-e536-4a7a-8d9b-60bdf104e203" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlE9PT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\"\r\n },\r\n \"virtualNetworkType\": \"Internal\",\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "565" + ], + "x-ms-client-request-id": [ + "7495a4c9-186b-472e-9a6f-d89b42939d1b" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185\",\r\n \"name\": \"sdktestapim2185\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADavLI=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"Updating\",\r\n \"createdAtUtc\": \"2018-02-19T17:26:39.5781565Z\",\r\n \"gatewayUrl\": \"https://sdktestapim2185.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim2185-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim2185.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim2185.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim2185.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.131.75\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1431" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:17:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAADavLI=\"" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg==?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "57413575-c5a4-4fac-867e-a109a69fa429", + "e392c62a-8e9d-4a43-a81d-d59456b3cfa5" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "88412448-0616-4a89-a161-ee208615dea7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T181704Z:88412448-0616-4a89-a161-ee208615dea7" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1E9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -464,13 +538,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:06:30 GMT" + "Mon, 19 Feb 2018 17:27:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -482,23 +556,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "97518156-6056-438a-99e1-ebff41868dab" + "f189f43a-34c5-4cce-9126-4f990d173a81" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" + "14999" ], "x-ms-correlation-request-id": [ - "3cbc3927-2ad8-4ee4-b457-fe8d8d277297" + "2a53dc69-df7a-4545-ab72-814cf6a78232" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210630Z:3cbc3927-2ad8-4ee4-b457-fe8d8d277297" + "WESTUS2:20180219T172738Z:2a53dc69-df7a-4545-ab72-814cf6a78232" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -519,13 +593,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:07:00 GMT" + "Mon, 19 Feb 2018 17:28:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -537,23 +611,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b93bda55-61c0-403a-9193-31c29a9b9a34" + "328c8561-4fec-4be9-be66-ad54a4e8bb5b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14999" ], "x-ms-correlation-request-id": [ - "b6fd69e2-04d0-4655-9846-af60f2b482a0" + "65aa4131-6baf-45bf-8983-0d751d3a1959" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210701Z:b6fd69e2-04d0-4655-9846-af60f2b482a0" + "WESTUS2:20180219T172841Z:65aa4131-6baf-45bf-8983-0d751d3a1959" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -574,13 +648,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:07:31 GMT" + "Mon, 19 Feb 2018 17:29:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -592,23 +666,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "728d321a-2010-4a85-ac05-24585c92627c" + "2dfc2eb4-ba46-4f10-ae69-5fd024e50354" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14998" ], "x-ms-correlation-request-id": [ - "1e31bb2b-95eb-458a-a4d9-d716b4e3a9a4" + "39020a34-04fa-419b-ab3c-bb594dffd194" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210731Z:1e31bb2b-95eb-458a-a4d9-d716b4e3a9a4" + "WESTUS2:20180219T172941Z:39020a34-04fa-419b-ab3c-bb594dffd194" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -629,13 +703,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:08:00 GMT" + "Mon, 19 Feb 2018 17:30:41 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -647,23 +721,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "04bb8073-2e9b-4069-9c4d-619121d7a01f" + "0fe6cd2a-f01c-4d69-8ebd-a319fde5421b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14997" ], "x-ms-correlation-request-id": [ - "5df654a6-4740-4a79-b266-1819b4c57ed4" + "3296fd7f-1782-45a7-9e65-91388b65e6ce" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210801Z:5df654a6-4740-4a79-b266-1819b4c57ed4" + "WESTUS2:20180219T173041Z:3296fd7f-1782-45a7-9e65-91388b65e6ce" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -684,13 +758,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:08:31 GMT" + "Mon, 19 Feb 2018 17:31:41 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -702,23 +776,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "385b92d8-3dff-4a75-98c9-71efd596aede" + "1fd082d9-ece4-4550-803c-3f109652be64" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14996" ], "x-ms-correlation-request-id": [ - "0f051341-fa2c-40fa-acad-3db183b22eb2" + "708f8427-791f-4235-89dc-bbd828ab2dab" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210831Z:0f051341-fa2c-40fa-acad-3db183b22eb2" + "WESTUS2:20180219T173142Z:708f8427-791f-4235-89dc-bbd828ab2dab" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -739,13 +813,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:09:01 GMT" + "Mon, 19 Feb 2018 17:32:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -757,23 +831,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6b36a4f4-677e-4372-92fc-c4bc75046b98" + "92099079-ecb8-47b9-9cbe-07c7bfd4980b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14998" ], "x-ms-correlation-request-id": [ - "77bfb86b-35c8-4ed0-86f0-98484abbe00a" + "e42f9c03-ca83-4445-9e27-eed2be444d1f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210902Z:77bfb86b-35c8-4ed0-86f0-98484abbe00a" + "WESTUS2:20180219T173240Z:e42f9c03-ca83-4445-9e27-eed2be444d1f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -794,13 +868,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:09:31 GMT" + "Mon, 19 Feb 2018 17:33:41 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -812,23 +886,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7a06fdd9-c157-4135-9965-efc9a03e315c" + "b86e885a-cc28-4fd2-bf92-11e8bdf8e466" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14997" ], "x-ms-correlation-request-id": [ - "2f04def8-d967-462d-82ed-f003de930489" + "d761a093-ba82-49ad-8354-3f19d228421f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T210932Z:2f04def8-d967-462d-82ed-f003de930489" + "WESTUS2:20180219T173341Z:d761a093-ba82-49ad-8354-3f19d228421f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -849,13 +923,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:10:02 GMT" + "Mon, 19 Feb 2018 17:34:42 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -867,23 +941,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c99c0d1c-fdfe-4dbc-a373-9d3ba30c8bf5" + "13277f08-0559-4708-8de3-503700294b18" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14998" ], "x-ms-correlation-request-id": [ - "6d73bbb9-b759-49ff-98f0-da39dd7c2c4c" + "937662fc-8c9a-4ad2-a8f6-6b8588a39406" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211002Z:6d73bbb9-b759-49ff-98f0-da39dd7c2c4c" + "WESTUS2:20180219T173443Z:937662fc-8c9a-4ad2-a8f6-6b8588a39406" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -904,13 +978,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:10:31 GMT" + "Mon, 19 Feb 2018 17:35:43 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -922,23 +996,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "57de9b50-f837-49cf-b2df-9098cbea97dc" + "6c7a255f-d612-4869-a114-e9d8cdcad88c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14997" ], "x-ms-correlation-request-id": [ - "01def476-914d-4244-a009-fdce32ee4262" + "600f9654-f85d-4bcd-9702-eb19baceaa74" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211032Z:01def476-914d-4244-a009-fdce32ee4262" + "WESTUS2:20180219T173543Z:600f9654-f85d-4bcd-9702-eb19baceaa74" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -959,13 +1033,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:11:02 GMT" + "Mon, 19 Feb 2018 17:36:44 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -977,23 +1051,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "20a52af9-0a7e-4b04-b277-2a6b8d43dcf8" + "fd3d8c33-cc50-4945-8f3d-b79c6fb4e353" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14998" ], "x-ms-correlation-request-id": [ - "db6bd411-9b33-45ac-9910-0b5483df03f9" + "e8c5e4a0-189d-42b1-a297-ab703966729b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211102Z:db6bd411-9b33-45ac-9910-0b5483df03f9" + "WESTUS2:20180219T173644Z:e8c5e4a0-189d-42b1-a297-ab703966729b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1014,13 +1088,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:11:35 GMT" + "Mon, 19 Feb 2018 17:37:45 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1032,23 +1106,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c6436493-f492-48d0-b622-0bd7e133d062" + "28383fe2-9fbf-46b7-8fe3-bcd1b54c11eb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14997" ], "x-ms-correlation-request-id": [ - "dd6029b8-c790-4db6-a793-da882f956c1e" + "ead697f1-053b-4db0-8588-599c82b04008" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211135Z:dd6029b8-c790-4db6-a793-da882f956c1e" + "WESTUS2:20180219T173745Z:ead697f1-053b-4db0-8588-599c82b04008" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1069,13 +1143,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:12:05 GMT" + "Mon, 19 Feb 2018 17:38:43 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1087,23 +1161,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1a2c000a-e933-4509-8641-fbda04c980b1" + "9c8403f0-c233-4185-8016-137c1e9b934f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" + "14999" ], "x-ms-correlation-request-id": [ - "88f8ff5d-1b5f-4cae-a8e6-f28be388a807" + "8b9a62a3-bdc1-4643-8231-8b9be3165aa3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211206Z:88f8ff5d-1b5f-4cae-a8e6-f28be388a807" + "WESTUS2:20180219T173843Z:8b9a62a3-bdc1-4643-8231-8b9be3165aa3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1124,13 +1198,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:12:36 GMT" + "Mon, 19 Feb 2018 17:39:45 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1142,23 +1216,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ad743ee7-516b-486f-a084-9d24b422869a" + "1db357d3-46ac-4904-ad3a-08189ba78d12" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14995" ], "x-ms-correlation-request-id": [ - "1d2da673-80df-4637-8266-2ac653b4b807" + "f9ecd0e2-afd4-4234-974e-93c1ae8e31fb" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211236Z:1d2da673-80df-4637-8266-2ac653b4b807" + "WESTUS2:20180219T173945Z:f9ecd0e2-afd4-4234-974e-93c1ae8e31fb" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1179,13 +1253,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:13:06 GMT" + "Mon, 19 Feb 2018 17:40:45 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1197,23 +1271,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0adc8c7f-1bfc-42c5-8725-1fd3046499df" + "434589bb-297b-4fd1-aab7-a7e8cedec808" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14994" ], "x-ms-correlation-request-id": [ - "c3c79a65-63a1-40c9-ac16-f6534326b57d" + "ff13e3f9-d414-493f-b778-3fbffa5870f4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211307Z:c3c79a65-63a1-40c9-ac16-f6534326b57d" + "WESTUS2:20180219T174046Z:ff13e3f9-d414-493f-b778-3fbffa5870f4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1234,13 +1308,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:13:36 GMT" + "Mon, 19 Feb 2018 17:41:45 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1252,23 +1326,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1c397814-77de-43c2-96bb-323082ffc63f" + "a1edb016-f3ec-45b3-8394-ec3de85123ad" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14993" ], "x-ms-correlation-request-id": [ - "06b5f14a-e555-411e-8bcf-d2659c906326" + "ac2cbc27-fc98-4b87-8329-b942cb79ad32" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211337Z:06b5f14a-e555-411e-8bcf-d2659c906326" + "WESTUS2:20180219T174146Z:ac2cbc27-fc98-4b87-8329-b942cb79ad32" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1289,13 +1363,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:14:06 GMT" + "Mon, 19 Feb 2018 17:42:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1307,23 +1381,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3a5f47d6-5b32-42bf-a166-80fd56ed983b" + "c78cf9e6-85e6-4660-b935-93d29bed5867" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14999" ], "x-ms-correlation-request-id": [ - "f4ca96cc-81ae-4b00-a11f-0ae41c9aa4da" + "3835121a-8a66-4e05-84b5-07c4bd06aed9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211407Z:f4ca96cc-81ae-4b00-a11f-0ae41c9aa4da" + "WESTUS2:20180219T174246Z:3835121a-8a66-4e05-84b5-07c4bd06aed9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1344,13 +1418,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:14:37 GMT" + "Mon, 19 Feb 2018 17:43:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1362,23 +1436,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c04f02a2-78b8-485c-97d0-ab48e0b73a08" + "b3cd5479-0b0d-4f7a-b900-5f63c773f6d8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14999" ], "x-ms-correlation-request-id": [ - "955d3541-78ec-4ff5-a457-dc0f92a0369a" + "604c6fe9-dbe8-4f7d-a45f-f3209e670506" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211437Z:955d3541-78ec-4ff5-a457-dc0f92a0369a" + "WESTUS2:20180219T174346Z:604c6fe9-dbe8-4f7d-a45f-f3209e670506" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1399,13 +1473,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:15:07 GMT" + "Mon, 19 Feb 2018 17:44:45 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1417,23 +1491,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d847f51b-685f-47ab-b28a-d880f6268828" + "7a456b8c-2abf-489e-879d-30cebea53754" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14999" ], "x-ms-correlation-request-id": [ - "e9f6485a-c36c-4eaa-a63d-09e7dbb67a6f" + "2ff00ad5-e0ae-41c4-90f2-b50a9d92f188" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211507Z:e9f6485a-c36c-4eaa-a63d-09e7dbb67a6f" + "WESTUS2:20180219T174445Z:2ff00ad5-e0ae-41c4-90f2-b50a9d92f188" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1454,13 +1528,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:15:37 GMT" + "Mon, 19 Feb 2018 17:45:47 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1472,23 +1546,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e7e65a96-549f-4d6a-bf5e-b1f0d7321327" + "65ba8c9e-8a9f-49d1-9f75-96c73540e1bf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14999" ], "x-ms-correlation-request-id": [ - "ff0ccb7a-979f-400b-bd42-774b113f6b04" + "1d5b3e73-3429-481b-98f2-145d5838e86a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211537Z:ff0ccb7a-979f-400b-bd42-774b113f6b04" + "WESTUS2:20180219T174547Z:1d5b3e73-3429-481b-98f2-145d5838e86a" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1509,13 +1583,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:16:08 GMT" + "Mon, 19 Feb 2018 17:46:48 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1527,23 +1601,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "27686ef7-b91e-4490-b8d9-e847bc8e38d8" + "bf096bde-bf30-4ece-925b-c5b835b61dc0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14998" ], "x-ms-correlation-request-id": [ - "0024453a-2328-4626-b8fc-e8499fbbf30c" + "b89f40e0-aac6-4811-910e-b4fbd51abbdf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211608Z:0024453a-2328-4626-b8fc-e8499fbbf30c" + "WESTUS2:20180219T174648Z:b89f40e0-aac6-4811-910e-b4fbd51abbdf" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1564,13 +1638,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:16:38 GMT" + "Mon, 19 Feb 2018 17:47:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1582,23 +1656,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "03346a9f-c484-4d6a-b974-8799a54f550e" + "f395892d-1cc4-43e5-9d28-f2d37afb2986" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14997" ], "x-ms-correlation-request-id": [ - "10e5acec-b5d5-4dd6-95cc-fef553c3acd0" + "48337356-bb35-4dca-8576-891a2f5f782f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211639Z:10e5acec-b5d5-4dd6-95cc-fef553c3acd0" + "WESTUS2:20180219T174749Z:48337356-bb35-4dca-8576-891a2f5f782f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1619,13 +1693,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:17:09 GMT" + "Mon, 19 Feb 2018 17:48:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1637,23 +1711,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9504838b-4d9a-4e19-a72b-8e08616f551b" + "dd8e7b9d-dac9-46f1-a3f1-9d27cc8bc14c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14997" ], "x-ms-correlation-request-id": [ - "fc575d8d-2606-4fe0-8dfe-85780cf98354" + "fe235f36-c220-44e7-a693-44735ec7c0e8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211709Z:fc575d8d-2606-4fe0-8dfe-85780cf98354" + "WESTUS2:20180219T174850Z:fe235f36-c220-44e7-a693-44735ec7c0e8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1674,13 +1748,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:17:38 GMT" + "Mon, 19 Feb 2018 17:49:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1692,23 +1766,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7bc0df05-5631-4d19-8fa0-1197392c14e6" + "efb3822b-1b48-4d13-ac4c-2864708b8e24" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14996" ], "x-ms-correlation-request-id": [ - "c6835aab-2c12-4e3a-a637-f5c930b04a7f" + "91f2326c-98c5-41d0-80e2-fba88e162f3a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211739Z:c6835aab-2c12-4e3a-a637-f5c930b04a7f" + "WESTUS2:20180219T174950Z:91f2326c-98c5-41d0-80e2-fba88e162f3a" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1729,13 +1803,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:18:08 GMT" + "Mon, 19 Feb 2018 17:50:49 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1747,23 +1821,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bd80a9e4-b9cd-4797-b391-9f950966aee7" + "b06ff25d-7d05-4b3e-b870-5f1f59c23ca2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14999" ], "x-ms-correlation-request-id": [ - "c8730e39-7e90-4094-abd6-b5afdc0cf8ca" + "8d082dca-88fd-49b0-bb2d-fc467721d564" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211809Z:c8730e39-7e90-4094-abd6-b5afdc0cf8ca" + "WESTUS2:20180219T175050Z:8d082dca-88fd-49b0-bb2d-fc467721d564" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1784,13 +1858,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:18:39 GMT" + "Mon, 19 Feb 2018 17:51:50 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1802,23 +1876,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "aafc1c16-b864-490f-bba6-b67f05a70754" + "08a4eae3-3a7a-46aa-9bb2-0624c3f84f50" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14998" ], "x-ms-correlation-request-id": [ - "c05c6ad5-e766-46fc-99c4-77c63c14b98a" + "7f9b29c2-8c15-4094-938e-c95baf252ea9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211839Z:c05c6ad5-e766-46fc-99c4-77c63c14b98a" + "WESTUS2:20180219T175150Z:7f9b29c2-8c15-4094-938e-c95baf252ea9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1839,13 +1913,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:19:09 GMT" + "Mon, 19 Feb 2018 17:52:50 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1857,23 +1931,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3e916b5f-b8ce-4e37-a738-2f780daa5c7d" + "024f82f1-c2b1-4499-8639-dfd9fdacc1ef" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14997" ], "x-ms-correlation-request-id": [ - "4c904fdb-fd1f-4a0b-9a33-43a4497dd279" + "b8147053-97a6-4f74-a6d9-a6d5072a0ad9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211909Z:4c904fdb-fd1f-4a0b-9a33-43a4497dd279" + "WESTUS2:20180219T175251Z:b8147053-97a6-4f74-a6d9-a6d5072a0ad9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1894,13 +1968,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:19:39 GMT" + "Mon, 19 Feb 2018 17:53:52 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1912,23 +1986,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8d62bb16-d99d-445a-a767-450260ddfbf4" + "8d8500b8-9724-46c8-aa2d-eff75e03649c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "14996" ], "x-ms-correlation-request-id": [ - "e97f301e-e3de-4c80-87bc-dfe72bcaae82" + "b1e31b01-2b4f-4c16-8d04-0649f7c06809" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T211940Z:e97f301e-e3de-4c80-87bc-dfe72bcaae82" + "WESTUS2:20180219T175352Z:b1e31b01-2b4f-4c16-8d04-0649f7c06809" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1949,13 +2023,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:20:09 GMT" + "Mon, 19 Feb 2018 17:54:52 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1967,23 +2041,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4b1057a4-4760-4472-acf6-1387c31fe36d" + "3311802c-42c4-4e8c-a361-925ef9d52e15" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "14995" ], "x-ms-correlation-request-id": [ - "f47468fd-6fbc-4a37-b901-e65f0bf12683" + "a94635c4-0105-486c-8bc9-40c4cf44a271" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212010Z:f47468fd-6fbc-4a37-b901-e65f0bf12683" + "WESTUS2:20180219T175453Z:a94635c4-0105-486c-8bc9-40c4cf44a271" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2004,13 +2078,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:20:40 GMT" + "Mon, 19 Feb 2018 17:55:52 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2022,23 +2096,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3f7de7e7-db84-48e7-b111-91d49dc6c310" + "6a999dfc-ba03-4c7e-bbae-0170fe872f86" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "14994" ], "x-ms-correlation-request-id": [ - "88d519e6-618c-4835-b3eb-7a07d21cc0ea" + "45019bf7-3f39-48ec-971b-d5fda952b7a2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212040Z:88d519e6-618c-4835-b3eb-7a07d21cc0ea" + "WESTUS2:20180219T175553Z:45019bf7-3f39-48ec-971b-d5fda952b7a2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2059,13 +2133,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:21:10 GMT" + "Mon, 19 Feb 2018 17:56:53 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2077,23 +2151,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "be3dd86c-0268-43ea-a883-4e090a27d4ce" + "b8daaa76-a1e8-4997-b296-d83efe06d612" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" + "14997" ], "x-ms-correlation-request-id": [ - "2f3a2c53-7adc-4648-a904-d3e85beb51ef" + "dd409096-2844-479f-a847-6ab34c7419b8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212110Z:2f3a2c53-7adc-4648-a904-d3e85beb51ef" + "WESTUS2:20180219T175653Z:dd409096-2844-479f-a847-6ab34c7419b8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2114,13 +2188,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:21:40 GMT" + "Mon, 19 Feb 2018 17:57:53 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2132,23 +2206,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "49b4c1bf-20b8-4364-b768-348591de00a0" + "8cbd7157-af1d-454e-91df-fb29325dedcf" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" + "14996" ], "x-ms-correlation-request-id": [ - "a1bb9757-f1bc-4480-a130-2719d3dba393" + "28733c2d-c8b3-4060-938b-fa8cd4f5373b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212140Z:a1bb9757-f1bc-4480-a130-2719d3dba393" + "WESTUS2:20180219T175754Z:28733c2d-c8b3-4060-938b-fa8cd4f5373b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2169,13 +2243,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:22:11 GMT" + "Mon, 19 Feb 2018 17:58:53 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2187,23 +2261,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b426b530-7d95-4f1a-be0f-2d44562c79eb" + "1ad1b41a-8edc-47ee-8c40-e4cf01cde3b0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "14999" ], "x-ms-correlation-request-id": [ - "53dd851c-e2df-4490-815f-3dd49e68a0ce" + "c1040c5e-00ed-4a99-af38-cf78730c1b3f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212212Z:53dd851c-e2df-4490-815f-3dd49e68a0ce" + "WESTUS2:20180219T175854Z:c1040c5e-00ed-4a99-af38-cf78730c1b3f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2224,13 +2298,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:22:42 GMT" + "Mon, 19 Feb 2018 17:59:54 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2242,23 +2316,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b3217cb8-f70f-40b1-84fa-a8caae4b86a7" + "b841068b-f532-4dd9-b58d-a91ca969b0cd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "14998" ], "x-ms-correlation-request-id": [ - "8dafc77c-5381-4b48-bdba-727aac400886" + "c4f97ba4-9815-4c6e-9fca-a7cde68fd609" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212242Z:8dafc77c-5381-4b48-bdba-727aac400886" + "WESTUS2:20180219T175955Z:c4f97ba4-9815-4c6e-9fca-a7cde68fd609" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2279,13 +2353,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:23:11 GMT" + "Mon, 19 Feb 2018 18:00:55 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2297,23 +2371,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "25689880-b3c8-4e7d-a12e-841f76983880" + "d4b92aed-b502-49d5-8b33-c84a38707e41" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "14997" ], "x-ms-correlation-request-id": [ - "246b1480-9c24-48d9-ad9b-d514211f7cb8" + "147ce79c-2280-4a56-a92d-dcf30edac526" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212312Z:246b1480-9c24-48d9-ad9b-d514211f7cb8" + "WESTUS2:20180219T180055Z:147ce79c-2280-4a56-a92d-dcf30edac526" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2334,13 +2408,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:23:42 GMT" + "Mon, 19 Feb 2018 18:01:55 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2352,23 +2426,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "31e2aada-f620-489b-b2b9-a802282dce3b" + "9429d45f-8c45-461a-ade3-c27657ce33f7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" + "14996" ], "x-ms-correlation-request-id": [ - "bc899c5d-b792-449a-82ec-b56799a79dca" + "a92ba7d8-6a1a-41bb-b7b6-e2224b633234" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212342Z:bc899c5d-b792-449a-82ec-b56799a79dca" + "WESTUS2:20180219T180156Z:a92ba7d8-6a1a-41bb-b7b6-e2224b633234" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2389,13 +2463,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:24:12 GMT" + "Mon, 19 Feb 2018 18:02:55 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2407,23 +2481,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b696aa28-eaf8-4a02-8486-01fb62029cef" + "ccafeb86-3967-40fa-9135-0228390bff6c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "14995" ], "x-ms-correlation-request-id": [ - "b4dc3b8d-8c0c-4d37-ad24-ced26e782a07" + "1fae94cd-5571-4ccf-8d26-fbaad6c59966" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212412Z:b4dc3b8d-8c0c-4d37-ad24-ced26e782a07" + "WESTUS2:20180219T180256Z:1fae94cd-5571-4ccf-8d26-fbaad6c59966" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2444,13 +2518,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:24:42 GMT" + "Mon, 19 Feb 2018 18:03:56 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2462,23 +2536,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6ab45855-5c49-4ccf-bbda-38d540088ba3" + "f6333bf1-e2de-4069-b7d7-d05ad28396d9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "14999" ], "x-ms-correlation-request-id": [ - "bfb8d2ba-e07e-48ad-8b6e-8e9447f7823d" + "6197663e-22db-4aee-9ee6-ead4a42ce85d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212443Z:bfb8d2ba-e07e-48ad-8b6e-8e9447f7823d" + "WESTUS2:20180219T180356Z:6197663e-22db-4aee-9ee6-ead4a42ce85d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2499,13 +2573,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:25:12 GMT" + "Mon, 19 Feb 2018 18:04:56 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2517,23 +2591,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1151b9e6-1938-4e21-97d0-a9ecd04aaa3b" + "20b20c21-4198-462f-9cb1-dad52e0f143a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" + "14998" ], "x-ms-correlation-request-id": [ - "f8dff8ad-4cd7-444c-9305-84577cc55ccb" + "3c702d44-bb61-4a00-8a3b-9d05f4fdea20" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212513Z:f8dff8ad-4cd7-444c-9305-84577cc55ccb" + "WESTUS2:20180219T180457Z:3c702d44-bb61-4a00-8a3b-9d05f4fdea20" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X0FjdF9lMTE5Yzk2OQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMEZqZEY5bE1URTVZemsyT1ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2542,6 +2616,73 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185\",\r\n \"name\": \"sdktestapim2185\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADavH4=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T17:26:39.5781565Z\",\r\n \"gatewayUrl\": \"https://sdktestapim2185.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim2185-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim2185.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim2185.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim2185.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.131.75\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:05:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2425dafd-09f9-4107-8545-9fd9b7737d62" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "b8170bbf-3f0a-4366-a964-8742b6460e8b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T180557Z:b8170bbf-3f0a-4366-a964-8742b6460e8b" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/applynetworkconfigurationupdates?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L2FwcGx5bmV0d29ya2NvbmZpZ3VyYXRpb251cGRhdGVzP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "32" + ], + "x-ms-client-request-id": [ + "18765891-cc52-48a5-a731-826d7db97b28" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, "ResponseBody": "", "ResponseHeaders": { "Content-Length": [ @@ -2554,13 +2695,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:25:43 GMT" + "Mon, 19 Feb 2018 18:05:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185//operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA=?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2572,23 +2713,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c72a5566-9b61-4134-b4be-ff30a2ecc767" + "16f68f94-e2b3-488f-ba87-6547d510be33" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "887826df-05f3-4fca-8af2-78adb034bbca" + "42da6276-f1d0-4876-891a-f88512495759" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212544Z:887826df-05f3-4fca-8af2-78adb034bbca" + "WESTUS2:20180219T180558Z:42da6276-f1d0-4876-891a-f88512495759" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185//operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA=?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1Ly9vcGVyYXRpb25yZXN1bHRzL2MyUnJkR1Z6ZEdGd2FXMHlNVGcxWDAxaGJtRm5aVkp2YkdWZk9UZzJNVE5qT1RBPT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2609,13 +2750,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:26:13 GMT" + "Mon, 19 Feb 2018 18:06:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2627,23 +2768,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "320ce85f-aa96-41a8-b1bb-318a42ebac7e" + "c5300d05-50fb-401e-8252-db2c827314a7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" + "14999" ], "x-ms-correlation-request-id": [ - "19d7a777-974a-44fe-9391-19afac71b5f1" + "3e120266-5f80-4ee8-afc6-153f4243c5e1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212614Z:19d7a777-974a-44fe-9391-19afac71b5f1" + "WESTUS2:20180219T180658Z:3e120266-5f80-4ee8-afc6-153f4243c5e1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2664,13 +2805,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:26:44 GMT" + "Mon, 19 Feb 2018 18:07:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2682,23 +2823,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2457ddd1-d124-4bb3-ad7f-00ef636800f8" + "831bb5ef-c483-4292-8001-cf40fef234fd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "14997" ], "x-ms-correlation-request-id": [ - "8c04a7d0-e777-4248-9d92-1e298288ffd3" + "7907e0fb-5a16-4438-80c2-d6ec2d378486" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212644Z:8c04a7d0-e777-4248-9d92-1e298288ffd3" + "WESTUS2:20180219T180759Z:7907e0fb-5a16-4438-80c2-d6ec2d378486" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2719,13 +2860,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:27:14 GMT" + "Mon, 19 Feb 2018 18:08:58 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2737,23 +2878,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a2276ae4-a9e1-4a20-b462-7ec4dbe9b131" + "9cfe0b5b-4288-498b-8541-5c01c64b780b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "14996" ], "x-ms-correlation-request-id": [ - "3349be86-2668-4d58-8775-ad00a7ad6df0" + "d8762880-7a45-4848-92a6-6a806f0f96a8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212714Z:3349be86-2668-4d58-8775-ad00a7ad6df0" + "WESTUS2:20180219T180859Z:d8762880-7a45-4848-92a6-6a806f0f96a8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2774,13 +2915,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:27:44 GMT" + "Mon, 19 Feb 2018 18:09:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2792,23 +2933,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1afe80a3-fdf2-4cd4-9223-8d502a010a39" + "7b131da1-57d2-445a-975c-280468f3e59f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "14995" ], "x-ms-correlation-request-id": [ - "6d1b9406-75fd-416a-89a0-b73a1d2b6b1a" + "56224570-dbfd-49eb-b2d1-90709551338a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212745Z:6d1b9406-75fd-416a-89a0-b73a1d2b6b1a" + "WESTUS2:20180219T180959Z:56224570-dbfd-49eb-b2d1-90709551338a" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2829,13 +2970,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:28:15 GMT" + "Mon, 19 Feb 2018 18:10:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2847,23 +2988,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "db29b997-9012-44b3-8e88-ebbcde0d0d49" + "f4f14a7a-8b5e-43d8-8174-9e46e284790e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "14994" ], "x-ms-correlation-request-id": [ - "bcc5522b-cb59-493d-90ef-982c45e57f46" + "3942cf53-8648-46da-bfc2-ca2ac27aef59" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212815Z:bcc5522b-cb59-493d-90ef-982c45e57f46" + "WESTUS2:20180219T181059Z:3942cf53-8648-46da-bfc2-ca2ac27aef59" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2884,13 +3025,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:28:45 GMT" + "Mon, 19 Feb 2018 18:11:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2902,23 +3043,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "782c4ebe-c4e7-4d23-bd2c-17fc156038d9" + "00ec8628-c805-4a84-ab75-bf9d6a741d18" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "14993" ], "x-ms-correlation-request-id": [ - "e7b97ad1-1fe6-457f-9027-a963371f3e63" + "7ebbc1bc-e6da-4a8e-9e37-94679851abc3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212846Z:e7b97ad1-1fe6-457f-9027-a963371f3e63" + "WESTUS2:20180219T181159Z:7ebbc1bc-e6da-4a8e-9e37-94679851abc3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2939,13 +3080,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:29:15 GMT" + "Mon, 19 Feb 2018 18:12:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2957,23 +3098,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1ea29450-37cf-4d4d-b3fd-eb1257e0e4ed" + "5a4afead-565e-4294-a0e9-01f8aa5ce4f7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14992" ], "x-ms-correlation-request-id": [ - "9985d728-4988-4db1-8fef-2b7d54566294" + "ffe76dfa-588e-4134-876f-56f64d52e355" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212916Z:9985d728-4988-4db1-8fef-2b7d54566294" + "WESTUS2:20180219T181259Z:ffe76dfa-588e-4134-876f-56f64d52e355" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2994,13 +3135,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:29:45 GMT" + "Mon, 19 Feb 2018 18:13:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3012,23 +3153,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c99dbb85-554f-48dd-a9dd-841327e1dcd6" + "e0200a70-ba57-4aa1-9c13-c0ab0402cc48" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "14991" ], "x-ms-correlation-request-id": [ - "58efb5cc-5216-4ffe-9348-b69bee5f6a9c" + "f7dd27aa-fa71-4385-8d58-98b0c23c4399" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T212946Z:58efb5cc-5216-4ffe-9348-b69bee5f6a9c" + "WESTUS2:20180219T181400Z:f7dd27aa-fa71-4385-8d58-98b0c23c4399" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3049,13 +3190,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:30:15 GMT" + "Mon, 19 Feb 2018 18:14:59 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3067,23 +3208,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ca547feb-66d5-41b2-8d42-18d9d8d4cc24" + "33f0e5ee-8449-4e08-847e-12bb3723e5dd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14999" ], "x-ms-correlation-request-id": [ - "192d04f9-7e1e-4227-9def-ab4fe1a6891c" + "b51531b6-938a-4f75-aab9-1d670b4832b9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213016Z:192d04f9-7e1e-4227-9def-ab4fe1a6891c" + "WESTUS2:20180219T181500Z:b51531b6-938a-4f75-aab9-1d670b4832b9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3104,13 +3245,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:30:46 GMT" + "Mon, 19 Feb 2018 18:16:00 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3122,23 +3263,200 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fd8da234-11e1-47c4-90bc-6037a2e750e6" + "d53a4957-fc99-46b2-b192-35912445b653" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14999" ], "x-ms-correlation-request-id": [ - "175a90c8-7e55-4cb4-b311-b8427452b1c3" + "bb7651af-f20a-4764-a736-f2f49845be37" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213046Z:175a90c8-7e55-4cb4-b311-b8427452b1c3" + "WESTUS2:20180219T181601Z:bb7651af-f20a-4764-a736-f2f49845be37" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X01hbmFnZVJvbGVfOTg2MTNjOTA%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMDFoYm1GblpWSnZiR1ZmT1RnMk1UTmpPVEElM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185\",\r\n \"name\": \"sdktestapim2185\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADavIs=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T17:26:39.5781565Z\",\r\n \"gatewayUrl\": \"https://sdktestapim2185.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim2185-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim2185.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim2185.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim2185.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.131.75\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:17:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "75f690d8-f1fb-47fb-96c4-348486fa2721" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "78a0eb98-3a2e-42c2-949c-4166bbddf99c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T181701Z:78a0eb98-3a2e-42c2-949c-4166bbddf99c" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/networkstatus?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L25ldHdvcmtzdGF0dXM/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b54da4e7-a89e-40df-a0ee-92f1c431d41e" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "[\r\n {\r\n \"location\": \"Central US\",\r\n \"networkStatus\": {\r\n \"dnsServers\": [\r\n \"10.0.1.2\",\r\n \"10.0.1.3\"\r\n ],\r\n \"connectivityStatus\": [\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.blob.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:06.6703728Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1008569Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.file.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:06.5951599Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.6642471Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.queue.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:05.6081751Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1170163Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.table.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:07.0295079Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1951692Z\"\r\n },\r\n {\r\n \"name\": \"Scm\",\r\n \"status\": \"failure\",\r\n \"error\": \"An error occurred while sending the request.\",\r\n \"lastUpdated\": \"2018-02-19T18:09:08.2505753Z\",\r\n \"lastStatusChange\": \"2018-02-19T18:09:08.2505753Z\"\r\n },\r\n {\r\n \"name\": \"uun8gpuqro.database.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:05.4045394Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:58.5878198Z\"\r\n }\r\n ]\r\n }\r\n }\r\n]", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:17:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7f16ae1b-14a2-4cc5-8ab6-672e15572444" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "18b11e72-4985-42b9-b515-f9f9f10ddf56" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T181702Z:18b11e72-4985-42b9-b515-f9f9f10ddf56" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/locations/Central%20US/networkstatus?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L2xvY2F0aW9ucy9DZW50cmFsJTIwVVMvbmV0d29ya3N0YXR1cz9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "0102a523-9902-4ac1-9f77-f1a23f53102d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"dnsServers\": [\r\n \"10.0.1.2\",\r\n \"10.0.1.3\"\r\n ],\r\n \"connectivityStatus\": [\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.blob.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:06.6703728Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1008569Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.file.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:06.5951599Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.6642471Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.queue.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:05.6081751Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1170163Z\"\r\n },\r\n {\r\n \"name\": \"apimgmtstvkczhzrxiievatr.table.core.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:07.0295079Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:59.1951692Z\"\r\n },\r\n {\r\n \"name\": \"Scm\",\r\n \"status\": \"failure\",\r\n \"error\": \"An error occurred while sending the request.\",\r\n \"lastUpdated\": \"2018-02-19T18:09:08.2505753Z\",\r\n \"lastStatusChange\": \"2018-02-19T18:09:08.2505753Z\"\r\n },\r\n {\r\n \"name\": \"uun8gpuqro.database.windows.net\",\r\n \"status\": \"success\",\r\n \"error\": \"\",\r\n \"lastUpdated\": \"2018-02-19T18:09:05.4045394Z\",\r\n \"lastStatusChange\": \"2018-02-19T17:53:58.5878198Z\"\r\n }\r\n ]\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:17:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8018e2b0-c0df-49ee-b1a6-688213cb7995" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "c1af3f27-9241-432c-8676-c351ec1539b2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T181702Z:c1af3f27-9241-432c-8676-c351ec1539b2" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nPT0/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3159,13 +3477,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:31:16 GMT" + "Mon, 19 Feb 2018 18:18:04 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3177,23 +3495,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3a00180b-fd0e-4b5f-bb72-d0e8ca10c259" + "97939ced-be1c-4b95-b791-9e6ead692b3f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14997" ], "x-ms-correlation-request-id": [ - "8c905616-35d4-40f2-b77f-b3060a8a64c3" + "da8a65f4-a967-43ec-a73f-0cceabe4bb15" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213116Z:8c905616-35d4-40f2-b77f-b3060a8a64c3" + "WESTUS2:20180219T181805Z:da8a65f4-a967-43ec-a73f-0cceabe4bb15" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3214,13 +3532,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:31:47 GMT" + "Mon, 19 Feb 2018 18:19:04 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3232,23 +3550,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a74b6900-ff23-49e7-918c-e92ceb81928b" + "77720a24-abda-46ae-879b-11bc821a8ff0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14999" ], "x-ms-correlation-request-id": [ - "d6fbe769-84a1-44bf-9fbf-1fc52c5725d2" + "7555eaa7-bbeb-45ac-8da9-9044c4ba258f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213148Z:d6fbe769-84a1-44bf-9fbf-1fc52c5725d2" + "WESTUS2:20180219T181905Z:7555eaa7-bbeb-45ac-8da9-9044c4ba258f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3269,13 +3587,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:32:17 GMT" + "Mon, 19 Feb 2018 18:20:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3287,23 +3605,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "639863cc-1c5c-4290-9307-cec596d25f3a" + "3fb57cdf-1eee-4ae3-ac21-2f335bd4eb7d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "14998" ], "x-ms-correlation-request-id": [ - "08562920-ff0c-4209-b026-4094cd671cc1" + "fb74506d-6250-4bf2-9377-e6bca212b1b9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213218Z:08562920-ff0c-4209-b026-4094cd671cc1" + "WESTUS2:20180219T182006Z:fb74506d-6250-4bf2-9377-e6bca212b1b9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3324,13 +3642,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:32:47 GMT" + "Mon, 19 Feb 2018 18:21:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3342,23 +3660,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2e27e7c8-9ac2-45cc-8f05-4d6acad8d535" + "974a9e87-0547-464c-a3c6-7c34ae831447" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14997" ], "x-ms-correlation-request-id": [ - "f21c8a6d-1cb5-4552-b25c-7b26095bf37f" + "0b870758-d722-40ba-9ead-b1629d984c24" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213248Z:f21c8a6d-1cb5-4552-b25c-7b26095bf37f" + "WESTUS2:20180219T182106Z:0b870758-d722-40ba-9ead-b1629d984c24" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3379,13 +3697,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:33:18 GMT" + "Mon, 19 Feb 2018 18:22:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3397,23 +3715,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ba19c16f-1286-41a4-b7f9-cfec5556e6ff" + "237a4df8-55c4-4d84-afc3-df0bac12db30" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "14996" ], "x-ms-correlation-request-id": [ - "1dd6faf5-5a43-45e4-9203-ea3a7d796c83" + "4006f5ab-1daa-455c-b1ea-b7d10c0645a6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213318Z:1dd6faf5-5a43-45e4-9203-ea3a7d796c83" + "WESTUS2:20180219T182206Z:4006f5ab-1daa-455c-b1ea-b7d10c0645a6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3434,13 +3752,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:33:48 GMT" + "Mon, 19 Feb 2018 18:23:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3452,23 +3770,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e8a2ef96-6dff-4018-ab7b-6298ee6a3f6e" + "e015824d-667d-4dd4-bcfe-8f511694de27" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "14996" ], "x-ms-correlation-request-id": [ - "1e532a60-fccf-4f07-a588-4909c326179a" + "eb0f0a64-2468-40bf-829f-361cd2615613" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213348Z:1e532a60-fccf-4f07-a588-4909c326179a" + "WESTUS2:20180219T182306Z:eb0f0a64-2468-40bf-829f-361cd2615613" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3489,13 +3807,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:34:17 GMT" + "Mon, 19 Feb 2018 18:24:05 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3507,23 +3825,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4ef9a804-9716-4a09-a915-775befacc532" + "ca871291-cfa9-4af8-81cc-0fc43bb2149e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "14995" ], "x-ms-correlation-request-id": [ - "acb98f83-2ba1-43a9-aef6-53cac7070b92" + "a7b2c449-cde7-436f-8a6c-077caa1fc550" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213418Z:acb98f83-2ba1-43a9-aef6-53cac7070b92" + "WESTUS2:20180219T182406Z:a7b2c449-cde7-436f-8a6c-077caa1fc550" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3544,13 +3862,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:34:48 GMT" + "Mon, 19 Feb 2018 18:25:07 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3562,23 +3880,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "075a0cd9-ed70-41b4-9789-2bc07fb52c49" + "4c7b5a82-b87a-455e-84f7-0a2e58a38339" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "14994" ], "x-ms-correlation-request-id": [ - "a0ee6dd5-afd0-47e7-b618-372a9820e33b" + "5964696b-1d8c-4b56-bbad-a17d9440e693" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213449Z:a0ee6dd5-afd0-47e7-b618-372a9820e33b" + "WESTUS2:20180219T182507Z:5964696b-1d8c-4b56-bbad-a17d9440e693" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3599,13 +3917,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:35:19 GMT" + "Mon, 19 Feb 2018 18:26:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3617,23 +3935,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "05f8d0ed-17c5-4590-ac11-5d9870941466" + "62422eef-ae20-4f02-b800-e5560d91c3db" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" + "14993" ], "x-ms-correlation-request-id": [ - "bc166970-7128-4f10-bd8e-1d6a2ce7ac6a" + "3bdf9044-204c-409d-bc37-7fa7ad9f5cec" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213519Z:bc166970-7128-4f10-bd8e-1d6a2ce7ac6a" + "WESTUS2:20180219T182607Z:3bdf9044-204c-409d-bc37-7fa7ad9f5cec" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3654,13 +3972,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:35:48 GMT" + "Mon, 19 Feb 2018 18:27:07 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3672,23 +3990,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "30f8e1d1-186e-4b28-88b2-019c541f7977" + "b582696d-309e-49fb-8606-ec2dd92dc1ae" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "14999" ], "x-ms-correlation-request-id": [ - "a9748f34-3543-45c0-b1f2-9f8e802ca9b1" + "e164e4f8-f2ed-4ccd-b35f-4cb26e3a9680" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213549Z:a9748f34-3543-45c0-b1f2-9f8e802ca9b1" + "WESTUS2:20180219T182707Z:e164e4f8-f2ed-4ccd-b35f-4cb26e3a9680" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3709,13 +4027,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:36:18 GMT" + "Mon, 19 Feb 2018 18:28:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3727,23 +4045,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b67b8c31-8ba5-42de-8c95-310d2c2fd1e6" + "3a5245a6-9ae8-4fc4-84cd-e4462e547770" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "14995" ], "x-ms-correlation-request-id": [ - "365f826d-5e58-4bca-81aa-727221c3b497" + "ed6f1c67-0f5f-40e2-8fee-a3103f477ef2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213619Z:365f826d-5e58-4bca-81aa-727221c3b497" + "WESTUS2:20180219T182807Z:ed6f1c67-0f5f-40e2-8fee-a3103f477ef2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3764,13 +4082,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:36:49 GMT" + "Mon, 19 Feb 2018 18:29:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3782,23 +4100,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c3da23b1-3885-4e27-a70d-86c0ce8975dc" + "0e16e29a-e5fc-480b-bd5d-cc95f641f53c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" + "14999" ], "x-ms-correlation-request-id": [ - "f983ec07-315e-48a2-ae77-097bc6032d7f" + "59300f60-177f-4555-aba4-bb224d96a840" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213649Z:f983ec07-315e-48a2-ae77-097bc6032d7f" + "WESTUS2:20180219T182908Z:59300f60-177f-4555-aba4-bb224d96a840" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X0FjdF83YzBkNWRlZQ%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMEZqZEY4M1l6QmtOV1JsWlElM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3807,10 +4125,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459\",\r\n \"name\": \"sdktestapim9459\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatpg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T21:06:01.0149193Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9459.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9459.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9459.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9459.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"40.69.173.150\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "", "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" + "Content-Length": [ + "0" ], "Expires": [ "-1" @@ -3819,56 +4137,99 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:37:19 GMT" + "Mon, 19 Feb 2018 18:30:08 GMT" ], "Pragma": [ "no-cache" ], - "Transfer-Encoding": [ - "chunked" + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Vary": [ - "Accept-Encoding" - ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5f091d8c-636e-409a-8aef-e103f897658c" + "41620fdb-dd74-4be3-b9d6-eba426845b24" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "14999" ], "x-ms-correlation-request-id": [ - "7cef8fe2-9a87-45ff-b9d0-65fff45650ef" + "5323270f-917d-43e8-86f5-57477a044048" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213720Z:7cef8fe2-9a87-45ff-b9d0-65fff45650ef" + "WESTUS2:20180219T183008Z:5323270f-917d-43e8-86f5-57477a044048" ] }, - "StatusCode": 200 + "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/applynetworkconfigurationupdates?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L2FwcGx5bmV0d29ya2NvbmZpZ3VyYXRpb251cGRhdGVzP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { "Content-Length": [ - "32" + "0" ], - "x-ms-client-request-id": [ - "5ddcb755-245a-4829-ab00-9b09d25f9b53" + "Expires": [ + "-1" ], - "accept-language": [ - "en-US" + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:31:08 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "43b8505d-7674-439d-a26a-dbc9fa6bedee" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" ], + "x-ms-correlation-request-id": [ + "8ddfbed0-7f4e-433f-ac7b-201575fd96b1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T183109Z:8ddfbed0-7f4e-433f-ac7b-201575fd96b1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" @@ -3886,13 +4247,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:37:20 GMT" + "Mon, 19 Feb 2018 18:32:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459//operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q=?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3904,23 +4265,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22f57398-f48c-41fd-81f4-2ed10433a888" + "12039b17-3c7a-48e2-923b-5227d00bd529" ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" ], "x-ms-correlation-request-id": [ - "67d52608-30f5-4df5-86f4-8dae7cfbd382" + "3c842b79-8592-4845-887e-c9f1c5d89c42" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213721Z:67d52608-30f5-4df5-86f4-8dae7cfbd382" + "WESTUS2:20180219T183209Z:3c842b79-8592-4845-887e-c9f1c5d89c42" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459//operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q=?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5Ly9vcGVyYXRpb25yZXN1bHRzL2MyUnJkR1Z6ZEdGd2FXMDVORFU1WDAxaGJtRm5aVkp2YkdWZk9EUTFOVFZsWTJRPT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3941,13 +4302,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:37:50 GMT" + "Mon, 19 Feb 2018 18:33:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3959,23 +4320,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e7f350d1-9b7d-418e-88e3-6db3da884b04" + "c29fac18-102d-4acf-a9bd-b7d6b38d0814" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" + "14998" ], "x-ms-correlation-request-id": [ - "7af13707-7b26-43a3-be35-b44421e0b5ef" + "8d353175-22c5-4f41-b443-be9f7ec76147" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213751Z:7af13707-7b26-43a3-be35-b44421e0b5ef" + "WESTUS2:20180219T183310Z:8d353175-22c5-4f41-b443-be9f7ec76147" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3996,13 +4357,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:38:20 GMT" + "Mon, 19 Feb 2018 18:34:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4014,23 +4375,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f57f8449-30a1-4c93-8aae-1f025e1ce8cf" + "8db3896d-260c-47b8-9024-f58e3dc86a1d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" + "14992" ], "x-ms-correlation-request-id": [ - "de1faeec-5995-485d-9af7-c97fc9841413" + "f969dcc9-5cc0-439e-be19-476b0bf8bf15" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213821Z:de1faeec-5995-485d-9af7-c97fc9841413" + "WESTUS2:20180219T183410Z:f969dcc9-5cc0-439e-be19-476b0bf8bf15" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4051,13 +4412,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:38:51 GMT" + "Mon, 19 Feb 2018 18:35:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4069,23 +4430,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0d5039be-cbf3-477c-ac9c-30d4dfcd26fb" + "c0bb4307-57c8-4ff0-9db0-0139ca12f3c8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" + "14992" ], "x-ms-correlation-request-id": [ - "3f041bb2-e82a-40e2-b351-ebaf9fa790a3" + "379c898d-784b-4056-99ce-0c84aebb56d9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213851Z:3f041bb2-e82a-40e2-b351-ebaf9fa790a3" + "WESTUS2:20180219T183510Z:379c898d-784b-4056-99ce-0c84aebb56d9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4106,13 +4467,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:39:21 GMT" + "Mon, 19 Feb 2018 18:36:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4124,23 +4485,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0f2efa73-4652-46b5-be36-507511f9b46b" + "c01a676c-243a-4f4f-ba91-566172acad31" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" + "14999" ], "x-ms-correlation-request-id": [ - "df163b8f-ac8c-4005-8dd3-cebf2f8bf6b9" + "8ad5f7de-e119-466c-9e88-adff2a7c44c7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213921Z:df163b8f-ac8c-4005-8dd3-cebf2f8bf6b9" + "WESTUS2:20180219T183611Z:8ad5f7de-e119-466c-9e88-adff2a7c44c7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4161,13 +4522,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:39:51 GMT" + "Mon, 19 Feb 2018 18:37:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4179,23 +4540,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1442db6f-6cc8-4140-b65b-0d36436229ec" + "320b3921-e2c4-400a-b0b7-f896e192295d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" + "14999" ], "x-ms-correlation-request-id": [ - "f5341816-d68e-4a73-add2-6dbf7bd31643" + "4faa7a20-52b4-4ff9-8f33-59be0be67279" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T213951Z:f5341816-d68e-4a73-add2-6dbf7bd31643" + "WESTUS2:20180219T183711Z:4faa7a20-52b4-4ff9-8f33-59be0be67279" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4216,13 +4577,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:40:21 GMT" + "Mon, 19 Feb 2018 18:38:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4234,23 +4595,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "67e594f1-4602-4004-9747-38ce6afd9925" + "ba45e8ec-81d9-4af1-8c62-f72304037b63" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14925" + "14997" ], "x-ms-correlation-request-id": [ - "acf3a63f-ccdc-4c4f-b7fe-f1663553bcdb" + "11ab56bb-134c-41be-bb0c-d54864d69fd4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214021Z:acf3a63f-ccdc-4c4f-b7fe-f1663553bcdb" + "WESTUS2:20180219T183812Z:11ab56bb-134c-41be-bb0c-d54864d69fd4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4271,13 +4632,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:40:51 GMT" + "Mon, 19 Feb 2018 18:39:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4289,23 +4650,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "be595910-8fe5-4c30-9a3c-0e84ad8ddb7a" + "d0772489-0eb1-4cbc-aa33-0da5f375eab3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" + "14996" ], "x-ms-correlation-request-id": [ - "43247dbb-55f2-4e01-b5a5-0e559aab766e" + "f0cdaf78-1e87-4443-87c8-2f2a55723905" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214051Z:43247dbb-55f2-4e01-b5a5-0e559aab766e" + "WESTUS2:20180219T183912Z:f0cdaf78-1e87-4443-87c8-2f2a55723905" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4326,13 +4687,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:41:22 GMT" + "Mon, 19 Feb 2018 18:40:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4344,23 +4705,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b15192be-9ba4-4e5d-8693-6b32cc83a17f" + "562a74a5-a449-4914-8088-838481b80809" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" + "14997" ], "x-ms-correlation-request-id": [ - "7fb8cba0-26a3-47ad-afcf-a1a39c7d48da" + "e1b8d7c3-1534-4f32-a657-ec48a4d09500" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214122Z:7fb8cba0-26a3-47ad-afcf-a1a39c7d48da" + "WESTUS2:20180219T184012Z:e1b8d7c3-1534-4f32-a657-ec48a4d09500" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4381,13 +4742,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:41:51 GMT" + "Mon, 19 Feb 2018 18:41:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4399,23 +4760,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a6e28739-9238-42c8-9364-535349a86446" + "3787360c-9c38-45b9-98aa-ca3d403989e6" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14921" + "14998" ], "x-ms-correlation-request-id": [ - "c7c19778-b7f9-4978-97fd-74e6f1f018ef" + "1d9f8667-7cd5-4cc2-b748-4fb0bd7906f7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214152Z:c7c19778-b7f9-4978-97fd-74e6f1f018ef" + "WESTUS2:20180219T184113Z:1d9f8667-7cd5-4cc2-b748-4fb0bd7906f7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4436,13 +4797,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:42:21 GMT" + "Mon, 19 Feb 2018 18:42:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4454,23 +4815,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c605fc24-e23e-4282-96da-bd4e407ffb02" + "b0e28cb7-7b29-49d6-9de0-b3b76880d9d3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14920" + "14999" ], "x-ms-correlation-request-id": [ - "b933cb55-5b18-4c0c-aa21-d5f4c2aa60ce" + "82245290-de27-4211-a3da-fe420fda9c73" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214222Z:b933cb55-5b18-4c0c-aa21-d5f4c2aa60ce" + "WESTUS2:20180219T184213Z:82245290-de27-4211-a3da-fe420fda9c73" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4491,13 +4852,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:42:52 GMT" + "Mon, 19 Feb 2018 18:43:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4509,23 +4870,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fcbc43ec-6658-48ae-9301-02a66937dc6e" + "97dd8e55-c745-455b-aaee-21970386cc7b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14919" + "14998" ], "x-ms-correlation-request-id": [ - "1178910d-28b1-46a3-8f66-099272079091" + "06baeba1-e76e-4616-b470-43544f00c80c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214252Z:1178910d-28b1-46a3-8f66-099272079091" + "WESTUS2:20180219T184313Z:06baeba1-e76e-4616-b470-43544f00c80c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4546,13 +4907,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:43:22 GMT" + "Mon, 19 Feb 2018 18:44:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4564,23 +4925,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1d0189b6-b3f3-4bc3-ba82-7705b6d2f952" + "4fbeb4eb-1377-4d78-839f-127ac5aa9654" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14918" + "14997" ], "x-ms-correlation-request-id": [ - "0404b8b0-da2d-4258-b81e-126963bde2e9" + "637e4538-e92d-4989-987f-42593e42c3d4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214322Z:0404b8b0-da2d-4258-b81e-126963bde2e9" + "WESTUS2:20180219T184413Z:637e4538-e92d-4989-987f-42593e42c3d4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4601,13 +4962,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:43:51 GMT" + "Mon, 19 Feb 2018 18:45:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4619,23 +4980,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5a9d125c-ef62-4211-baba-b7ecd8749e06" + "e1f5de91-57ec-4007-a40c-4319b7617dea" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14917" + "14996" ], "x-ms-correlation-request-id": [ - "5a390372-2bbd-4aa7-a10f-ed88be1166f7" + "fd3f22d7-f03f-4742-8842-672791dfaed6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214352Z:5a390372-2bbd-4aa7-a10f-ed88be1166f7" + "WESTUS2:20180219T184513Z:fd3f22d7-f03f-4742-8842-672791dfaed6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4656,13 +5017,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:44:22 GMT" + "Mon, 19 Feb 2018 18:46:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4674,23 +5035,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "5b4e9899-4482-42d0-9c43-daa72074ad39" + "cd8a1bd8-c8b0-4ca4-9c13-eded1240bb2a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14916" + "14998" ], "x-ms-correlation-request-id": [ - "f1c4929e-9c40-4b99-950f-384d862f24c8" + "a2ae7e19-c81e-4fa0-b3b4-729dd3570256" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214422Z:f1c4929e-9c40-4b99-950f-384d862f24c8" + "WESTUS2:20180219T184614Z:a2ae7e19-c81e-4fa0-b3b4-729dd3570256" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4711,13 +5072,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:44:52 GMT" + "Mon, 19 Feb 2018 18:47:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4729,23 +5090,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0c0bc6b4-7526-47ec-abcd-09f922771c35" + "75204b60-63f9-44cf-a483-574ba7fb8279" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14915" + "14997" ], "x-ms-correlation-request-id": [ - "0027ecde-9255-433b-a456-633317cb8016" + "2dc60bc6-41da-482c-af60-d710d03af964" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214453Z:0027ecde-9255-433b-a456-633317cb8016" + "WESTUS2:20180219T184714Z:2dc60bc6-41da-482c-af60-d710d03af964" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4766,13 +5127,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:45:23 GMT" + "Mon, 19 Feb 2018 18:48:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4784,23 +5145,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d1b18e51-da77-457c-b722-f1d62f7494d9" + "a8eb1d6e-8c70-49f7-9dcd-26fb2f269a1c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14914" + "14999" ], "x-ms-correlation-request-id": [ - "fab10ec9-69b6-4ddb-8a7b-178ba4d5fe00" + "f5fcd01e-ae56-4ad6-8cf1-feba5b057571" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214523Z:fab10ec9-69b6-4ddb-8a7b-178ba4d5fe00" + "WESTUS2:20180219T184815Z:f5fcd01e-ae56-4ad6-8cf1-feba5b057571" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459/operationresults/c2RrdGVzdGFwaW05NDU5X01hbmFnZVJvbGVfODQ1NTVlY2Q%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5EVTVYMDFoYm1GblpWSnZiR1ZmT0RRMU5UVmxZMlElM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185/operationresults/c2RrdGVzdGFwaW0yMTg1X1VwZGF0ZV82NWVjY2M4Mg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU1UZzFYMVZ3WkdGMFpWODJOV1ZqWTJNNE1nJTNEJTNEP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4809,7 +5170,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459\",\r\n \"name\": \"sdktestapim9459\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatqY=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T21:06:01.0149193Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9459.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9459.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9459.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9459.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"40.69.173.150\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.Network/virtualNetworks/apimvnet8027/subnets/apimsubnet3219\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"External\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185\",\r\n \"name\": \"sdktestapim2185\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaveE=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T17:26:39.5781565Z\",\r\n \"gatewayUrl\": \"https://sdktestapim2185.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim2185-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim2185.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim2185.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim2185.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.93.94\"\r\n ],\r\n \"privateIPAddresses\": [\r\n \"10.0.1.6\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": {\r\n \"subnetResourceId\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.Network/virtualNetworks/apimvnet2910/subnets/apimsubnet9238\",\r\n \"vnetid\": \"00000000-0000-0000-0000-000000000000\",\r\n \"subnetname\": null\r\n },\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"Internal\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -4821,7 +5182,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:45:53 GMT" + "Mon, 19 Feb 2018 18:49:14 GMT" ], "Pragma": [ "no-cache" @@ -4839,28 +5200,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "577f505f-8dd9-4d61-aa16-e3a157bb3497" + "6551cde6-b015-4e1e-a889-a3cb370ee41b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14913" + "14998" ], "x-ms-correlation-request-id": [ - "7d3dd976-8e31-40bd-9131-2cb4943d8a32" + "9a33ac5f-5bbd-4c0f-812c-dc65bbf77321" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214553Z:7d3dd976-8e31-40bd-9131-2cb4943d8a32" + "WESTUS2:20180219T184915Z:9a33ac5f-5bbd-4c0f-812c-dc65bbf77321" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "46366b07-d930-454d-b1bb-71f61aa6eca3" + "10702f83-0f90-4b34-b7bf-611637b9e71f" ], "accept-language": [ "en-US" @@ -4882,7 +5243,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:45:54 GMT" + "Mon, 19 Feb 2018 18:49:16 GMT" ], "Pragma": [ "no-cache" @@ -4900,28 +5261,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ba48f31c-f994-48d2-8a13-023c93c83974" + "3c933ca3-1550-4dbf-be28-50abff22b476" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1199" ], "x-ms-correlation-request-id": [ - "65554f58-19c3-4df9-9b5f-1de4d4652eef" + "b2e39ab0-4e04-4d47-9707-9717f547479f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214555Z:65554f58-19c3-4df9-9b5f-1de4d4652eef" + "WESTUS2:20180219T184917Z:b2e39ab0-4e04-4d47-9707-9717f547479f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1641/providers/Microsoft.ApiManagement/service/sdktestapim9459?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE2NDEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NDU5P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2915/providers/Microsoft.ApiManagement/service/sdktestapim2185?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI5MTUvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yMTg1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "970a778d-8498-40dd-b011-d78b47a22f49" + "7c42ab71-0f7c-4899-a8f3-8b86553d015f" ], "accept-language": [ "en-US" @@ -4931,7 +5292,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim9459' under resource group 'sdktestrg1641' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim2185' under resource group 'sdktestrg2915' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "164" @@ -4946,7 +5307,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:45:55 GMT" + "Mon, 19 Feb 2018 18:49:16 GMT" ], "Pragma": [ "no-cache" @@ -4955,13 +5316,13 @@ "gateway" ], "x-ms-request-id": [ - "e0babed8-90ad-4f8f-8425-b38f92bb0a9b" + "d6a8ee26-bf69-4e7c-aa21-bec9f6f55129" ], "x-ms-correlation-request-id": [ - "e0babed8-90ad-4f8f-8425-b38f92bb0a9b" + "d6a8ee26-bf69-4e7c-aa21-bec9f6f55129" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214555Z:e0babed8-90ad-4f8f-8425-b38f92bb0a9b" + "WESTUS2:20180219T184917Z:d6a8ee26-bf69-4e7c-aa21-bec9f6f55129" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4972,22 +5333,21 @@ ], "Names": { "Initialize": [ - "sdktestapim9459", - "sdktestrg1641" + "sdktestapim2185", + "sdktestrg2915" ], - "CreateInVirtualNetworkTest": [ - "apimvnet8027", - "apimsubnet3219" + "CreateInVirtualNetworkTests": [ + "apimvnet2910", + "apimsubnet9238" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "ServiceName": "sdktestapim9459", + "ServiceName": "sdktestapim2185", "Location": "Central US", - "ResourceGroup": "sdktestrg1641" + "ResourceGroup": "sdktestrg2915" } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateListDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateListDelete.json index 38b9ee1e5bad..a42e6147fe2a 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateListDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateListDelete.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "2637e156-4b9b-4ba7-b938-90bde5aff265" + "22d5f56e-2077-48e7-a77e-93e36b9515f0" ], "accept-language": [ "en-US" @@ -17,7 +17,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:46:05 GMT" + "Mon, 19 Feb 2018 20:41:08 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14996" ], "x-ms-request-id": [ - "1af68b82-aeb1-4c0f-abb6-2ba66641d8ca" + "b7956b29-d4c9-409e-815b-1dc3600203a1" ], "x-ms-correlation-request-id": [ - "1af68b82-aeb1-4c0f-abb6-2ba66641d8ca" + "b7956b29-d4c9-409e-815b-1dc3600203a1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T214606Z:1af68b82-aeb1-4c0f-abb6-2ba66641d8ca" + "WESTUS2:20180219T204109Z:b7956b29-d4c9-409e-815b-1dc3600203a1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,8 +56,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg2581?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzI1ODE/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg6653?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzY2NTM/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { @@ -68,7 +68,7 @@ "32" ], "x-ms-client-request-id": [ - "53f55708-fd43-4a65-89da-3ed2dfb7f667" + "c4bec73a-2336-4cc5-a55f-dafcb25b407c" ], "accept-language": [ "en-US" @@ -78,7 +78,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581\",\r\n \"name\": \"sdktestrg2581\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653\",\r\n \"name\": \"sdktestrg6653\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "182" @@ -93,1780 +93,56 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 21:46:07 GMT" + "Mon, 19 Feb 2018 20:41:09 GMT" ], "Pragma": [ "no-cache" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" - ], - "x-ms-request-id": [ - "dd7b4609-9304-47a4-a858-d322b180860b" - ], - "x-ms-correlation-request-id": [ - "dd7b4609-9304-47a4-a858-d322b180860b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214607Z:dd7b4609-9304-47a4-a858-d322b180860b" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement/checkNameAvailability?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "POST", - "RequestBody": "{\r\n \"name\": \"sdktestapim4195\"\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "33" - ], - "x-ms-client-request-id": [ - "0f9a555d-bfd7-4f8a-9284-0683fd4d7b04" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"nameAvailable\": true,\r\n \"reason\": \"Valid\",\r\n \"message\": \"\"\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:46:10 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "573782ac-6540-47bf-add5-40f1b4c91b38" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" - ], - "x-ms-correlation-request-id": [ - "d82cb2dc-26a7-49dd-a2f0-cc9aedb49b0a" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214611Z:d82cb2dc-26a7-49dd-a2f0-cc9aedb49b0a" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", - "RequestHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Content-Length": [ - "290" - ], - "x-ms-client-request-id": [ - "cf0b615c-e475-440b-af94-34de18b4008c" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195\",\r\n \"name\": \"sdktestapim4195\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACatrM=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2017-08-02T21:46:13.0496136Z\",\r\n \"gatewayUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", - "ResponseHeaders": { - "Content-Length": [ - "852" - ], - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:46:12 GMT" - ], - "Pragma": [ - "no-cache" - ], - "ETag": [ - "\"AAAAAACatrM=\"" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg==?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "861e0846-354b-4b33-8f88-1e72155b5e10", - "f0d470bf-f4e3-496f-ad74-234daa65b4a4" - ], - "x-ms-ratelimit-remaining-subscription-writes": [ - "1199" - ], - "x-ms-correlation-request-id": [ - "7b5f8b75-7cba-443a-814f-627ce7630e5e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214613Z:7b5f8b75-7cba-443a-814f-627ce7630e5e" - ] - }, - "StatusCode": 201 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWc9PT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:46:43 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d64de6fb-5f0c-4e1e-9111-db88e1a4b266" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" - ], - "x-ms-correlation-request-id": [ - "b444de31-e577-4501-bfee-ff38208b2198" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214643Z:b444de31-e577-4501-bfee-ff38208b2198" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:47:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "347e7a6e-7ecc-4f67-aeb1-772725223df8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" - ], - "x-ms-correlation-request-id": [ - "bed35790-6c06-49c4-a15c-44a6a6f3ad28" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214713Z:bed35790-6c06-49c4-a15c-44a6a6f3ad28" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:47:43 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "8ca7732d-bf3d-4fcb-bd41-de32548d1504" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" - ], - "x-ms-correlation-request-id": [ - "ceb9a291-89a4-40f3-9888-ab47b3512de9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214743Z:ceb9a291-89a4-40f3-9888-ab47b3512de9" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:48:13 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "f89d2c64-9f0c-4fab-8300-7a5b2a7130ae" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" - ], - "x-ms-correlation-request-id": [ - "586fa36a-5990-494c-bc79-d87fe98adf49" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214813Z:586fa36a-5990-494c-bc79-d87fe98adf49" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:48:43 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "91c56ff0-59db-4496-8f81-209bcd31ef2c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" - ], - "x-ms-correlation-request-id": [ - "8ad42056-b270-4a26-af29-94d6da5f792c" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214843Z:8ad42056-b270-4a26-af29-94d6da5f792c" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:49:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "8cf38544-17e2-4cd3-a3df-9359102dda5d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" - ], - "x-ms-correlation-request-id": [ - "06f45157-26fb-4e09-bad1-2e9b3f908fe3" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214914Z:06f45157-26fb-4e09-bad1-2e9b3f908fe3" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:49:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a99507a8-21ee-4008-8bd0-2aeba6ea00db" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" - ], - "x-ms-correlation-request-id": [ - "30ae9e9e-873d-4b62-a050-1243b30fd845" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T214944Z:30ae9e9e-873d-4b62-a050-1243b30fd845" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:50:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "44987239-2527-4540-b14d-2acef606ffd2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" - ], - "x-ms-correlation-request-id": [ - "2d2922d4-57fd-4480-b920-b1d12afdb1f6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215014Z:2d2922d4-57fd-4480-b920-b1d12afdb1f6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:50:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9b14c7db-6a2d-409a-b38b-b0b8ae9f5821" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" - ], - "x-ms-correlation-request-id": [ - "ee3a9176-9d63-4461-bafe-254662ae35f9" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215044Z:ee3a9176-9d63-4461-bafe-254662ae35f9" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:51:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "589c5454-3fee-42cf-adc8-e530c4a09620" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" - ], - "x-ms-correlation-request-id": [ - "aa54dc35-b2f7-4e5c-b57c-6192520a8185" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215114Z:aa54dc35-b2f7-4e5c-b57c-6192520a8185" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:51:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "6de9384b-d240-4edb-937a-5d8921ff2ae5" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14982" - ], - "x-ms-correlation-request-id": [ - "bcf36dfa-a030-4670-9cb8-1f3488c16b85" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215145Z:bcf36dfa-a030-4670-9cb8-1f3488c16b85" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:52:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1743de14-9189-4921-ad88-6651da9d3db1" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" - ], - "x-ms-correlation-request-id": [ - "f9821ff4-c268-451e-9c6d-f95b33eeaf56" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215215Z:f9821ff4-c268-451e-9c6d-f95b33eeaf56" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:52:45 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "fb2c80ae-c92b-4a42-b4f3-720a3723c7db" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" - ], - "x-ms-correlation-request-id": [ - "3cabbde8-cc3f-499f-bf06-9bf03e84196f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215245Z:3cabbde8-cc3f-499f-bf06-9bf03e84196f" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:53:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "651a563e-99f6-4936-8bad-b626bc155863" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" - ], - "x-ms-correlation-request-id": [ - "ca739383-04a5-490a-aac3-1869abeacf88" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215315Z:ca739383-04a5-490a-aac3-1869abeacf88" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:53:44 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9f9c6d7c-6a97-48ac-84f5-1cbf31da0c0e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" - ], - "x-ms-correlation-request-id": [ - "433dcc27-12b0-4151-8d2a-6dfaacdbdfc5" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215345Z:433dcc27-12b0-4151-8d2a-6dfaacdbdfc5" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:54:14 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "e7509085-dfc9-4d66-8cfc-7c686516accd" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" - ], - "x-ms-correlation-request-id": [ - "8271ef7b-eae1-48de-a051-fef17ed776a6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215415Z:8271ef7b-eae1-48de-a051-fef17ed776a6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:54:45 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "2b304d18-f1eb-4e59-83af-7c0f89633201" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" - ], - "x-ms-correlation-request-id": [ - "d96daeaf-cce7-48d4-85ec-5ff2a49cf8d7" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215446Z:d96daeaf-cce7-48d4-85ec-5ff2a49cf8d7" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:55:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "052cedf3-f9c3-494c-9e72-0c8ab8cffc1d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" - ], - "x-ms-correlation-request-id": [ - "63cbc420-b94f-4343-a8d7-0b29c8946aae" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215516Z:63cbc420-b94f-4343-a8d7-0b29c8946aae" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:55:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d839199e-d0d0-428c-88a0-95664f2437b8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" - ], - "x-ms-correlation-request-id": [ - "492df87d-55f8-4f4b-996a-eec663899651" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215546Z:492df87d-55f8-4f4b-996a-eec663899651" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:56:16 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "55b0f24b-3ccb-401b-ba66-cea00914c21b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" - ], - "x-ms-correlation-request-id": [ - "f3d6a0f3-67d1-4d8d-91d0-4ce34418f162" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215616Z:f3d6a0f3-67d1-4d8d-91d0-4ce34418f162" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:56:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "aa4ff933-619b-4317-aa48-7f9b0719b130" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" - ], - "x-ms-correlation-request-id": [ - "f9c03c65-bbbf-4805-86b2-f244ce6d10d4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215646Z:f9c03c65-bbbf-4805-86b2-f244ce6d10d4" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:57:16 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "09067236-68d7-42a2-ae18-954d02990c89" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" - ], - "x-ms-correlation-request-id": [ - "0b2d40c1-66d9-4ac2-bdaf-8f4e5da38de0" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215716Z:0b2d40c1-66d9-4ac2-bdaf-8f4e5da38de0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:57:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d2b6b46e-500a-4b33-89e5-21796a761dde" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], - "x-ms-correlation-request-id": [ - "db9e7834-643b-4d24-a46c-cc12978ad01e" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215747Z:db9e7834-643b-4d24-a46c-cc12978ad01e" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:58:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "19b3e671-8313-4c9d-a51d-2893e99af3ff" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" - ], - "x-ms-correlation-request-id": [ - "793ff2cd-0f89-4339-9262-83fed0db9d18" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215817Z:793ff2cd-0f89-4339-9262-83fed0db9d18" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:58:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "e5a5b976-172b-44c5-af20-96e1441ed54d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" - ], - "x-ms-correlation-request-id": [ - "abc178d7-5369-46f5-8b10-a7365e8795ab" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215847Z:abc178d7-5369-46f5-8b10-a7365e8795ab" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:59:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "1199" ], "x-ms-request-id": [ - "d39f7c13-9f23-48c8-a9b4-eac44cb874a7" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" + "63c19fb9-1d7d-4da7-ab3a-f588730ef8cb" ], "x-ms-correlation-request-id": [ - "82a65917-e5a1-4e4c-863d-7dc48396b746" + "63c19fb9-1d7d-4da7-ab3a-f588730ef8cb" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T215917Z:82a65917-e5a1-4e4c-863d-7dc48396b746" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 21:59:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" + "WESTUS2:20180219T204110Z:63c19fb9-1d7d-4da7-ab3a-f588730ef8cb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9b166fa7-8df3-438a-862b-275c583ddaf2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "2ed4119a-69e4-4f21-8c55-cde1b735fcb5" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T215948Z:2ed4119a-69e4-4f21-8c55-cde1b735fcb5" ] }, - "StatusCode": 202 + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement/checkNameAvailability?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudC9jaGVja05hbWVBdmFpbGFiaWxpdHk/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"name\": \"sdktestapim9225\"\r\n}", "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:00:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "c73009e1-28f5-4cba-8b0e-75fd236ce2f1" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-correlation-request-id": [ - "0002dc48-d5a8-45e0-94fa-8f9dca68de27" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T220018Z:0002dc48-d5a8-45e0-94fa-8f9dca68de27" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:00:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9d5e6102-db5a-405c-8b65-9bc60eeec187" + "33" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14963" + "x-ms-client-request-id": [ + "50cae30d-9fcd-43d0-a665-362087c938c2" ], - "x-ms-correlation-request-id": [ - "b69807ba-3d3b-4c2c-be03-657359bbea17" + "accept-language": [ + "en-US" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T220048Z:b69807ba-3d3b-4c2c-be03-657359bbea17" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"nameAvailable\": true,\r\n \"reason\": \"Valid\",\r\n \"message\": \"\"\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -1875,108 +151,68 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:01:18 GMT" + "Mon, 19 Feb 2018 20:41:10 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], + "Vary": [ + "Accept-Encoding" + ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "38e26324-c038-4428-b33b-c504a9ee27a5" + "493fd34c-8ad4-49ec-901a-d42e8fb58c31" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" + "14993" ], "x-ms-correlation-request-id": [ - "2dacbfe8-466a-4ca0-8a9f-83a72ef0c090" + "a8366ef8-7e96-43d8-bac8-ae1ce75f1e9e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220118Z:2dacbfe8-466a-4ca0-8a9f-83a72ef0c090" + "WESTUS2:20180219T204110Z:a8366ef8-7e96-43d8-bac8-ae1ce75f1e9e" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:01:48 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" + "Content-Type": [ + "application/json; charset=utf-8" ], - "x-ms-request-id": [ - "ca0ba0c2-0540-455e-a8ab-a373bec969c2" + "Content-Length": [ + "290" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14961" + "x-ms-client-request-id": [ + "cf81943a-0989-4a7d-80ca-36ee590fdea6" ], - "x-ms-correlation-request-id": [ - "e37a3359-a80e-4c93-8366-c59c728e1b55" + "accept-language": [ + "en-US" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T220148Z:e37a3359-a80e-4c93-8366-c59c728e1b55" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225\",\r\n \"name\": \"sdktestapim9225\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADawcw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T20:41:12.1367301Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "0" + "950" + ], + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -1985,13 +221,16 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:02:18 GMT" + "Mon, 19 Feb 2018 20:41:12 GMT" ], "Pragma": [ "no-cache" ], + "ETag": [ + "\"AAAAAADawcw=\"" + ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ==?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2003,23 +242,24 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "83a2fcc1-c531-478c-8715-b534c9ed1ee2" + "a2cd5d36-34ff-4130-b11d-11d852dbe2a7", + "c6de0e4a-8927-47ea-8786-0bf0a3ee8418" ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" ], "x-ms-correlation-request-id": [ - "48b56753-c1c3-4728-845b-2a8bf6bb6ba0" + "c768bfa8-d31e-4667-a8c2-bb49a8c29522" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220218Z:48b56753-c1c3-4728-845b-2a8bf6bb6ba0" + "WESTUS2:20180219T204112Z:c768bfa8-d31e-4667-a8c2-bb49a8c29522" ] }, - "StatusCode": 202 + "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlE9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2040,13 +280,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:02:48 GMT" + "Mon, 19 Feb 2018 20:42:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2058,23 +298,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "26f5885d-9d1d-46e8-878d-9fdd3e910420" + "c7612703-fe2d-4c0b-bd01-53e7f1970ca9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" + "14999" ], "x-ms-correlation-request-id": [ - "5b566733-e5b5-4a4f-afb4-dbdfb7262eb2" + "96f026b7-a806-4906-97ed-8ec7258fc058" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220249Z:5b566733-e5b5-4a4f-afb4-dbdfb7262eb2" + "WESTUS2:20180219T204213Z:96f026b7-a806-4906-97ed-8ec7258fc058" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2095,13 +335,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:03:18 GMT" + "Mon, 19 Feb 2018 20:43:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2113,23 +353,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e4129eea-86d0-45e6-b02d-4d464cab1740" + "94f60739-7a03-40c3-a474-944d85a9c110" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14957" + "14998" ], "x-ms-correlation-request-id": [ - "e8949160-6181-4e0b-b5c3-777e0fdb8f75" + "316c8ef9-74b0-4160-8a10-a6c7a6ca0cf9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220319Z:e8949160-6181-4e0b-b5c3-777e0fdb8f75" + "WESTUS2:20180219T204313Z:316c8ef9-74b0-4160-8a10-a6c7a6ca0cf9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2150,13 +390,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:03:49 GMT" + "Mon, 19 Feb 2018 20:44:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2168,23 +408,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "fd333725-dcfb-4f9f-83ff-17668aae2e46" + "03676166-72b0-4f24-b26e-4cf4b3537c5b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" + "14997" ], "x-ms-correlation-request-id": [ - "7fb1abb9-984b-4f05-819d-99b6c0bf38ce" + "f6e913f7-230d-456f-a335-c29eb6b39cce" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220349Z:7fb1abb9-984b-4f05-819d-99b6c0bf38ce" + "WESTUS2:20180219T204413Z:f6e913f7-230d-456f-a335-c29eb6b39cce" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2205,13 +445,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:04:19 GMT" + "Mon, 19 Feb 2018 20:45:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2223,23 +463,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f97dea60-50ca-4c10-8705-e07421dd3d29" + "682f70e1-d4ea-4ca5-9ff3-e704774cdd40" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" + "14999" ], "x-ms-correlation-request-id": [ - "bda6c914-e0f1-4f78-b499-67e3c6cadc7f" + "a6776500-26b8-4807-be75-07fc938aa56d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220419Z:bda6c914-e0f1-4f78-b499-67e3c6cadc7f" + "WESTUS2:20180219T204512Z:a6776500-26b8-4807-be75-07fc938aa56d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2260,13 +500,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:04:49 GMT" + "Mon, 19 Feb 2018 20:46:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2278,23 +518,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "658fe668-9f5a-4e5e-bd53-5b5901b5691f" + "66b21d73-5de7-4eba-b991-7eba3bdc37e9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" + "14998" ], "x-ms-correlation-request-id": [ - "9e2bd087-eeb4-4def-b70d-241888774018" + "755410cb-dc63-4e43-aa6f-09108816718d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220450Z:9e2bd087-eeb4-4def-b70d-241888774018" + "WESTUS2:20180219T204612Z:755410cb-dc63-4e43-aa6f-09108816718d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2315,13 +555,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:05:19 GMT" + "Mon, 19 Feb 2018 20:47:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2333,23 +573,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9b4dcc22-974d-4ed3-9714-e0cfdc105586" + "299dcc9c-d99c-4383-ac5a-9c02fa09b25e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" + "14999" ], "x-ms-correlation-request-id": [ - "81a34481-c653-440f-946c-9624fa6e8d77" + "3b90163f-dc7d-4486-9c5d-2d36021a61be" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220520Z:81a34481-c653-440f-946c-9624fa6e8d77" + "WESTUS2:20180219T204714Z:3b90163f-dc7d-4486-9c5d-2d36021a61be" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2370,13 +610,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:05:49 GMT" + "Mon, 19 Feb 2018 20:48:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2388,23 +628,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c4c186ed-a286-4bce-be72-285af9acd0e9" + "ac3d0b8c-22c8-41f1-be3b-d4c67ac6b950" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" + "14998" ], "x-ms-correlation-request-id": [ - "fd478d40-5a9c-40e4-9622-56ff7ae05436" + "6049df6a-69b8-4084-8388-e70b1f967dbc" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220550Z:fd478d40-5a9c-40e4-9622-56ff7ae05436" + "WESTUS2:20180219T204814Z:6049df6a-69b8-4084-8388-e70b1f967dbc" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2425,13 +665,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:06:20 GMT" + "Mon, 19 Feb 2018 20:49:15 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2443,23 +683,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "68ff474e-6108-4621-aced-3dbb8817149e" + "49be8267-f479-423a-b8bf-ecc404090622" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "14992" ], "x-ms-correlation-request-id": [ - "1a6b887e-70cd-4e24-b9b2-ba400b0b314e" + "69f3e38a-268a-4371-b7a7-f0494d883b22" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220620Z:1a6b887e-70cd-4e24-b9b2-ba400b0b314e" + "WESTUS2:20180219T204915Z:69f3e38a-268a-4371-b7a7-f0494d883b22" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2480,13 +720,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:06:50 GMT" + "Mon, 19 Feb 2018 20:50:15 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2498,23 +738,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d5a7bcc6-3983-4c2b-ae10-cd47c32280c6" + "0af8298c-3c85-4abb-bf5b-1bf530f18836" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "14996" ], "x-ms-correlation-request-id": [ - "3bbdf466-b41e-4019-bc30-eff62e5e259a" + "13bf77f7-2a1d-4bea-817f-7b1d7016d664" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220650Z:3bbdf466-b41e-4019-bc30-eff62e5e259a" + "WESTUS2:20180219T205015Z:13bf77f7-2a1d-4bea-817f-7b1d7016d664" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2535,13 +775,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:07:20 GMT" + "Mon, 19 Feb 2018 20:51:16 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2553,23 +793,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "529b0922-5871-4cd0-8b49-0b9837d9763d" + "6ff628bf-548f-4203-acd7-c18b90450add" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "14998" ], "x-ms-correlation-request-id": [ - "5694a196-bc35-47ab-a86a-f8f2a1fb76bd" + "df2f495d-a092-46d9-ae46-6b8d483b0202" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220720Z:5694a196-bc35-47ab-a86a-f8f2a1fb76bd" + "WESTUS2:20180219T205116Z:df2f495d-a092-46d9-ae46-6b8d483b0202" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2590,13 +830,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:07:50 GMT" + "Mon, 19 Feb 2018 20:52:16 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2608,23 +848,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f2186cec-ccc4-4e9f-a3e2-f1da3fe90cd3" + "484d818d-7ec6-4a4c-9487-bf4c8a023f9d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "14999" ], "x-ms-correlation-request-id": [ - "53b8b82e-7b35-4803-8498-f801dfca1d67" + "7220a855-bb9e-4e48-94dd-9bffec83b47c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220751Z:53b8b82e-7b35-4803-8498-f801dfca1d67" + "WESTUS2:20180219T205217Z:7220a855-bb9e-4e48-94dd-9bffec83b47c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2645,13 +885,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:08:21 GMT" + "Mon, 19 Feb 2018 20:53:16 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2663,23 +903,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c6bb3fa7-1d1a-40d9-a332-f953ac4500dd" + "830de102-0c4e-4459-b0d0-2c2b022443ec" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14998" ], "x-ms-correlation-request-id": [ - "7365ae59-2599-4c40-b288-820be28c78f1" + "9f92e44c-0ef2-4d99-8fd0-dc7c9c22e320" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220821Z:7365ae59-2599-4c40-b288-820be28c78f1" + "WESTUS2:20180219T205317Z:9f92e44c-0ef2-4d99-8fd0-dc7c9c22e320" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2700,13 +940,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:08:51 GMT" + "Mon, 19 Feb 2018 20:54:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2718,23 +958,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "828f4766-2158-4427-8987-3941e0a95e89" + "812c322e-c508-40e2-8e20-597eca4970f2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "14995" ], "x-ms-correlation-request-id": [ - "34d88019-5430-4e11-8907-a556ba8db893" + "62d402af-bf68-4529-be53-8a738481b7f3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220851Z:34d88019-5430-4e11-8907-a556ba8db893" + "WESTUS2:20180219T205417Z:62d402af-bf68-4529-be53-8a738481b7f3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2755,13 +995,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:09:20 GMT" + "Mon, 19 Feb 2018 20:55:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2773,23 +1013,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7af338d5-da66-4a03-9442-30e2b08e17fa" + "b7a5e91b-3da6-4fd6-98aa-49b4cdd9c3b3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14997" ], "x-ms-correlation-request-id": [ - "99c9da28-7336-442d-a6fa-0a9e4fb91678" + "85c36af6-d20e-403e-bc10-f4e3fbee4ff4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220921Z:99c9da28-7336-442d-a6fa-0a9e4fb91678" + "WESTUS2:20180219T205518Z:85c36af6-d20e-403e-bc10-f4e3fbee4ff4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2810,13 +1050,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:09:51 GMT" + "Mon, 19 Feb 2018 20:56:18 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2828,23 +1068,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9b9df482-50cc-4985-b9c9-c277a511084b" + "88f39a4b-92fb-4b83-a4fd-5accbd228467" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14999" ], "x-ms-correlation-request-id": [ - "6160fe8f-9e53-4d72-a03f-57acdaa7feda" + "d538efc8-3987-42d0-a79a-14c7ecd9f56c" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T220951Z:6160fe8f-9e53-4d72-a03f-57acdaa7feda" + "WESTUS2:20180219T205618Z:d538efc8-3987-42d0-a79a-14c7ecd9f56c" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2865,13 +1105,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:10:21 GMT" + "Mon, 19 Feb 2018 20:57:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2883,23 +1123,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3b54f6ed-8455-43fb-b444-6126daefc8f3" + "cccade1b-5943-4f8c-94ed-3c635b50f471" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14997" ], "x-ms-correlation-request-id": [ - "023a454a-d198-4767-944a-7eec2e035b6f" + "43f1de53-6d57-4671-8904-68295d958f24" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221022Z:023a454a-d198-4767-944a-7eec2e035b6f" + "WESTUS2:20180219T205717Z:43f1de53-6d57-4671-8904-68295d958f24" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2920,13 +1160,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:10:51 GMT" + "Mon, 19 Feb 2018 20:58:17 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2938,23 +1178,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "61cb7892-92e2-4885-9119-07e6b95e3ed1" + "7d662bfc-c4a0-44ef-8464-f518c2747ae4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14996" ], "x-ms-correlation-request-id": [ - "afd75f47-0bcc-4218-982d-c4a23c75f1c3" + "db2e3f6f-7eee-413d-8337-d36e097988c1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221052Z:afd75f47-0bcc-4218-982d-c4a23c75f1c3" + "WESTUS2:20180219T205818Z:db2e3f6f-7eee-413d-8337-d36e097988c1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -2975,13 +1215,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:11:22 GMT" + "Mon, 19 Feb 2018 20:59:18 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -2993,23 +1233,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "91ab4f70-47b2-4a6a-a95d-9544d2569e8a" + "8c2293e0-e6b8-416f-aff7-93bb3a18375c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14995" ], "x-ms-correlation-request-id": [ - "34668dd4-ea66-455c-a046-52baac535572" + "8a47c7b8-c303-4070-b096-81cda642c974" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221122Z:34668dd4-ea66-455c-a046-52baac535572" + "WESTUS2:20180219T205918Z:8a47c7b8-c303-4070-b096-81cda642c974" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3030,13 +1270,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:11:52 GMT" + "Mon, 19 Feb 2018 21:00:19 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3048,23 +1288,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "adc6018f-12f4-465c-9065-76132d404488" + "558e315d-3ed8-4d2c-8513-ab4195cdc7b8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "14999" ], "x-ms-correlation-request-id": [ - "ee166b15-6a1f-4408-a09d-b6cfc6f13882" + "cfc295ca-c247-49cc-a613-fd8988e963f2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221152Z:ee166b15-6a1f-4408-a09d-b6cfc6f13882" + "WESTUS2:20180219T210019Z:cfc295ca-c247-49cc-a613-fd8988e963f2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3085,13 +1325,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:12:21 GMT" + "Mon, 19 Feb 2018 21:01:18 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3103,23 +1343,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6bb92ab8-0f92-4e02-862a-32790adecfc2" + "46b62875-7c55-4eb8-9953-1de742871912" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14998" ], "x-ms-correlation-request-id": [ - "9519083b-e675-465a-9525-2e835fdc0c9f" + "b04d8024-ce6d-4d1d-b4b1-88fdfe7743d2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221222Z:9519083b-e675-465a-9525-2e835fdc0c9f" + "WESTUS2:20180219T210119Z:b04d8024-ce6d-4d1d-b4b1-88fdfe7743d2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3140,13 +1380,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:12:52 GMT" + "Mon, 19 Feb 2018 21:02:19 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3158,23 +1398,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e252fb51-00f5-4913-8996-e47f5c5172de" + "bd7c4b58-30c0-4d96-84e8-fb4a3d3a7bde" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "14994" ], "x-ms-correlation-request-id": [ - "435e5b5c-59f3-4bd5-afcf-d4084c857971" + "6e1e1952-ffe7-4629-98a1-037107bda557" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221252Z:435e5b5c-59f3-4bd5-afcf-d4084c857971" + "WESTUS2:20180219T210220Z:6e1e1952-ffe7-4629-98a1-037107bda557" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3195,13 +1435,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:13:23 GMT" + "Mon, 19 Feb 2018 21:03:20 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3213,23 +1453,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "239bd710-fb80-431f-8e1d-2283b9d01444" + "b9cbdab1-ffe5-4a3d-b239-f482bdeb8c6a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "14998" ], "x-ms-correlation-request-id": [ - "5d994804-2a25-4e44-b403-bca5973bec09" + "23189c6f-b8df-4613-893c-8e8e44bfa353" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221323Z:5d994804-2a25-4e44-b403-bca5973bec09" + "WESTUS2:20180219T210321Z:23189c6f-b8df-4613-893c-8e8e44bfa353" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3250,13 +1490,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:13:53 GMT" + "Mon, 19 Feb 2018 21:04:21 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3268,23 +1508,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c84713cc-be5c-4864-88f5-3e9e7d3dac6a" + "7aec76f8-bd8a-4142-bb2f-9bf63b92c30f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "14999" ], "x-ms-correlation-request-id": [ - "f6397dda-3414-4d7f-b107-3b1e8f76e12d" + "52f94d52-beaf-4236-ba26-c56bfcd1cdbe" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221353Z:f6397dda-3414-4d7f-b107-3b1e8f76e12d" + "WESTUS2:20180219T210421Z:52f94d52-beaf-4236-ba26-c56bfcd1cdbe" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3305,13 +1545,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:14:23 GMT" + "Mon, 19 Feb 2018 21:05:20 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3323,23 +1563,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "adc8bd2a-cd77-4b88-aa13-90ad0d67818e" + "1c7565cd-cc59-4746-b1bd-be3f56a74376" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" + "14997" ], "x-ms-correlation-request-id": [ - "f609f72e-3944-4103-9ebc-b55951f5b98b" + "11586b8f-be6d-48fc-93e8-935d615ceb91" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221423Z:f609f72e-3944-4103-9ebc-b55951f5b98b" + "WESTUS2:20180219T210521Z:11586b8f-be6d-48fc-93e8-935d615ceb91" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3360,13 +1600,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:14:53 GMT" + "Mon, 19 Feb 2018 21:06:21 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3378,23 +1618,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "614fca00-ece1-4d15-8550-af88c7945256" + "bf17f1f4-7be8-41b3-abac-93194aad4560" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" + "14996" ], "x-ms-correlation-request-id": [ - "73769574-466d-4600-85b6-d53a88d0fb61" + "22b01aed-da08-44b3-a062-ba68b810973d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221453Z:73769574-466d-4600-85b6-d53a88d0fb61" + "WESTUS2:20180219T210622Z:22b01aed-da08-44b3-a062-ba68b810973d" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3415,13 +1655,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:15:23 GMT" + "Mon, 19 Feb 2018 21:07:22 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3433,23 +1673,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "271f6e75-ebed-4672-8193-7e8b8e586381" + "34fc9899-5e02-4b22-b0e9-75bab1278b09" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" + "14999" ], "x-ms-correlation-request-id": [ - "28e764b8-9c3f-406c-bc7b-724a6940f123" + "2b4ebdfc-fdc3-4414-ac24-48e9e1627e55" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221523Z:28e764b8-9c3f-406c-bc7b-724a6940f123" + "WESTUS2:20180219T210722Z:2b4ebdfc-fdc3-4414-ac24-48e9e1627e55" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3470,13 +1710,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:15:53 GMT" + "Mon, 19 Feb 2018 21:08:21 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3488,23 +1728,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "afef0de8-0f41-491a-8c93-b3c22b02b5e7" + "b6b091f3-55df-45a8-b1d0-db3bc3931def" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" + "14998" ], "x-ms-correlation-request-id": [ - "a33236cc-db98-4ce2-8092-c318b71ea176" + "f44a232f-a6cc-4983-8d0c-df6b322f96d9" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221554Z:a33236cc-db98-4ce2-8092-c318b71ea176" + "WESTUS2:20180219T210822Z:f44a232f-a6cc-4983-8d0c-df6b322f96d9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3525,13 +1765,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:16:23 GMT" + "Mon, 19 Feb 2018 21:09:22 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3543,23 +1783,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "60f08a0c-501b-45b4-a86f-5ed8beda9734" + "d95dafb9-ee1b-4a18-ae38-b3a8165bc8aa" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" + "14999" ], "x-ms-correlation-request-id": [ - "6019d762-5bd8-45d1-a9b7-38b6683f94f6" + "64066192-0d4e-48df-8eb8-169dde1952b7" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221624Z:6019d762-5bd8-45d1-a9b7-38b6683f94f6" + "WESTUS2:20180219T210922Z:64066192-0d4e-48df-8eb8-169dde1952b7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3580,13 +1820,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:16:54 GMT" + "Mon, 19 Feb 2018 21:10:22 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3598,23 +1838,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ec9cd8b6-c6b9-4396-9e55-a2179a9978cc" + "0e9206cc-58e2-4677-9ac5-49fd4f389360" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" + "14996" ], "x-ms-correlation-request-id": [ - "1506f81b-4c5d-4d56-b113-ece40e1c5c3d" + "4cdc6b3e-1b94-49d1-aa81-6fd6440afbce" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221654Z:1506f81b-4c5d-4d56-b113-ece40e1c5c3d" + "WESTUS2:20180219T211023Z:4cdc6b3e-1b94-49d1-aa81-6fd6440afbce" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3635,13 +1875,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:17:24 GMT" + "Mon, 19 Feb 2018 21:11:22 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3653,23 +1893,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2b8c1337-936c-41f1-a176-d46ad75e9e0e" + "c858baec-5857-4e7f-a8f4-6b3319faa22b" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" + "14998" ], "x-ms-correlation-request-id": [ - "9329a3a6-550c-402f-8e7d-bcad3bb50e42" + "389c5e70-1848-4d1a-a64d-e57cec246bf4" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221724Z:9329a3a6-550c-402f-8e7d-bcad3bb50e42" + "WESTUS2:20180219T211123Z:389c5e70-1848-4d1a-a64d-e57cec246bf4" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3690,13 +1930,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:17:54 GMT" + "Mon, 19 Feb 2018 21:12:23 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3708,23 +1948,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "71a829f7-1a16-47fa-98a0-cab2f5ba66f9" + "fecd17a5-2767-496b-bb13-afecbce078c7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" + "14999" ], "x-ms-correlation-request-id": [ - "2a3f8570-2568-41eb-8169-df8ee6a9ec90" + "92094aec-ca6c-4b17-821a-46865343f0bf" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221754Z:2a3f8570-2568-41eb-8169-df8ee6a9ec90" + "WESTUS2:20180219T211223Z:92094aec-ca6c-4b17-821a-46865343f0bf" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3745,13 +1985,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:18:24 GMT" + "Mon, 19 Feb 2018 21:13:24 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3763,23 +2003,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "88f36f84-4b01-4a13-bed2-be07daca1ca6" + "2e6c919f-7b8c-41d5-b19a-ca1930f4a729" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" + "14998" ], "x-ms-correlation-request-id": [ - "8f67562b-862b-4602-9ae2-0a785abdecec" + "fd54aab4-a151-4e73-a651-51fa75f5bc10" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221825Z:8f67562b-862b-4602-9ae2-0a785abdecec" + "WESTUS2:20180219T211324Z:fd54aab4-a151-4e73-a651-51fa75f5bc10" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3800,13 +2040,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:18:55 GMT" + "Mon, 19 Feb 2018 21:14:23 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3818,23 +2058,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6a2b8df4-7a3d-47b7-875c-fd9ff0e244e1" + "86fb1e90-6395-4ae0-8b61-0ad839f3edb7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14925" + "14998" ], "x-ms-correlation-request-id": [ - "cab36b2c-63a7-4973-9bbe-8ea362aa8b4f" + "2db0a09b-5d36-4b9a-884e-7d90b593c7b0" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221855Z:cab36b2c-63a7-4973-9bbe-8ea362aa8b4f" + "WESTUS2:20180219T211424Z:2db0a09b-5d36-4b9a-884e-7d90b593c7b0" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3855,13 +2095,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:19:25 GMT" + "Mon, 19 Feb 2018 21:15:24 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3873,23 +2113,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0409378c-ac5f-437d-8854-a928b4fc9200" + "db20c1f8-8d77-4978-8a9a-e8c54e9feafe" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" + "14999" ], "x-ms-correlation-request-id": [ - "1865ce0f-1ba3-4603-9fa5-fe87cd05abeb" + "1c836060-9deb-434a-a192-1c05c58ac3e6" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221925Z:1865ce0f-1ba3-4603-9fa5-fe87cd05abeb" + "WESTUS2:20180219T211524Z:1c836060-9deb-434a-a192-1c05c58ac3e6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3910,13 +2150,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:19:55 GMT" + "Mon, 19 Feb 2018 21:16:24 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3928,23 +2168,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "59c77665-936d-4360-a03b-6549fb221719" + "c7619891-f4bd-49a0-b2db-3582a98cabdd" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" + "14999" ], "x-ms-correlation-request-id": [ - "33fbabcb-8a02-49ae-b83e-e68a3665367f" + "8d02a235-4794-44a5-ad9b-ff1962ff6fb3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T221955Z:33fbabcb-8a02-49ae-b83e-e68a3665367f" + "WESTUS2:20180219T211625Z:8d02a235-4794-44a5-ad9b-ff1962ff6fb3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -3965,13 +2205,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:20:25 GMT" + "Mon, 19 Feb 2018 21:17:25 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -3983,23 +2223,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "dd58ea3c-3ad3-430c-82bf-7850c86bed88" + "f3e4967b-18cf-4047-b201-f7bae68f2c35" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" + "14998" ], "x-ms-correlation-request-id": [ - "235d5d49-04ab-4ef7-921d-c5f425eefdce" + "aea3682f-7f08-49eb-8580-153ecc533d13" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222025Z:235d5d49-04ab-4ef7-921d-c5f425eefdce" + "WESTUS2:20180219T211725Z:aea3682f-7f08-49eb-8580-153ecc533d13" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4020,13 +2260,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:20:55 GMT" + "Mon, 19 Feb 2018 21:18:25 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4038,23 +2278,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "04844191-baf2-42f7-8bb0-548f3ec5a576" + "e0b49ac6-e64b-426f-86cb-da6234e98ea9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14921" + "14997" ], "x-ms-correlation-request-id": [ - "90737ea3-18ed-4954-bed3-22de059ecaab" + "edafc321-59e1-4a93-9c47-0ee3a525c20f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222055Z:90737ea3-18ed-4954-bed3-22de059ecaab" + "WESTUS2:20180219T211825Z:edafc321-59e1-4a93-9c47-0ee3a525c20f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4075,13 +2315,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:25 GMT" + "Mon, 19 Feb 2018 21:19:26 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -4093,23 +2333,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "04650ffe-967d-47ae-8f5c-51064cd8295a" + "f4380e66-3d4b-4026-a931-777328334735" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14920" + "14996" ], "x-ms-correlation-request-id": [ - "e0a1b504-40b0-4643-abd4-11d0388dce37" + "f1c41513-1134-4755-a7b6-b0e5be215640" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222126Z:e0a1b504-40b0-4643-abd4-11d0388dce37" + "WESTUS2:20180219T211926Z:f1c41513-1134-4755-a7b6-b0e5be215640" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/operationresults/c2RrdGVzdGFwaW00MTk1X0FjdF9mNDUyMjQzMg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwME1UazFYMEZqZEY5bU5EVXlNalF6TWclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/operationresults/c2RrdGVzdGFwaW05MjI1X0FjdF8zNWYzZGQ4ZQ%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU1qSTFYMEZqZEY4ek5XWXpaR1E0WlElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -4118,7 +2358,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195\",\r\n \"name\": \"sdktestapim4195\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACat04=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T21:46:13.0496136Z\",\r\n \"gatewayUrl\": \"https://sdktestapim4195.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim4195.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim4195.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim4195.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.176.5.213\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225\",\r\n \"name\": \"sdktestapim9225\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADawnw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T20:41:12.1367301Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9225.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim9225-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9225.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9225.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9225.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.75.210\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -4130,7 +2370,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:56 GMT" + "Mon, 19 Feb 2018 21:20:27 GMT" ], "Pragma": [ "no-cache" @@ -4148,28 +2388,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "0b3d7b5c-5027-49ca-be86-2aeb7ce34282" + "d3eb888d-8689-4b22-996c-a738519267c1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14919" + "14999" ], "x-ms-correlation-request-id": [ - "237a2055-9af9-429f-925a-3a9cc14aef94" + "60b3e721-a891-4dcf-8818-9c68805245a8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222156Z:237a2055-9af9-429f-925a-3a9cc14aef94" + "WESTUS2:20180219T212027Z:60b3e721-a891-4dcf-8818-9c68805245a8" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2U/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2U/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "f907c8a9-b68f-454e-a313-d5200a08098c" + "a24ddb13-31bd-4af5-99a8-a395966a7064" ], "accept-language": [ "en-US" @@ -4179,7 +2419,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195\",\r\n \"name\": \"sdktestapim4195\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACat04=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T21:46:13.0496136Z\",\r\n \"gatewayUrl\": \"https://sdktestapim4195.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim4195.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim4195.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim4195.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.176.5.213\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n }\r\n }\r\n ]\r\n}", + "ResponseBody": "{\r\n \"value\": [\r\n {\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225\",\r\n \"name\": \"sdktestapim9225\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADawnw=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T20:41:12.1367301Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9225.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim9225-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9225.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9225.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9225.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.75.210\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n }\r\n ]\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -4191,7 +2431,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:56 GMT" + "Mon, 19 Feb 2018 21:20:27 GMT" ], "Pragma": [ "no-cache" @@ -4209,28 +2449,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "696fd78f-4c43-406b-b44b-4c19af3f4f4d" + "b3254b5a-a0b0-4767-92c9-a8498c3baec2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14918" + "14998" ], "x-ms-correlation-request-id": [ - "ffd23d58-0077-44c8-8437-2a549d4ace7e" + "e15e3fbd-76b4-4655-a214-b4f2901e61f2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222156Z:ffd23d58-0077-44c8-8437-2a549d4ace7e" + "WESTUS2:20180219T212027Z:e15e3fbd-76b4-4655-a214-b4f2901e61f2" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195/getssotoken?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1L2dldHNzb3Rva2VuP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225/getssotoken?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1L2dldHNzb3Rva2VuP2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "POST", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "c04579c1-ff46-4808-b464-2cb14d1715b5" + "2ccacff9-feb3-4296-b0a7-92c29ddd887e" ], "accept-language": [ "en-US" @@ -4240,7 +2480,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"redirectUri\": \"https://sdktestapim4195.portal.azure-api.net:443/signin-sso?token=1%26201708022226%26WkKc%2fxBMaYse4vv3lYRjdm9zgH3XiIcGaXQiMdDST2F5XAX6zGYJqDMZkKgAqbEefy%2bj8GZz6miTt4lcHGecXg%3d%3d\"\r\n}", + "ResponseBody": "{\r\n \"redirectUri\": \"https://sdktestapim9225.portal.azure-api.net:443/signin-sso?token=1%26201802192125%26edO3neVsljmmRGhlzgo91jk44sdgUfWNFgk%2fjb1HLrK%2fVMX%2ff%2fXMv3RdQydID4PZX0pCoLNC98n2K80GpUbKQg%3d%3d\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -4252,7 +2492,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:56 GMT" + "Mon, 19 Feb 2018 21:20:27 GMT" ], "Pragma": [ "no-cache" @@ -4270,28 +2510,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "24c19bc2-dbf9-434d-ad0f-b36607daf02b" + "b7f928c9-f53f-4a9d-9ca3-34aeb93bded3" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "fae1cca0-8281-4c18-ba4d-8a372ecb6cbb" + "46bce7f6-d828-4fff-9caf-3103e0d94536" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222157Z:fae1cca0-8281-4c18-ba4d-8a372ecb6cbb" + "WESTUS2:20180219T212028Z:46bce7f6-d828-4fff-9caf-3103e0d94536" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8ce2fed0-d02a-40d7-acda-5c36cb7bb956" + "97ed6f01-9d22-4d92-b8ad-dd5f866a7c68" ], "accept-language": [ "en-US" @@ -4313,7 +2553,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:58 GMT" + "Mon, 19 Feb 2018 21:20:29 GMT" ], "Pragma": [ "no-cache" @@ -4331,28 +2571,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e69ff2d7-b56a-4344-a5be-270cf57d8727" + "f18f6af9-7aaf-4deb-8c95-1a6bc1fa6da8" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1197" + "1198" ], "x-ms-correlation-request-id": [ - "b8ad1831-2ccd-4278-b761-f14ed370facd" + "c3003753-78b7-4377-bd6f-feb9a61bf555" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222158Z:b8ad1831-2ccd-4278-b761-f14ed370facd" + "WESTUS2:20180219T212030Z:c3003753-78b7-4377-bd6f-feb9a61bf555" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2581/providers/Microsoft.ApiManagement/service/sdktestapim4195?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI1ODEvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW00MTk1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg6653/providers/Microsoft.ApiManagement/service/sdktestapim9225?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzY2NTMvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05MjI1P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8576e02f-c09f-4edd-b5f5-bef2f65e0512" + "d991ae1f-4b6e-4f05-96b7-e776404d15f4" ], "accept-language": [ "en-US" @@ -4362,7 +2602,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim4195' under resource group 'sdktestrg2581' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim9225' under resource group 'sdktestrg6653' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "164" @@ -4377,7 +2617,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:21:58 GMT" + "Mon, 19 Feb 2018 21:20:29 GMT" ], "Pragma": [ "no-cache" @@ -4386,13 +2626,13 @@ "gateway" ], "x-ms-request-id": [ - "0e23066f-6a4c-43e9-beab-508325833fc2" + "86b13412-cc1d-473e-bd69-d56ce519ec33" ], "x-ms-correlation-request-id": [ - "0e23066f-6a4c-43e9-beab-508325833fc2" + "86b13412-cc1d-473e-bd69-d56ce519ec33" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222158Z:0e23066f-6a4c-43e9-beab-508325833fc2" + "WESTUS2:20180219T212030Z:86b13412-cc1d-473e-bd69-d56ce519ec33" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -4403,18 +2643,17 @@ ], "Names": { "Initialize": [ - "sdktestapim4195", - "sdktestrg2581" + "sdktestapim9225", + "sdktestrg6653" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "ServiceName": "sdktestapim4195", + "ServiceName": "sdktestapim9225", "Location": "Central US", - "ResourceGroup": "sdktestrg2581" + "ResourceGroup": "sdktestrg6653" } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiHostNameService.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiHostNameService.json index dffcb7cbb77b..6f28b37b87f5 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiHostNameService.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiHostNameService.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "46b2207f-8b22-4dc9-be1f-19c3fe1bdc8a" + "75502b84-f5a2-4e38-8917-6a1735a7c577" ], "accept-language": [ "en-US" @@ -17,7 +17,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 19:59:25 GMT" + "Mon, 19 Feb 2018 19:36:30 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14998" ], "x-ms-request-id": [ - "3f0992dc-391a-4b68-96f3-51b42e692d8e" + "79d55c50-042e-4e5b-ad66-2a520506690f" ], "x-ms-correlation-request-id": [ - "3f0992dc-391a-4b68-96f3-51b42e692d8e" + "79d55c50-042e-4e5b-ad66-2a520506690f" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T195926Z:3f0992dc-391a-4b68-96f3-51b42e692d8e" + "WESTUS2:20180219T193631Z:79d55c50-042e-4e5b-ad66-2a520506690f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -56,8 +56,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg4869?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzQ4Njk/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg8782?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzg3ODI/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { @@ -68,7 +68,7 @@ "32" ], "x-ms-client-request-id": [ - "a1432e0c-77f7-4a7a-a077-dc9af1d357e1" + "fcd8118c-41af-474f-b30a-dcaf4343e6b7" ], "accept-language": [ "en-US" @@ -78,7 +78,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869\",\r\n \"name\": \"sdktestrg4869\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782\",\r\n \"name\": \"sdktestrg8782\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "182" @@ -93,7 +93,7 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 19:59:26 GMT" + "Mon, 19 Feb 2018 19:36:31 GMT" ], "Pragma": [ "no-cache" @@ -102,13 +102,13 @@ "1199" ], "x-ms-request-id": [ - "39e23df1-8c9a-4235-889a-7d2cba6323d7" + "c2e3201e-5ad3-4815-b604-9c023c7be52c" ], "x-ms-correlation-request-id": [ - "39e23df1-8c9a-4235-889a-7d2cba6323d7" + "c2e3201e-5ad3-4815-b604-9c023c7be52c" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T195927Z:39e23df1-8c9a-4235-889a-7d2cba6323d7" + "WESTUS2:20180219T193632Z:c2e3201e-5ad3-4815-b604-9c023c7be52c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -117,19 +117,19 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.powershelltest.net\",\r\n \"encodedCertificate\": \"MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ\",\r\n \"certificatePassword\": \"g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw\"\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.powershelltest.net\",\r\n \"encodedCertificate\": \"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\",\r\n \"certificatePassword\": \"g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw\"\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.powershelltest.net\",\r\n \"encodedCertificate\": \"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\",\r\n \"certificatePassword\": \"g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw\"\r\n }\r\n ],\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestBody": "{\r\n \"properties\": {\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.msitesting.net\",\r\n \"encodedCertificate\": \"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\",\r\n \"certificatePassword\": \"Password\",\r\n \"defaultSslBinding\": true\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.msitesting.net\",\r\n \"encodedCertificate\": \"MIIHEwIBAzCCBs8GCSqGSIb3DQEHAaCCBsAEgga8MIIGuDCCA9EGCSqGSIb3DQEHAaCCA8IEggO+MIIDujCCA7YGCyqGSIb3DQEMCgECoIICtjCCArIwHAYKKoZIhvcNAQwBAzAOBAidzys9WFRXCgICB9AEggKQRcdJYUKe+Yaf12UyefArSDv4PBBGqR0mh2wdLtPW3TCs6RIGjP4Nr3/KA4o8V8MF3EVQ8LWd/zJRdo7YP2Rkt/TPdxFMDH9zVBvt2/4fuVvslqV8tpphzdzfHAMQvO34ULdB6lJVtpRUx3WNUSbC3h5D1t5noLb0u0GFXzTUAsIw5CYnFCEyCTatuZdAx2V/7xfc0yF2kw/XfPQh0YVRy7dAT/rMHyaGfz1MN2iNIS048A1ExKgEAjBdXBxZLbjIL6rPxB9pHgH5AofJ50k1dShfSSzSzza/xUon+RlvD+oGi5yUPu6oMEfNB21CLiTJnIEoeZ0Te1EDi5D9SrOjXGmcZjCjcmtITnEXDAkI0IhY1zSjABIKyt1rY8qyh8mGT/RhibxxlSeSOIPsxTmXvcnFP3J+oRoHyWzrp6DDw2ZjRGBenUdExg1tjMqThaE7luNB6Yko8NIObwz3s7tpj6u8n11kB5RzV8zJUZkrHnYzrRFIQF8ZFjI9grDFPlccuYFPYUzSsEQU3l4mAoc0cAkaxCtZg9oi2bcVNTLQuj9XbPK2FwPXaF+owBEgJ0TnZ7kvUFAvN1dECVpBPO5ZVT/yaxJj3n380QTcXoHsav//Op3Kg+cmmVoAPOuBOnC6vKrcKsgDgf+gdASvQ+oBjDhTGOVk22jCDQpyNC/gCAiZfRdlpV98Abgi93VYFZpi9UlcGxxzgfNzbNGc06jWkw8g6RJvQWNpCyJasGzHKQOSCBVhfEUidfB2KEkMy0yCWkhbL78GadPIZG++FfM4X5Ov6wUmtzypr60/yJLduqZDhqTskGQlaDEOLbUtjdlhprYhHagYQ2tPD+zmLN7sOaYA6Y+ZZDg7BYq5KuOQZ2QxgewwDQYJKwYBBAGCNxECMQAwEwYJKoZIhvcNAQkVMQYEBAEAAAAwWwYJKoZIhvcNAQkUMU4eTAB7ADYANwBCADcAQQA1AEMAOQAtAEMAQQAzADIALQA0ADAAQwA0AC0AQQAxADUAMwAtAEEAQgAyADIANwA5ADUARQBGADcAOABBAH0waQYJKwYBBAGCNxEBMVweWgBNAGkAYwByAG8AcwBvAGYAdAAgAFIAUwBBACAAUwBDAGgAYQBuAG4AZQBsACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCAt8GCSqGSIb3DQEHBqCCAtAwggLMAgEAMIICxQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIGa3JOIHoBmsCAgfQgIICmF5H0WCdmEFOmpqKhkX6ipBiTk0Rb+vmnDU6nl2L09t4WBjpT1gIddDHMpzObv3ktWts/wA6652h2wNKrgXEFU12zqhaGZWkTFLBrdplMnx/hr804NxiQa4A+BBIsLccczN21776JjU7PBCIvvmuudsKi8V+PmF2K6Lf/WakcZEq4Iq6gmNxTvjSiXMWZe7Wj4+Izt2aoooDYwfQs4KBlI03HzMSU3omA0rXLtARDXwHAJXW2uFwqihlPdC4gwDd/YFwUvnKn92UmyAvENKUV/uKyH3AF1ZqlUgBzYNXyd8YX9H8rtfho2f6qaJZQC93YU3fs9L1xmWIH5saow8r3K85dGCJsisddNsgwtH/o4imOSs8WJw1EjjdpYhyCjs9gE/7ovZzcvrdXBZditLFN8nRIX5HFGz93PksHAQwZbVnbCwVgTGf0Sy5WstPb340ODE5CrakMPUIiVPQgkujpIkW7r4cIwwyyGKza9ZVEXcnoSWZiFSB7yaEf0SYZEoECZwN52wiMxeosJjaAPpWXFe8x5mHbDZ7/DE+pv+Qlyo7rQIzu4SZ9GCvs33dMC/7+RPy6u32ca87kKBQHR1JeCHeBdklMw+pSFRdHxIxq1l5ktycan943OluTdqND5Vf2RwXdSFv2P53334XNKG82wsfm68w7+EgEClDFLz7FymmIfoFO2z0H0adQvkq/7GcIFBSr1K0KEfT2l6csrMc3NSwzDOFiYJDDf++OYUN4nVKlkVE5j+c9Zo8ZkAlz8I4m756wL7e++xXWgwovlsxkBE5TdwWDZDOE8id6yJf54/o4JwS5SEnnNlvt3gRNdo6yCSUrTHfIr9YhvAdJUXbdSrNm5GZu+2fhgg/UJ7EY8pf5BczhNSDkcAwOzAfMAcGBSsOAwIaBBRzf6NV4Bxf3KRT41VV4sQZ348BtgQU7+VeN+vrmbRv0zCvk7r1ORhJ7YkCAgfQ\",\r\n \"certificatePassword\": \"Password\",\r\n \"negotiateClientCertificate\": true\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.msitesting.net\",\r\n \"encodedCertificate\": \"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\",\r\n \"certificatePassword\": \"Password\"\r\n }\r\n ],\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "11197" + "8182" ], "x-ms-client-request-id": [ - "4c7f89da-4fe9-4033-b034-e0de44467926" + "18dd2167-61b2-4256-aa3c-b8c68e06ad77" ], "accept-language": [ "en-US" @@ -139,10 +139,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775\",\r\n \"name\": \"sdktestapim1775\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACVrkA=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2017-07-13T19:59:29.446961Z\",\r\n \"gatewayUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n }\r\n ],\r\n \"staticIps\": [],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364\",\r\n \"name\": \"sdktestapim5364\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADav4k=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T19:36:34.4582174Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": true\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": true,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": true\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": false\r\n }\r\n ],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "1721" + "1925" ], "Content-Type": [ "application/json; charset=utf-8" @@ -154,16 +154,16 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 19:59:29 GMT" + "Mon, 19 Feb 2018 19:36:34 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAACVrkA=\"" + "\"AAAAAADav4k=\"" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg==?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw==?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -175,24 +175,24 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "094639ad-d8dd-40c6-9a6d-b2e0a959382f", - "7a23458f-b42a-48fd-b056-2fc6d6a7dcb6" + "65231d6d-3513-4a4a-afb3-d254e0c821ba", + "90452ba6-a608-4afe-82c2-807e2659bc75" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "2ddac045-b5a3-4bc6-9cf7-c44bb537eed2" + "a1318042-9507-4475-b51c-d8c366cf71e0" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T195930Z:2ddac045-b5a3-4bc6-9cf7-c44bb537eed2" + "WESTUS2:20180219T193635Z:a1318042-9507-4475-b51c-d8c366cf71e0" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmc9PT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6Tnc9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -213,13 +213,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 19:59:59 GMT" + "Mon, 19 Feb 2018 19:37:35 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -231,23 +231,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7d1d8f4f-e051-4c80-b875-97bc17dae374" + "93349ecb-cf33-454b-a736-470e2d87ec76" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" + "14998" ], "x-ms-correlation-request-id": [ - "bda52496-da61-40a4-9959-3c24124689be" + "18f6c54f-ff18-4935-9b2c-f1f79d7033a2" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200000Z:bda52496-da61-40a4-9959-3c24124689be" + "WESTUS2:20180219T193736Z:18f6c54f-ff18-4935-9b2c-f1f79d7033a2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -268,13 +268,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:00:30 GMT" + "Mon, 19 Feb 2018 19:38:35 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -286,23 +286,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "68e94d92-2de7-41ae-ba2b-aa0098b460d8" + "0f5beb6e-4cb8-4c09-b234-61a6e6391df1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" + "14997" ], "x-ms-correlation-request-id": [ - "4219ec99-121d-41ed-b16d-72019a2caf80" + "40be5f88-6aea-4017-87fa-073796c52fda" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200030Z:4219ec99-121d-41ed-b16d-72019a2caf80" + "WESTUS2:20180219T193836Z:40be5f88-6aea-4017-87fa-073796c52fda" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -323,13 +323,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:01:00 GMT" + "Mon, 19 Feb 2018 19:39:36 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -341,23 +341,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bcf1ca6f-514d-495e-85b0-c2e42b4761b3" + "50386cb6-8993-42e8-9c6b-cddb80a30a18" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" + "14996" ], "x-ms-correlation-request-id": [ - "beab2d4a-e40b-4d6a-9e2e-9a3735b93a19" + "c82a0443-db4e-4892-984f-bed3ed1c1622" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200100Z:beab2d4a-e40b-4d6a-9e2e-9a3735b93a19" + "WESTUS2:20180219T193936Z:c82a0443-db4e-4892-984f-bed3ed1c1622" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -378,13 +378,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:01:30 GMT" + "Mon, 19 Feb 2018 19:40:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -396,23 +396,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "96faad4c-ffe4-4c44-9f00-54bbc98fdd49" + "2dfd23ba-3993-4dfd-a52b-555af8ae3ab5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" + "14999" ], "x-ms-correlation-request-id": [ - "663a1adc-3728-453d-ad3a-870039a0d128" + "b310d6bf-56e2-4fec-9e2b-787c9c763689" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200130Z:663a1adc-3728-453d-ad3a-870039a0d128" + "WESTUS2:20180219T194037Z:b310d6bf-56e2-4fec-9e2b-787c9c763689" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -433,13 +433,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:02:00 GMT" + "Mon, 19 Feb 2018 19:41:37 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -451,23 +451,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6d44fcf0-ca6c-47e7-a215-cc58c56dc0ad" + "9a7028f5-2154-4be5-900d-4f58919fc98d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" + "14998" ], "x-ms-correlation-request-id": [ - "f1a5a1fe-f4e0-427a-b071-9565108ccde7" + "e0deef66-fe12-4f7a-9580-cc3e25c44db7" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200200Z:f1a5a1fe-f4e0-427a-b071-9565108ccde7" + "WESTUS2:20180219T194137Z:e0deef66-fe12-4f7a-9580-cc3e25c44db7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -488,13 +488,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:02:30 GMT" + "Mon, 19 Feb 2018 19:42:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -506,23 +506,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22c71e9d-7d74-4a42-922f-7b4f2a47f126" + "1c8863b4-fb16-44eb-8210-6ebd2fa3ee41" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "14997" ], "x-ms-correlation-request-id": [ - "37b4879e-aa41-44a7-97c5-dbe0f01fe043" + "9f73c2e5-8809-422f-8b93-5eaca7ef5c4b" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200230Z:37b4879e-aa41-44a7-97c5-dbe0f01fe043" + "WESTUS2:20180219T194238Z:9f73c2e5-8809-422f-8b93-5eaca7ef5c4b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -543,13 +543,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:03:01 GMT" + "Mon, 19 Feb 2018 19:43:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -561,23 +561,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "daef4260-e3fa-4647-890d-f7486e0b85fc" + "72908b26-8d85-4555-b851-65e8c5c12c01" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14996" ], "x-ms-correlation-request-id": [ - "c73fc247-cb7d-45a8-8de8-9540ad3deb99" + "d8a22cc2-fd8b-4c1b-9a6d-f1664160dfa6" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200301Z:c73fc247-cb7d-45a8-8de8-9540ad3deb99" + "WESTUS2:20180219T194338Z:d8a22cc2-fd8b-4c1b-9a6d-f1664160dfa6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -598,13 +598,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:03:31 GMT" + "Mon, 19 Feb 2018 19:44:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -616,23 +616,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d8a1d824-a137-4e08-84a2-e256254e1081" + "4c892a57-0bb4-49a4-a1da-e4b1ee583aab" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14995" ], "x-ms-correlation-request-id": [ - "0b8a077c-b997-4496-bdd0-f06b6447c319" + "a8834651-0305-4907-9b65-426dee5068fa" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200331Z:0b8a077c-b997-4496-bdd0-f06b6447c319" + "WESTUS2:20180219T194438Z:a8834651-0305-4907-9b65-426dee5068fa" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -653,13 +653,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:04:01 GMT" + "Mon, 19 Feb 2018 19:45:39 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -671,23 +671,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "90b877cf-ea06-483f-ad32-7335cbdd52c3" + "2acaa7ce-5e3e-467d-ba98-93d741b70689" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14994" ], "x-ms-correlation-request-id": [ - "12f236dd-c854-4d8c-83c5-0d9cf79a9aa7" + "9ef18081-de63-426e-a25c-819a317b35b3" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200401Z:12f236dd-c854-4d8c-83c5-0d9cf79a9aa7" + "WESTUS2:20180219T194539Z:9ef18081-de63-426e-a25c-819a317b35b3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -708,13 +708,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:04:31 GMT" + "Mon, 19 Feb 2018 19:46:38 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -726,23 +726,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "14e8dcff-ce33-4f5e-9c36-7e4085e59490" + "e5b23233-dde1-4bbb-a50e-cbe57415dfb2" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14993" ], "x-ms-correlation-request-id": [ - "a2467d05-803c-41b4-903c-b0725a44eb69" + "10a80cd1-0bbe-44ce-b5fd-2d7d7974fe50" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200431Z:a2467d05-803c-41b4-903c-b0725a44eb69" + "WESTUS2:20180219T194639Z:10a80cd1-0bbe-44ce-b5fd-2d7d7974fe50" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -763,13 +763,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:05:01 GMT" + "Mon, 19 Feb 2018 19:47:39 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -781,23 +781,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "1cf0e9b0-0b23-46e6-ae54-46efe7bd96d0" + "12fbab4e-1e96-4232-be26-2185a393b34c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" + "14999" ], "x-ms-correlation-request-id": [ - "76881417-036b-49ef-9e2b-39bfe5e53a11" + "77547456-2323-4dec-a9c1-140fb93a68e1" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200501Z:76881417-036b-49ef-9e2b-39bfe5e53a11" + "WESTUS2:20180219T194739Z:77547456-2323-4dec-a9c1-140fb93a68e1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -818,13 +818,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:05:31 GMT" + "Mon, 19 Feb 2018 19:48:39 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -836,23 +836,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d4437f66-01cc-4f40-baad-85f543969f5e" + "ff00e889-759c-49f8-becf-69cfd93a3676" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" + "14998" ], "x-ms-correlation-request-id": [ - "316f8655-7cfb-41ea-9e4e-02f3df190bea" + "69f6c1b7-163b-44bd-a652-5cd831c163b9" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200531Z:316f8655-7cfb-41ea-9e4e-02f3df190bea" + "WESTUS2:20180219T194839Z:69f6c1b7-163b-44bd-a652-5cd831c163b9" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -873,13 +873,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:06:01 GMT" + "Mon, 19 Feb 2018 19:49:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -891,23 +891,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2feba55e-c058-4b5a-a5b4-371097d5a8ae" + "82e8cc4e-573c-4fdd-8386-876414d2874f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14944" + "14995" ], "x-ms-correlation-request-id": [ - "ae0274ab-662d-4293-92c8-80e70092c07a" + "dcd713f4-114c-422c-8546-bb8e387835c6" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200601Z:ae0274ab-662d-4293-92c8-80e70092c07a" + "WESTUS2:20180219T194940Z:dcd713f4-114c-422c-8546-bb8e387835c6" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -928,13 +928,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:06:31 GMT" + "Mon, 19 Feb 2018 19:50:40 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -946,23 +946,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "64a02b72-f8ec-429e-a035-b07ee4409fb5" + "856ffaca-3b28-4203-b67f-401f03749d09" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14999" ], "x-ms-correlation-request-id": [ - "b896d73c-93bf-435b-b089-1feb612dcd41" + "36811239-bab8-4749-b00b-a1ef5cd62cec" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200632Z:b896d73c-93bf-435b-b089-1feb612dcd41" + "WESTUS2:20180219T195041Z:36811239-bab8-4749-b00b-a1ef5cd62cec" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -983,13 +983,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:07:02 GMT" + "Mon, 19 Feb 2018 19:51:42 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1001,23 +1001,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7dc34d6f-2e44-4f1b-bf20-0a5611cb1926" + "9b5309c7-c54e-422f-ada8-8ca753cffba7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14998" ], "x-ms-correlation-request-id": [ - "d41aaf76-7231-4ece-a084-b60ed02fafaa" + "091d10ac-d461-4124-b7b4-267bacca40a5" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200702Z:d41aaf76-7231-4ece-a084-b60ed02fafaa" + "WESTUS2:20180219T195142Z:091d10ac-d461-4124-b7b4-267bacca40a5" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1038,13 +1038,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:07:32 GMT" + "Mon, 19 Feb 2018 19:52:42 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1056,23 +1056,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6763ae49-cbbd-452a-894e-288bf726aa44" + "ff54c558-428f-44e9-aef3-d1e331286927" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "14997" ], "x-ms-correlation-request-id": [ - "87634163-487d-4d68-af3d-48669f1259ed" + "7ff1d5a9-e8db-41f7-b789-68c94d54b4c7" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200732Z:87634163-487d-4d68-af3d-48669f1259ed" + "WESTUS2:20180219T195243Z:7ff1d5a9-e8db-41f7-b789-68c94d54b4c7" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1093,13 +1093,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:08:02 GMT" + "Mon, 19 Feb 2018 19:53:42 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1111,23 +1111,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bbb014cf-3bde-4066-9195-2746c255eab1" + "6364c10d-114a-46e3-8305-9b9ccc2ec740" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14999" ], "x-ms-correlation-request-id": [ - "b6e64c4a-1da4-453e-ba79-233a13c73918" + "559090c8-12f7-4ddf-a274-8f6fb3f7b292" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200802Z:b6e64c4a-1da4-453e-ba79-233a13c73918" + "WESTUS2:20180219T195343Z:559090c8-12f7-4ddf-a274-8f6fb3f7b292" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1148,13 +1148,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:08:31 GMT" + "Mon, 19 Feb 2018 19:54:43 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1166,23 +1166,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "bf971d4f-50b9-4b07-8b59-9f15057736c9" + "a2e05e3e-06a4-4546-96b1-61ba608670d3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14939" + "14997" ], "x-ms-correlation-request-id": [ - "3ee4cc45-ead4-4a4b-8fb6-e7be062e0e23" + "d458cd04-b1f7-4b34-a02a-b9b97b864531" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200832Z:3ee4cc45-ead4-4a4b-8fb6-e7be062e0e23" + "WESTUS2:20180219T195444Z:d458cd04-b1f7-4b34-a02a-b9b97b864531" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1203,13 +1203,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:09:02 GMT" + "Mon, 19 Feb 2018 19:55:43 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1221,23 +1221,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "24e5bc87-7c6a-465b-bc43-b36547a23e01" + "777dec6c-dbcf-4767-9f1a-3e076b3adaa1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" + "14996" ], "x-ms-correlation-request-id": [ - "d41652be-1dda-4861-b14c-c2280886a351" + "453ef30d-96e4-4b36-94a2-e8406c5fe724" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200902Z:d41652be-1dda-4861-b14c-c2280886a351" + "WESTUS2:20180219T195544Z:453ef30d-96e4-4b36-94a2-e8406c5fe724" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1258,13 +1258,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:09:32 GMT" + "Mon, 19 Feb 2018 19:56:44 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1276,23 +1276,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c1a9d073-8c33-458b-91c5-6358eeec6ff5" + "fcaa355f-ab83-4461-b3c1-c06b149b04f7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" + "14995" ], "x-ms-correlation-request-id": [ - "5cf6ce1f-5915-49b1-9d8e-6f1ac76663b2" + "d0e1819e-498e-44fe-8822-8bfccc86dff8" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T200932Z:5cf6ce1f-5915-49b1-9d8e-6f1ac76663b2" + "WESTUS2:20180219T195645Z:d0e1819e-498e-44fe-8822-8bfccc86dff8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1313,13 +1313,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:10:02 GMT" + "Mon, 19 Feb 2018 19:57:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1331,23 +1331,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "85682e2f-ec86-4df7-8f56-0dabe1e13944" + "1f7e5cf9-4197-44a5-a431-f3a0eae663eb" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14943" + "14998" ], "x-ms-correlation-request-id": [ - "1997d633-d9f1-4a31-b696-8b5ee77668c4" + "13c01af4-d9ac-42ac-8d45-96f3c9c6e527" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T201003Z:1997d633-d9f1-4a31-b696-8b5ee77668c4" + "WESTUS2:20180219T195746Z:13c01af4-d9ac-42ac-8d45-96f3c9c6e527" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1368,13 +1368,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:10:32 GMT" + "Mon, 19 Feb 2018 19:58:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1386,23 +1386,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "41123fa4-d2da-46b0-8d14-399ec5cefbff" + "e0d3573f-de46-4fa8-be8f-1490c9b721d9" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14942" + "14997" ], "x-ms-correlation-request-id": [ - "92a68e75-6cad-492d-86ce-a616f391c1fe" + "4e89e186-f5e3-46c3-a57f-99f5d3090363" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T201033Z:92a68e75-6cad-492d-86ce-a616f391c1fe" + "WESTUS2:20180219T195846Z:4e89e186-f5e3-46c3-a57f-99f5d3090363" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1423,13 +1423,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:11:02 GMT" + "Mon, 19 Feb 2018 19:59:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1441,23 +1441,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "adb6824c-0ee1-436d-a1d3-c3c4ce8b02de" + "2dce9f2c-2248-4bc7-ac7c-cc066bbbe589" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14941" + "14996" ], "x-ms-correlation-request-id": [ - "6eb3434e-8202-4ca5-9994-118c1058ebce" + "5c14d834-de5b-48e5-80d5-3d8064e9c6d1" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T201103Z:6eb3434e-8202-4ca5-9994-118c1058ebce" + "WESTUS2:20180219T195947Z:5c14d834-de5b-48e5-80d5-3d8064e9c6d1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1478,13 +1478,13 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:11:32 GMT" + "Mon, 19 Feb 2018 20:00:46 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1496,23 +1496,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "78f07154-fd66-4090-b637-7c846cfa356f" + "3fa3c3b4-4c9e-40ce-84a5-6aef696b236a" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14940" + "14999" ], "x-ms-correlation-request-id": [ - "d004b44e-de07-4b6d-bbe8-be2869b88d9a" + "9c1f296c-9d42-4ebf-8936-cc2c14e646c5" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T201133Z:d004b44e-de07-4b6d-bbe8-be2869b88d9a" + "WESTUS2:20180219T200047Z:9c1f296c-9d42-4ebf-8936-cc2c14e646c5" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364/operationresults/c2RrdGVzdGFwaW01MzY0X0FjdF9iMjFmMGUzNw%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMU16WTBYMEZqZEY5aU1qRm1NR1V6TnclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1521,1437 +1521,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:12:02 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "fabcaad3-7ea0-49b9-a48f-be6778f4450b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14938" - ], - "x-ms-correlation-request-id": [ - "9945d5ba-f43b-48f6-97eb-6c508014b7d2" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201203Z:9945d5ba-f43b-48f6-97eb-6c508014b7d2" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:12:33 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "238f012e-87ba-41a0-8576-a93c066368e8" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" - ], - "x-ms-correlation-request-id": [ - "ab1f2eb1-5d4e-4536-97d5-00c2cbcf50c7" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201233Z:ab1f2eb1-5d4e-4536-97d5-00c2cbcf50c7" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:13:03 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "1bbbeef8-3fe5-401f-bb77-7d0b804e5030" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" - ], - "x-ms-correlation-request-id": [ - "920e4913-68f6-4afa-92b3-eaf3de016d02" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201303Z:920e4913-68f6-4afa-92b3-eaf3de016d02" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:13:33 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9efebc3f-fff8-40df-bf51-f8f78e5075e9" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" - ], - "x-ms-correlation-request-id": [ - "acc7b687-a6c2-4117-ab30-aee2002bfc67" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201334Z:acc7b687-a6c2-4117-ab30-aee2002bfc67" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:14:03 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "74a2bfd3-76bd-4651-98b0-a59c4b0b2b0f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], - "x-ms-correlation-request-id": [ - "d110947f-1258-4cf4-be3b-d9d09796dbcd" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201404Z:d110947f-1258-4cf4-be3b-d9d09796dbcd" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:14:33 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "04b66ae5-a27f-490f-8c21-4065a7992730" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], - "x-ms-correlation-request-id": [ - "866c6364-0d22-4ed4-93de-4e38c464664f" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201434Z:866c6364-0d22-4ed4-93de-4e38c464664f" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:15:03 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "197f21cb-c35c-4be4-ab1f-69122d0fbd3f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14937" - ], - "x-ms-correlation-request-id": [ - "a0401ac9-2b56-4611-a36e-a6ad476d8a4b" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201504Z:a0401ac9-2b56-4611-a36e-a6ad476d8a4b" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:15:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "eb63d571-6a43-4b9f-87ac-76eec6d7c91f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14936" - ], - "x-ms-correlation-request-id": [ - "c4cb1c3d-70f6-4003-b030-3ddc5df9a583" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201535Z:c4cb1c3d-70f6-4003-b030-3ddc5df9a583" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:16:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "bfabb181-ceab-4257-97a1-6d1727b29954" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14935" - ], - "x-ms-correlation-request-id": [ - "4192cfad-09b6-4562-89e7-b1d3bf203614" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201605Z:4192cfad-09b6-4562-89e7-b1d3bf203614" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:16:34 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "630daa30-33dc-4084-b4a7-8174d33da514" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14934" - ], - "x-ms-correlation-request-id": [ - "f23a40df-d7ab-45e9-a37f-db70aaa236bf" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201635Z:f23a40df-d7ab-45e9-a37f-db70aaa236bf" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:17:04 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "491034ce-acd3-45df-ab2e-f2e8a7ba8280" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14933" - ], - "x-ms-correlation-request-id": [ - "6589b921-244a-4229-8ce9-2221d3438b85" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201705Z:6589b921-244a-4229-8ce9-2221d3438b85" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:17:34 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "38db89fa-bb97-41f3-82aa-ab51257c9c54" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14932" - ], - "x-ms-correlation-request-id": [ - "8cff0761-9e65-41b4-9af6-a1c425c2d1d6" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201735Z:8cff0761-9e65-41b4-9af6-a1c425c2d1d6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:18:05 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "cf1f2add-bb75-4f55-8d85-70af1801bae3" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14931" - ], - "x-ms-correlation-request-id": [ - "8bb390df-f0a8-45fc-8c56-6b00f67ab0b4" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201805Z:8bb390df-f0a8-45fc-8c56-6b00f67ab0b4" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:18:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "ec61cf3f-4019-4b9b-9961-74067858dabd" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14930" - ], - "x-ms-correlation-request-id": [ - "51087544-c04b-4b54-9dbc-981750941276" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201836Z:51087544-c04b-4b54-9dbc-981750941276" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:19:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "bfa93a24-0e51-4c42-9876-3cb2df86c04f" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14929" - ], - "x-ms-correlation-request-id": [ - "10dee113-4ef4-4556-af72-8c9540252716" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201906Z:10dee113-4ef4-4556-af72-8c9540252716" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:19:35 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "09d5bc2c-5d82-4124-bb53-e6e2e677f536" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14928" - ], - "x-ms-correlation-request-id": [ - "300c07dc-22e8-4854-b247-777d5565ff41" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T201936Z:300c07dc-22e8-4854-b247-777d5565ff41" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:20:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "7ee542fc-20cf-42f4-98e5-13f2bfa7fd29" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14927" - ], - "x-ms-correlation-request-id": [ - "5ff440b6-a648-4b1d-9b73-ca0bc9217ab0" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202006Z:5ff440b6-a648-4b1d-9b73-ca0bc9217ab0" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:20:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "411b4abf-a9da-4497-b35b-365cd69c56ea" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14926" - ], - "x-ms-correlation-request-id": [ - "32f64b35-d896-46a3-a2ba-1bc97c2fa6ae" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202036Z:32f64b35-d896-46a3-a2ba-1bc97c2fa6ae" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:21:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "c4dee28e-c624-48f0-9bed-2392912af128" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14924" - ], - "x-ms-correlation-request-id": [ - "e1dc1a31-6c67-4c70-ab14-1e2bb0b60cc1" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202106Z:e1dc1a31-6c67-4c70-ab14-1e2bb0b60cc1" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:21:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "65edfe01-7fb9-4c32-adee-c20fbb4b56dc" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14923" - ], - "x-ms-correlation-request-id": [ - "d1b16131-1ba9-4207-b2bd-7cf0ccfb08e7" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202137Z:d1b16131-1ba9-4207-b2bd-7cf0ccfb08e7" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:22:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "439151df-0fb3-496d-97f6-19369ec63658" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14922" - ], - "x-ms-correlation-request-id": [ - "e07ae6b3-3b17-47bb-8aba-9e9a1e801bc6" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202207Z:e07ae6b3-3b17-47bb-8aba-9e9a1e801bc6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:22:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a3037e39-28f5-493c-a664-9232e3a59cef" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14921" - ], - "x-ms-correlation-request-id": [ - "a24f4e47-c84a-47ae-8d3c-757d58ec25c6" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202237Z:a24f4e47-c84a-47ae-8d3c-757d58ec25c6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:23:06 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "09023dca-4900-4fcd-a49d-08444acf18d4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14920" - ], - "x-ms-correlation-request-id": [ - "4ebadbad-19d0-4770-b3ba-18902009a7d7" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202307Z:4ebadbad-19d0-4770-b3ba-18902009a7d7" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:23:36 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "33d696d1-82bd-4a72-8ab6-b665fdf3520b" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14919" - ], - "x-ms-correlation-request-id": [ - "256e5550-adb0-4406-b847-3bc84b75499e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202337Z:256e5550-adb0-4406-b847-3bc84b75499e" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:24:07 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d82ac9fb-4045-478d-804c-7889c0873b9a" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14918" - ], - "x-ms-correlation-request-id": [ - "9aa40e60-bce1-4d12-988c-94180339c526" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202407Z:9aa40e60-bce1-4d12-988c-94180339c526" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Thu, 13 Jul 2017 20:24:37 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "8a52f345-c7e1-4d24-ab91-410f84927f14" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14916" - ], - "x-ms-correlation-request-id": [ - "399e4254-0e46-4a44-b2f9-b78ca7851a8e" - ], - "x-ms-routing-request-id": [ - "WESTUS:20170713T202437Z:399e4254-0e46-4a44-b2f9-b78ca7851a8e" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775/operationresults/c2RrdGVzdGFwaW0xNzc1X0FjdF9hZGMzNTlhZg%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweE56YzFYMEZqZEY5aFpHTXpOVGxoWmclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775\",\r\n \"name\": \"sdktestapim1775\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACVrpY=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-07-13T19:59:29.446961Z\",\r\n \"gatewayUrl\": \"https://sdktestapim1775.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim1775.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim1775.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim1775.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.powershelltest.net\",\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2017-09-22T00:00:00-07:00\",\r\n \"thumbprint\": \"E861A19B22EE98AC71F84AC00C5A05E2E7206820\",\r\n \"subject\": \"CN=*.powershelltest.net\"\r\n }\r\n }\r\n ],\r\n \"staticIps\": [\r\n \"52.176.111.170\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364\",\r\n \"name\": \"sdktestapim5364\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADawHs=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T19:36:34.4582174Z\",\r\n \"gatewayUrl\": \"https://sdktestapim5364.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim5364-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim5364.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim5364.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim5364.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway1.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": true\r\n },\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"gateway2.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": true,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": true\r\n },\r\n {\r\n \"type\": \"Portal\",\r\n \"hostName\": \"portal1.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": false\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.88.83\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -2963,7 +1533,7 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:25:07 GMT" + "Mon, 19 Feb 2018 20:02:07 GMT" ], "Pragma": [ "no-cache" @@ -2981,28 +1551,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d1e5fc01-cbcc-4a25-aebf-fe39ec5c6b30" + "0e8b0f08-2ded-4787-a881-e33386bb18b5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14916" + "14998" ], "x-ms-correlation-request-id": [ - "c9c72f37-16e5-44f0-801a-0689c4ca7685" + "7de1211b-d49e-4eb2-abf1-831d2c11762f" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T202508Z:c9c72f37-16e5-44f0-801a-0689c4ca7685" + "WESTUS2:20180219T200207Z:7de1211b-d49e-4eb2-abf1-831d2c11762f" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "8d6145ce-faa2-40f3-a190-0f21ec8667f9" + "943ea2b0-8132-43db-b6c6-70cc2144eae6" ], "accept-language": [ "en-US" @@ -3024,7 +1594,7 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:25:10 GMT" + "Mon, 19 Feb 2018 20:02:08 GMT" ], "Pragma": [ "no-cache" @@ -3042,28 +1612,28 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b7d33062-75f1-47ed-83ce-35f78d5ba258" + "2053b300-a31a-42a9-8dae-7eac62dc5d0f" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "989e3ef5-e7fd-4551-86e5-88058b9255cf" + "cc79d0be-2908-4fa5-be62-b61f31773cef" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T202510Z:989e3ef5-e7fd-4551-86e5-88058b9255cf" + "WESTUS2:20180219T200208Z:cc79d0be-2908-4fa5-be62-b61f31773cef" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg4869/providers/Microsoft.ApiManagement/service/sdktestapim1775?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzQ4NjkvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0xNzc1P2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg8782/providers/Microsoft.ApiManagement/service/sdktestapim5364?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzg3ODIvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW01MzY0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5507c28e-ab55-4559-9c46-0c61257806aa" + "b63b141f-8a32-4ba7-9b7e-c0f2d078b51a" ], "accept-language": [ "en-US" @@ -3073,7 +1643,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim1775' under resource group 'sdktestrg4869' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim5364' under resource group 'sdktestrg8782' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "164" @@ -3088,7 +1658,7 @@ "no-cache" ], "Date": [ - "Thu, 13 Jul 2017 20:25:10 GMT" + "Mon, 19 Feb 2018 20:02:08 GMT" ], "Pragma": [ "no-cache" @@ -3097,13 +1667,13 @@ "gateway" ], "x-ms-request-id": [ - "dd3912ee-e457-4f06-820f-f46ec7c975f4" + "4265f77c-d86e-4899-be08-fe5850ac380b" ], "x-ms-correlation-request-id": [ - "dd3912ee-e457-4f06-820f-f46ec7c975f4" + "4265f77c-d86e-4899-be08-fe5850ac380b" ], "x-ms-routing-request-id": [ - "WESTUS:20170713T202510Z:dd3912ee-e457-4f06-820f-f46ec7c975f4" + "WESTUS2:20180219T200208Z:4265f77c-d86e-4899-be08-fe5850ac380b" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3114,18 +1684,17 @@ ], "Names": { "Initialize": [ - "sdktestapim1775", - "sdktestrg4869" + "sdktestapim5364", + "sdktestrg8782" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "MIIKBAIBAzCCCcAGCSqGSIb3DQEHAaCCCbEEggmtMIIJqTCCBhoGCSqGSIb3DQEHAaCCBgsEggYHMIIGAzCCBf8GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAi6nUtB1pk8bwICB9AEggTYHTQWEah9YeHvpuE4TX0Vyjq8nR+1FZ5D0JCY5TMBIrKgs8TOhZ18n8IG8u2okXq3w8foE7zwZSGKOHLYmSAfANAyok+2P3YlHpnH/wNccP10Z5PtDwKvHD2ourQYAuQg7fLmTBHIi6iEcO3pAR3gAv+x5otQJs55Oykkx2jItnDfAZGurA7IOiJWSDb3UtyTpCJov8Li5k0AiKd81YGJFu+I098v7dLmJAZJEcs4n/D6QjIkmQKv7ICOzXSgeYZIomJ7lXmzLmpscWZo43KBf/YPSFk7eS5x24DFoa5iCoYpUBXE2SI0TG/unG/y31Z3nInLct71PwK+arOfGw6+7cUTtPWprepY0KnwWSxCijOr7V4NjcpqtznhyAw2b2SkeurR9VZdAD03SpBhZ3RzLU35ypsth26fVH7q3baPZONR3wRSApU5B1aFw4EmfyKDY9613pWuROHxvBqdgb0+wAJeKpYF9oXlc4yGB/NtRRsnAo3YrAJoRhBpiXZqnSn1tuRRL8mhNnUSCGOFxGRyg/lAVILEzrRcvUFUcDGUQzjMS/niy+d28LwgZC1hprmdIXWlxUMyQ4R8JOY9TUIpYCKp/YMk0KJimIDUrhYLM029JZ7axjlhAykleoJGQrRlfA9aog5EJ6saL8UkdZAzQfzM6SdKnGWwNZ5/wWIfoAiFsXAG78FY/Io8MUBUBnOUF+sNFlxk/nrsHH/ZLRMBwbPcDzCi2HJqvFZcE/sA+InjGoijSPbaresixM6QmtTNaD4ZzbRm+GpY6EMT2uUIXdT6wFlZJ1rveQ5SBqO4xjkbfU5y1FxCtfNxzYWh/qNyqUQDbusJY7ekUHhquymreXZ7Pr3zkJMndbnCPe+3MQMaqFOp+gUUUov+Qdk7q4HYJpsqUIrwhXLqi++vD+gaEKaXYkPeYkJplDkFCXSOhpWDGYWjwjKmnH/EpFdBclHAkZ8Ldwdzu33XYJi1uZUO7KMA8FYQLhkb+FAOg6EqE8Px28q+TRnGeDhvpV4MQlxcs8t0H11iXZ4+Ucr3DQpOiylNRc1lBabRPnPnAadOrc0WoumH/i33pGkP1ECWAwbfHGgDwUvcwO0/GOhVTjGW9v82pC7emb16T4Eeww5lKoTxcqza35ZMZQj0EAD69caWjW+NID7L0HZ/JHPU9iqG7dx+xcFaG/JhrR0M2MQRBotzRVWwcQD/O3vNNgZlKPSbx2EbuymaVe8t5dyQdRW5+9dB+ab9TQbf71+WVEYUBYyC5UHgg1F3jpMxBAjJqm+m7rm/kmD3/PXrCO//Cgbcb3J3qisjAZU7o/rx8QHYGLBq+TPNzbaCd7BJR17Z6f3QU8jKag21xBNrIxqL0UnVNWsPo7AHiq34WIPCax191dtvs6MdNwvvT03Kpi3fxpUbB5i4ia8M3qIFamutlnYKEWIOXwvTKSJ/PRG0I8VzXT0RGH9X0KXyvBqtm4vcVxarsYTiOe1LrDqrxfxmQyBJLbP93oKFd+4gog8mCh9eb6ecG9tM5q7Pcmeoe/KUmXKl+LsLWriPKWy7FMAv4vjN+VMKy5G0k7E3qLzzpzGDV+gVsef6XN0HgL5VRjMpJC/r+0mfZt9R9tuE0bMKcJdomCrHeOELSD6k48cpagF+GKVKHHMxS29fOTGB7TATBgkqhkiG9w0BCRUxBgQEAQAAADBbBgkqhkiG9w0BCRQxTh5MAHsANAA5ADcAMAAzADkARQBGAC0ANQA0ADEAMgAtADQAMQAwADcALQBBADMAQgAwAC0AMAA5ADAANQA2AEYANAA3ADIARQA4AEQAfTB5BgkrBgEEAYI3EQExbB5qAE0AaQBjAHIAbwBzAG8AZgB0ACAARQBuAGgAYQBuAGMAZQBkACAAUgBTAEEAIABhAG4AZAAgAEEARQBTACAAQwByAHkAcAB0AG8AZwByAGEAcABoAGkAYwAgAFAAcgBvAHYAaQBkAGUAcjCCA4cGCSqGSIb3DQEHBqCCA3gwggN0AgEAMIIDbQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQMwDgQIEhOq6lmMu+ACAgfQgIIDQJy8hO9pVz3I/iZLB3HL55Ln3o5liDDzH9HVFTIThW2Zi5KT3z+vvVIdJNPhbLlrdZJ7FzxhE0USttK+aR17hJLbHSxw+1qZJ9CcYElXIApbsw9W+kScdK3F+pjsdFxR1Zdpxa4vNTaucaJ8ckUTVdGnDDX7OwHAlyQnVvSrL3AYuhU+FSgimzGocfGuPu8PgiSncPlnI5UKcxwnTkLnv51YDWaJkOx+NZYLQqm86fupRLn7waLcvQ0BfBADSfypAYInyqxpw3x78k/1z5aEI5RNX08GgNqDG1oBb8Dr9QHAPZNvLEnlmgzGJvkEoKZ1bQQQZau+JiKFzJ2GL+A5oZxgAcmw0L9aHP8MEJ1cVgnapldGHRaC10VDHEmhPAyOk67hcFHu1aBkxHlS/fRf2oLOSbGO0uVIhFpKPmgUuNjImJBmfB42Fsmt6i1hdoi4Ksawm6SLwLA3aqfpzO0yczYUzykU98/DHShe9GUvchg9AoNat3hUS9H3v2QoGFDDF1AGR284l8MsHN+hHyqZgv0xvFyzlMqAl2oh7/vKZADNbt64Do/dDz0G/dAW4YRwljAC7PqiTHZ6ctyGnWi3pm+ThZov9KtUhu4qtB092hShLFGOaVWeIDPpKc7dFefKmarBi7R6AKyQu0QIyBANdUTXMHK8JGTPSkUrWkGL6FBOVmyh5LNv4qQn51gHvBO+7B2AXVe3BRyPHFavfZ+y7lKKUnn223bGqF3AxBPeTXnrwTPIPJdIfTZ6fwHPj23RhhXKBvQ5b4PbxTdvZgQ47OZgR1yHCSnQcDFCxB4gqVmFJmvoTTBcNGEW8BSyGwuACHb61K/x/1zzC9oa1hrrgWkv9PnjCQgDt52Zma2SwbFaezVPWuhNpjRX2TFQhGgsSmPdozHKcQ/g0ynSDv598t1b5p26fI+Hh/vS/0M3JVts3FaBIMsvYz2GamUsl0O4N18WF6NnB1JVTYQwDe5kBvAkGhw1gBOOcMdsF8XfBohbWZYY2oAIOhSpzcvhwU3pKKiXyCnjE8oxOeJt98P5EjPy1Q01he0ss690n2KcFdShNJQg86HiK9eb4xMvA/Emsx9stndidEabAKYwcwLuygQwOzAfMAcGBSsOAwIaBBTn8idtNZ8KT0SxhorK9HHB3r2OrAQUC+mAIUAQz6VrXyhF9TTidJ/gSyQCAgfQ", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "ServiceName": "sdktestapim1775", + "ServiceName": "sdktestapim5364", "Location": "Central US", - "ResourceGroup": "sdktestrg4869" + "ResourceGroup": "sdktestrg8782" } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiRegionService.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiRegionService.json index 011f08569802..36d433210c64 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiRegionService.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/CreateMultiRegionService.json @@ -7,7 +7,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "aed50803-6569-4b48-9ba1-5bd96be31b67" + "907d21ce-1979-46f8-bc30-48fb5af28b17" ], "accept-language": [ "en-US" @@ -17,7 +17,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -29,7 +29,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:22:07 GMT" + "Mon, 19 Feb 2018 22:23:02 GMT" ], "Pragma": [ "no-cache" @@ -38,16 +38,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14995" + "14998" ], "x-ms-request-id": [ - "67978f9a-5a38-4d7f-9e77-b9e6a3915000" + "ff08854c-c784-49bc-affb-6a7ed4c8a339" ], "x-ms-correlation-request-id": [ - "67978f9a-5a38-4d7f-9e77-b9e6a3915000" + "ff08854c-c784-49bc-affb-6a7ed4c8a339" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222208Z:67978f9a-5a38-4d7f-9e77-b9e6a3915000" + "WESTUS2:20180219T222302Z:ff08854c-c784-49bc-affb-6a7ed4c8a339" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -62,7 +62,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "b0bffb57-ce11-4adc-8029-85e0aed06e3b" + "50f909bb-2a93-48f6-85ac-1498c5e56566" ], "accept-language": [ "en-US" @@ -72,7 +72,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", "ResponseHeaders": { "Content-Type": [ "application/json; charset=utf-8" @@ -84,7 +84,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:22:08 GMT" + "Mon, 19 Feb 2018 22:23:03 GMT" ], "Pragma": [ "no-cache" @@ -93,16 +93,16 @@ "Accept-Encoding" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14994" + "14997" ], "x-ms-request-id": [ - "3524389c-b25f-441c-b3a6-36e918173938" + "97b042cc-7a35-4f4e-9dfa-a2e831fbfc95" ], "x-ms-correlation-request-id": [ - "3524389c-b25f-441c-b3a6-36e918173938" + "97b042cc-7a35-4f4e-9dfa-a2e831fbfc95" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222209Z:3524389c-b25f-441c-b3a6-36e918173938" + "WESTUS2:20180219T222303Z:97b042cc-7a35-4f4e-9dfa-a2e831fbfc95" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -111,8 +111,8 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg1890?api-version=2015-11-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzE4OTA/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg5056?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzUwNTY/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", "RequestMethod": "PUT", "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", "RequestHeaders": { @@ -123,7 +123,7 @@ "32" ], "x-ms-client-request-id": [ - "627b946f-4169-4503-878b-16d96351d11c" + "aec1caa7-f5cf-4163-8624-d80362fffdcf" ], "accept-language": [ "en-US" @@ -133,7 +133,7 @@ "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890\",\r\n \"name\": \"sdktestrg1890\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056\",\r\n \"name\": \"sdktestrg5056\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "182" @@ -148,7 +148,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:22:08 GMT" + "Mon, 19 Feb 2018 22:23:03 GMT" ], "Pragma": [ "no-cache" @@ -157,13 +157,13 @@ "1199" ], "x-ms-request-id": [ - "84aa4c15-5a40-4a79-b97c-d5502aa8b4d7" + "18288034-e9b1-430d-b805-5df31eee38f5" ], "x-ms-correlation-request-id": [ - "84aa4c15-5a40-4a79-b97c-d5502aa8b4d7" + "18288034-e9b1-430d-b805-5df31eee38f5" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222209Z:84aa4c15-5a40-4a79-b97c-d5502aa8b4d7" + "WESTUS2:20180219T222303Z:18288034-e9b1-430d-b805-5df31eee38f5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -172,8 +172,8 @@ "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "PUT", "RequestBody": "{\r\n \"properties\": {\r\n \"additionalLocations\": [\r\n {\r\n \"location\": \"North Europe\",\r\n \"sku\": {\r\n \"name\": \"Premium\"\r\n }\r\n }\r\n ],\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", "RequestHeaders": { @@ -184,7 +184,7 @@ "439" ], "x-ms-client-request-id": [ - "8cb0738d-3da4-420b-ab61-3b77cdef1f4c" + "e77259ca-4659-47ca-a250-d9928180603f" ], "accept-language": [ "en-US" @@ -194,10 +194,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861\",\r\n \"name\": \"sdktestapim2861\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACat1M=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2017-08-02T22:22:10.9747747Z\",\r\n \"gatewayUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [],\r\n \"additionalLocations\": [\r\n {\r\n \"location\": \"North Europe\",\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"staticIps\": [],\r\n \"virtualNetworkConfiguration\": null\r\n }\r\n ],\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374\",\r\n \"name\": \"sdktestapim9374\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaxG4=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T22:23:05.1598291Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": [\r\n {\r\n \"location\": \"North Europe\",\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"gatewayRegionalUrl\": null\r\n }\r\n ],\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { "Content-Length": [ - "963" + "1123" ], "Content-Type": [ "application/json; charset=utf-8" @@ -209,16 +209,16 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:22:10 GMT" + "Mon, 19 Feb 2018 22:23:05 GMT" ], "Pragma": [ "no-cache" ], "ETag": [ - "\"AAAAAACat1M=\"" + "\"AAAAAADaxG4=\"" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw==?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg==?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -230,79 +230,24 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3ac2d900-c6de-48b1-9174-4baa64e29524", - "28e6ee9e-f2c5-4522-bdc2-6b9888e9dac6" + "be5029b1-f535-4eb2-b7e5-4fa498585f5d", + "63a45b04-76bd-4c5f-ae81-bf9d7b424f11" ], "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], "x-ms-correlation-request-id": [ - "e4c5e44b-2263-49a7-880f-53a32aaf03d9" + "da4686fb-2ce8-4fcd-a86e-ad1c4904ff1d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222211Z:e4c5e44b-2263-49a7-880f-53a32aaf03d9" + "WESTUS2:20180219T222305Z:da4686fb-2ce8-4fcd-a86e-ad1c4904ff1d" ] }, "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw==?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXc9PT9hcGktdmVyc2lvbj0yMDE3LTAzLTAx", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:22:40 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "6d185d05-e8c6-4093-8589-080e46a4009d" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14992" - ], - "x-ms-correlation-request-id": [ - "ab9c6fa4-cdea-4bfd-a4d4-926f165632a6" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T222241Z:ab9c6fa4-cdea-4bfd-a4d4-926f165632a6" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5Tmc9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -323,13 +268,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:23:11 GMT" + "Mon, 19 Feb 2018 22:24:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -341,23 +286,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7b713b94-24ef-43aa-a0db-65f5e38e6cbe" + "d9ce47d2-2c1d-41c8-86f5-b6af5e6f801e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14991" + "14997" ], "x-ms-correlation-request-id": [ - "b0d85dd9-a588-443c-b2ee-a343c1bcc460" + "8fc61894-c83c-459d-9012-919250f62979" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222311Z:b0d85dd9-a588-443c-b2ee-a343c1bcc460" + "WESTUS2:20180219T222406Z:8fc61894-c83c-459d-9012-919250f62979" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -378,13 +323,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:23:41 GMT" + "Mon, 19 Feb 2018 22:25:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -396,23 +341,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9317bced-3cd2-4db5-a672-6c9cf40e7f04" + "d2d6baab-84be-4641-98ab-ae051536976c" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14990" + "14996" ], "x-ms-correlation-request-id": [ - "d8f34589-96ab-4bef-80ba-805e1f44cd58" + "af84cc81-b706-4f21-aa4b-45d3489946e8" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222341Z:d8f34589-96ab-4bef-80ba-805e1f44cd58" + "WESTUS2:20180219T222506Z:af84cc81-b706-4f21-aa4b-45d3489946e8" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -433,13 +378,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:24:11 GMT" + "Mon, 19 Feb 2018 22:26:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -451,23 +396,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9f4c27c8-1eff-4882-8e88-79eca296ad5a" + "409d221d-c688-4515-9f6c-d60b87a1e16f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14995" ], "x-ms-correlation-request-id": [ - "8b12afee-4406-40be-b936-e664da0d0620" + "f557a5f3-61fd-45e2-b3a6-8c2d9909b81b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222411Z:8b12afee-4406-40be-b936-e664da0d0620" + "WESTUS2:20180219T222607Z:f557a5f3-61fd-45e2-b3a6-8c2d9909b81b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -488,13 +433,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:24:41 GMT" + "Mon, 19 Feb 2018 22:27:06 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -506,23 +451,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4c83c9c9-4fa5-491c-a585-68b5099a39f2" + "df333419-eb36-489a-a27c-bb43844ace7d" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14998" ], "x-ms-correlation-request-id": [ - "7813fbad-f9f5-49dd-afb2-425603334d37" + "cced081b-9be1-4cc5-9459-f4b8c78f0fa3" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222442Z:7813fbad-f9f5-49dd-afb2-425603334d37" + "WESTUS2:20180219T222707Z:cced081b-9be1-4cc5-9459-f4b8c78f0fa3" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -543,13 +488,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:25:11 GMT" + "Mon, 19 Feb 2018 22:28:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -561,23 +506,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f8e92d9c-9683-4c70-92ba-f65db40b0b68" + "c7a09830-7dbe-4df5-b2ee-ef5a95c21268" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14989" + "14998" ], "x-ms-correlation-request-id": [ - "98517bd6-1cd9-46c4-acdf-c46d58ad4a73" + "c42ac32b-9285-4025-a7bf-3e4e2f8f9391" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222512Z:98517bd6-1cd9-46c4-acdf-c46d58ad4a73" + "WESTUS2:20180219T222808Z:c42ac32b-9285-4025-a7bf-3e4e2f8f9391" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -598,13 +543,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:25:42 GMT" + "Mon, 19 Feb 2018 22:29:07 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -616,23 +561,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "51c461aa-6d65-4363-a56b-2937ffc08270" + "80131824-1bc6-440b-ad91-9832edc9ada5" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14988" + "14997" ], "x-ms-correlation-request-id": [ - "f63856ca-ede4-4c5a-9cb5-1e0844abed46" + "528574bc-4788-453c-9a62-165c0d8d0b34" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222542Z:f63856ca-ede4-4c5a-9cb5-1e0844abed46" + "WESTUS2:20180219T222908Z:528574bc-4788-453c-9a62-165c0d8d0b34" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -653,13 +598,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:26:12 GMT" + "Mon, 19 Feb 2018 22:30:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -671,23 +616,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "9371d4c3-769b-49ce-a6ee-68fffc9f718c" + "cd6852fd-9c75-455c-a682-990bf4233676" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14987" + "14996" ], "x-ms-correlation-request-id": [ - "d9952b87-45fc-4dc5-b9db-12ec61ff1e03" + "48212a70-11df-40a3-a48c-fd17d813d99a" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222612Z:d9952b87-45fc-4dc5-b9db-12ec61ff1e03" + "WESTUS2:20180219T223008Z:48212a70-11df-40a3-a48c-fd17d813d99a" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -708,13 +653,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:26:42 GMT" + "Mon, 19 Feb 2018 22:31:08 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -726,23 +671,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "38225b9c-d73c-4e6b-9e4b-b10219149fd6" + "af745b4d-3f58-4bd3-a446-731dcd011c95" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14986" + "14995" ], "x-ms-correlation-request-id": [ - "02ac141f-2901-4141-9307-ed40881abba1" + "b4aaf983-27cf-4256-a8e6-a02dd5ae5d14" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222642Z:02ac141f-2901-4141-9307-ed40881abba1" + "WESTUS2:20180219T223109Z:b4aaf983-27cf-4256-a8e6-a02dd5ae5d14" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -763,13 +708,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:27:12 GMT" + "Mon, 19 Feb 2018 22:32:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -781,23 +726,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "2b46d6a0-503f-4407-8922-41d675a226b5" + "d4d93230-0adc-4431-98c7-649216fba315" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14985" + "14994" ], "x-ms-correlation-request-id": [ - "40d68c51-1bd2-4787-a972-5485a10be4d2" + "0e272388-8672-40b2-9b79-53fe58466f00" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222713Z:40d68c51-1bd2-4787-a972-5485a10be4d2" + "WESTUS2:20180219T223209Z:0e272388-8672-40b2-9b79-53fe58466f00" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -818,13 +763,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:27:42 GMT" + "Mon, 19 Feb 2018 22:33:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -836,23 +781,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "44e740ca-b123-4e57-b032-80290ddb4390" + "a58b1ebf-8ebf-4580-be36-ce42ea8430b1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14984" + "14999" ], "x-ms-correlation-request-id": [ - "43700046-b718-4af2-9f09-7c6a5fc06b37" + "219be3ba-fd3f-4830-88df-024fef75c95e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222743Z:43700046-b718-4af2-9f09-7c6a5fc06b37" + "WESTUS2:20180219T223310Z:219be3ba-fd3f-4830-88df-024fef75c95e" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -873,13 +818,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:28:12 GMT" + "Mon, 19 Feb 2018 22:34:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -891,23 +836,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "83f5aa09-5354-4598-bdc5-2cb1a26188eb" + "c7fd2ae1-10c9-40d4-a68d-b3a098c905c4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14983" + "14999" ], "x-ms-correlation-request-id": [ - "68f765aa-673a-4e5e-baaf-baddc421ae1b" + "9e403d71-2165-468f-80f2-e4dbb0822bb2" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222813Z:68f765aa-673a-4e5e-baaf-baddc421ae1b" + "WESTUS2:20180219T223410Z:9e403d71-2165-468f-80f2-e4dbb0822bb2" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -928,13 +873,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:28:42 GMT" + "Mon, 19 Feb 2018 22:35:09 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -946,23 +891,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "3812b4a6-6c80-4709-965b-11bc103a6e53" + "669d0ed5-137c-41de-87c5-7b3e86de54e3" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14981" + "14998" ], "x-ms-correlation-request-id": [ - "4a85e9cb-a99f-46e2-aff9-f1c4f59aae22" + "d706286b-6bbf-4483-afdd-6bd0ec05a9f1" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222843Z:4a85e9cb-a99f-46e2-aff9-f1c4f59aae22" + "WESTUS2:20180219T223510Z:d706286b-6bbf-4483-afdd-6bd0ec05a9f1" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -983,13 +928,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:29:13 GMT" + "Mon, 19 Feb 2018 22:36:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1001,23 +946,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "abfbc2b6-36ae-4462-bb9e-0967b8238b4e" + "f2bf293e-2391-4123-9dae-00399c156101" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14980" + "14997" ], "x-ms-correlation-request-id": [ - "40046678-b50a-4ffd-9a5e-7fcd9157363e" + "881a6518-d1ca-4e2e-a7d6-058f2151f953" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222913Z:40046678-b50a-4ffd-9a5e-7fcd9157363e" + "WESTUS2:20180219T223611Z:881a6518-d1ca-4e2e-a7d6-058f2151f953" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1038,13 +983,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:29:43 GMT" + "Mon, 19 Feb 2018 22:37:10 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1056,23 +1001,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "17da3989-a751-42fb-9d03-d633e72c6036" + "d7e69198-10f9-4381-8cba-383d0b6e3113" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14979" + "14999" ], "x-ms-correlation-request-id": [ - "b3dc9917-b966-40f7-bbd0-7fe73da46b15" + "ac790f04-054e-421d-8337-edc0c0a62c49" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T222943Z:b3dc9917-b966-40f7-bbd0-7fe73da46b15" + "WESTUS2:20180219T223711Z:ac790f04-054e-421d-8337-edc0c0a62c49" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1093,13 +1038,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:30:13 GMT" + "Mon, 19 Feb 2018 22:38:11 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1111,23 +1056,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ba6a7789-3dbb-4f37-8e13-cc17f4e6ad8a" + "827270db-e8b6-4b88-88a1-975c61c7a780" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14978" + "14998" ], "x-ms-correlation-request-id": [ - "b2b10930-1865-40d4-8aa1-bf3b08901e99" + "21e225b8-2668-4327-a9d4-732afdb38535" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223014Z:b2b10930-1865-40d4-8aa1-bf3b08901e99" + "WESTUS2:20180219T223812Z:21e225b8-2668-4327-a9d4-732afdb38535" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1148,13 +1093,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:30:44 GMT" + "Mon, 19 Feb 2018 22:39:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1166,23 +1111,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7e887225-c060-4bb4-9078-01b47d8204a0" + "49698d60-b49a-4537-8bdf-ded5bcf4a986" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14977" + "14999" ], "x-ms-correlation-request-id": [ - "1e66ad64-9f61-49e7-b446-0c2d8b338654" + "f67984b3-f092-4010-9b2d-566ad596e709" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223044Z:1e66ad64-9f61-49e7-b446-0c2d8b338654" + "WESTUS2:20180219T223912Z:f67984b3-f092-4010-9b2d-566ad596e709" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1203,13 +1148,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:31:14 GMT" + "Mon, 19 Feb 2018 22:40:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1221,23 +1166,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8e78390e-2226-4805-9757-fcf374ff3888" + "519a51ba-46a9-4a6d-84df-b59b482a7cc1" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14976" + "14998" ], "x-ms-correlation-request-id": [ - "755721b8-6ffa-4c79-93a3-1e84ef2a94bb" + "308b7618-fb03-4789-a091-3691155fff44" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223114Z:755721b8-6ffa-4c79-93a3-1e84ef2a94bb" + "WESTUS2:20180219T224013Z:308b7618-fb03-4789-a091-3691155fff44" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1258,13 +1203,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:31:43 GMT" + "Mon, 19 Feb 2018 22:41:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1276,23 +1221,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "332100ca-6b3d-4ec5-bb22-4ee34ee2d8da" + "5a6b0cbc-b73b-4349-938d-75062efde9d4" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14975" + "14997" ], "x-ms-correlation-request-id": [ - "33f23748-b11b-4f96-9444-fc54048b2361" + "e5a145bf-201a-4d29-938e-76c62c0a7811" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223144Z:33f23748-b11b-4f96-9444-fc54048b2361" + "WESTUS2:20180219T224113Z:e5a145bf-201a-4d29-938e-76c62c0a7811" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1313,13 +1258,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:32:14 GMT" + "Mon, 19 Feb 2018 22:42:12 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1331,23 +1276,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "b1683503-68bf-4863-acc1-13e55b3abb33" + "2b3dc71d-0620-4ba9-a1b9-cf61c0cec1b7" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14974" + "14996" ], "x-ms-correlation-request-id": [ - "66406bf8-7537-4358-9ed3-b427e130a586" + "ce211cf3-5fb4-425c-835f-954805867eea" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223214Z:66406bf8-7537-4358-9ed3-b427e130a586" + "WESTUS2:20180219T224213Z:ce211cf3-5fb4-425c-835f-954805867eea" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1368,13 +1313,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:32:44 GMT" + "Mon, 19 Feb 2018 22:43:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1386,23 +1331,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "42c694d6-11d7-4b2e-aa65-46174c1a33ba" + "4f32f1b3-a70d-4232-9e1b-168f88ac2c66" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14973" + "14996" ], "x-ms-correlation-request-id": [ - "a4e31e7f-c0b6-4931-a77b-4b37bbc54fd5" + "496eba3f-b3b2-4255-a1e1-11535c3b3f42" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223245Z:a4e31e7f-c0b6-4931-a77b-4b37bbc54fd5" + "WESTUS2:20180219T224314Z:496eba3f-b3b2-4255-a1e1-11535c3b3f42" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1423,13 +1368,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:33:14 GMT" + "Mon, 19 Feb 2018 22:44:13 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1441,23 +1386,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "d31e6fae-112d-49b0-988c-0fdccfde7334" + "51fcefb1-0c92-4662-9f45-9c3f14f348cc" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14972" + "14995" ], "x-ms-correlation-request-id": [ - "9d86d5df-b174-49b6-b254-c70001599c29" + "528be4f8-e0f8-4cf9-844d-69ab26c6a076" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223315Z:9d86d5df-b174-49b6-b254-c70001599c29" + "WESTUS2:20180219T224414Z:528be4f8-e0f8-4cf9-844d-69ab26c6a076" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1478,13 +1423,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:33:44 GMT" + "Mon, 19 Feb 2018 22:45:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1496,23 +1441,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "050a4d83-2151-4b8a-8399-edc4e9c27c03" + "d52c9e57-2555-4b3c-9fb6-e6cb840a73ba" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14971" + "14994" ], "x-ms-correlation-request-id": [ - "0a8b4b5c-5b8e-4b09-8305-7a1c97f6f50c" + "882c406a-c1e8-4fbf-92a7-4495e50ac16e" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223345Z:0a8b4b5c-5b8e-4b09-8305-7a1c97f6f50c" + "WESTUS2:20180219T224515Z:882c406a-c1e8-4fbf-92a7-4495e50ac16e" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1533,13 +1478,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:34:15 GMT" + "Mon, 19 Feb 2018 22:46:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1551,23 +1496,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "6fac91ae-d810-4497-8307-e4cb309ee646" + "67a2312a-3460-4333-b0ae-2934d5d65f8e" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14970" + "14999" ], "x-ms-correlation-request-id": [ - "7985378f-a2a3-4034-8e2b-ea9ea0ec5c56" + "484647df-fda9-4fd9-ae4a-20dd76fc2e8f" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223415Z:7985378f-a2a3-4034-8e2b-ea9ea0ec5c56" + "WESTUS2:20180219T224614Z:484647df-fda9-4fd9-ae4a-20dd76fc2e8f" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1588,13 +1533,13 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:34:44 GMT" + "Mon, 19 Feb 2018 22:47:14 GMT" ], "Pragma": [ "no-cache" ], "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01" ], "Retry-After": [ "60" @@ -1606,23 +1551,23 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "7a76689a-0a96-4d28-bc12-3f42a4f544b2" + "d160c0a1-5271-415c-8b33-984c0bfe70c8" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" + "14998" ], "x-ms-correlation-request-id": [ - "b6c9a530-6c08-4f19-af66-1a0120f883c4" + "7620983d-dba0-4139-8c86-57fc120b3d5b" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223445Z:b6c9a530-6c08-4f19-af66-1a0120f883c4" + "WESTUS2:20180219T224715Z:7620983d-dba0-4139-8c86-57fc120b3d5b" ] }, "StatusCode": 202 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374/operationresults/c2RrdGVzdGFwaW05Mzc0X0FjdF8yM2E5Y2EyNg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU16YzBYMEZqZEY4eU0yRTVZMkV5TmclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -1631,10 +1576,10 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374\",\r\n \"name\": \"sdktestapim9374\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaxZM=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T22:23:05.1598291Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9374.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim9374-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9374.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9374.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9374.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"52.173.22.103\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": [\r\n {\r\n \"location\": \"North Europe\",\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"publicIPAddresses\": [\r\n \"52.138.198.253\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"gatewayRegionalUrl\": \"https://sdktestapim9374-northeurope-01.regional.azure-api.net\"\r\n }\r\n ],\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -1643,163 +1588,59 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:35:15 GMT" + "Mon, 19 Feb 2018 22:48:14 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "cb553857-8fb2-4f17-8f91-c802ce07e840" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14969" - ], - "x-ms-correlation-request-id": [ - "deb4eb27-46e6-4934-82ef-8f57ee54e3d2" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223516Z:deb4eb27-46e6-4934-82ef-8f57ee54e3d2" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:35:45 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" + "Vary": [ + "Accept-Encoding" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "a63ac4ae-2b52-4588-9580-9667af55bc42" + "2b63bb96-709a-4ac0-8491-a04fa2c93b4f" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "14968" + "14997" ], "x-ms-correlation-request-id": [ - "481ea25e-9dac-4364-a9d1-e89bbe02fa58" + "7ed77f30-8b50-4c75-b4ec-562348b3f206" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T223546Z:481ea25e-9dac-4364-a9d1-e89bbe02fa58" + "WESTUS2:20180219T224815Z:7ed77f30-8b50-4c75-b4ec-562348b3f206" ] }, - "StatusCode": 202 + "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:36:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "4abedd5f-054b-4161-89ae-a053f32368a3" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14967" + "x-ms-client-request-id": [ + "9f4ddd16-dfa1-4d3f-be4e-4fcaa10f2d00" ], - "x-ms-correlation-request-id": [ - "b24b7231-0774-4770-ae12-7bd1ea694717" + "accept-language": [ + "en-US" ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223616Z:b24b7231-0774-4770-ae12-7bd1ea694717" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { "User-Agent": [ "FxVersion/4.6.25211.01", "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "", + "ResponseBody": "\"\"", "ResponseHeaders": { - "Content-Length": [ - "0" + "Content-Type": [ + "application/json; charset=utf-8" ], "Expires": [ "-1" @@ -1808,1152 +1649,46 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:36:45 GMT" + "Mon, 19 Feb 2018 22:48:17 GMT" ], "Pragma": [ "no-cache" ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" + "Transfer-Encoding": [ + "chunked" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "5e537ae1-ef7f-4be4-ad74-de5de46e7806" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14966" - ], - "x-ms-correlation-request-id": [ - "6286826e-7516-4a68-97a8-a685172f5d04" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223646Z:6286826e-7516-4a68-97a8-a685172f5d04" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:37:15 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" + "Vary": [ + "Accept-Encoding" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "83bddab2-c6b2-46de-8b01-fc6f097a8378" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14965" - ], - "x-ms-correlation-request-id": [ - "cff50b7c-3348-4ab2-bebf-c874697ccf66" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223716Z:cff50b7c-3348-4ab2-bebf-c874697ccf66" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:37:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "77e53584-7012-4278-a6d2-08b364725096" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14964" - ], - "x-ms-correlation-request-id": [ - "33ec342c-f9c5-4816-a6ce-5be403c5288d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223746Z:33ec342c-f9c5-4816-a6ce-5be403c5288d" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:38:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "06baa76b-6eb6-4e38-9f55-fe589ccd323e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14962" - ], - "x-ms-correlation-request-id": [ - "fbed5b4e-9573-45e0-b7d6-6727acaef249" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223817Z:fbed5b4e-9573-45e0-b7d6-6727acaef249" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:38:46 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "ab7cb89f-aba3-4107-8b7f-385bf2340aca" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14960" - ], - "x-ms-correlation-request-id": [ - "4468974b-fd39-497a-9cec-bcc1542a7542" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223847Z:4468974b-fd39-497a-9cec-bcc1542a7542" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:39:16 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "040985a9-7f12-44e7-98eb-38ab75e99311" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14959" - ], - "x-ms-correlation-request-id": [ - "b0be7672-5d27-4d16-ab73-6884151f54b4" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223917Z:b0be7672-5d27-4d16-ab73-6884151f54b4" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:39:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "798a20cb-7cc8-4059-87a9-b8d2a77e084c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14958" - ], - "x-ms-correlation-request-id": [ - "739c7701-8601-41a0-a78d-255cfec3ff6b" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T223947Z:739c7701-8601-41a0-a78d-255cfec3ff6b" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:40:17 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "a068090e-dbde-46fd-8381-2f014e5acfd0" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14956" - ], - "x-ms-correlation-request-id": [ - "ce8c1f29-e077-46c0-a9bc-951267096841" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224018Z:ce8c1f29-e077-46c0-a9bc-951267096841" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:40:47 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d23a1a6c-17d2-4372-80cd-876c29827693" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14955" - ], - "x-ms-correlation-request-id": [ - "c52846fb-6ba1-47a0-95de-32361873da9d" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224048Z:c52846fb-6ba1-47a0-95de-32361873da9d" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:41:18 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "5984f766-d09a-4931-ae80-65470ebd7c26" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14954" - ], - "x-ms-correlation-request-id": [ - "35f5ebe2-d718-4fc0-9b1a-e73569c0a939" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224118Z:35f5ebe2-d718-4fc0-9b1a-e73569c0a939" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:41:48 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "2df601e5-169b-4a9c-926b-0b5e5f7597a2" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14953" - ], - "x-ms-correlation-request-id": [ - "1a090b07-5eac-4cde-8eae-7c20f4537d65" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224148Z:1a090b07-5eac-4cde-8eae-7c20f4537d65" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:42:18 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "4aa8a248-1d57-4125-849b-af6d4c1ead69" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14952" - ], - "x-ms-correlation-request-id": [ - "6636462b-58c7-4030-90cf-2b2d63441786" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224218Z:6636462b-58c7-4030-90cf-2b2d63441786" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:42:48 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "3793ce2c-1be3-4205-b589-6a1e8d1c291c" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14951" - ], - "x-ms-correlation-request-id": [ - "14277b49-d2c2-43a0-ac27-f011d548e9cf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224249Z:14277b49-d2c2-43a0-ac27-f011d548e9cf" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:43:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "c079aa6a-1e9b-4c4b-b6b8-ccf1cb483133" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14950" - ], - "x-ms-correlation-request-id": [ - "be5d765b-fa55-4e4e-84a3-c051e0cd96a3" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224319Z:be5d765b-fa55-4e4e-84a3-c051e0cd96a3" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:43:49 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "9cb319b6-27e7-4fe0-9ca6-a8e5b256638e" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14949" - ], - "x-ms-correlation-request-id": [ - "d8272326-de7b-4282-bf9a-b20a6ca49428" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224349Z:d8272326-de7b-4282-bf9a-b20a6ca49428" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:44:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "5642a4a2-ea9e-4dcb-8c98-69d49051a874" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14948" - ], - "x-ms-correlation-request-id": [ - "d5eb33cb-0d75-4fa3-9b08-d59e1e9bbb88" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224419Z:d5eb33cb-0d75-4fa3-9b08-d59e1e9bbb88" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:44:49 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "2b717c68-58bf-4455-b5ae-fdcc70a9f773" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" - ], - "x-ms-correlation-request-id": [ - "947d9c74-67a3-4bcb-87af-5959ba0a677f" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224450Z:947d9c74-67a3-4bcb-87af-5959ba0a677f" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:45:19 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "6716a7da-8f27-418e-81af-435f90bcd1af" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14947" - ], - "x-ms-correlation-request-id": [ - "94198a5d-11ef-4811-8168-dc2e956edeaf" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224520Z:94198a5d-11ef-4811-8168-dc2e956edeaf" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "", - "ResponseHeaders": { - "Content-Length": [ - "0" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:45:50 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Location": [ - "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01" - ], - "Retry-After": [ - "60" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "3c9b667b-8d25-4894-a8b0-fd43750d5317" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14946" - ], - "x-ms-correlation-request-id": [ - "dee19051-ad42-43bb-a5cc-79918e24bbcb" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224550Z:dee19051-ad42-43bb-a5cc-79918e24bbcb" - ] - }, - "StatusCode": 202 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861/operationresults/c2RrdGVzdGFwaW0yODYxX0FjdF9lYjUxYzFkYw%3D%3D?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcweU9EWXhYMEZqZEY5bFlqVXhZekZrWXclM0QlM0Q/YXBpLXZlcnNpb249MjAxNy0wMy0wMQ==", - "RequestMethod": "GET", - "RequestBody": "", - "RequestHeaders": { - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861\",\r\n \"name\": \"sdktestapim2861\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAACauE8=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2017-08-02T22:22:10.9747747Z\",\r\n \"gatewayUrl\": \"https://sdktestapim2861.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim2861.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim2861.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim2861.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIps\": [\r\n \"52.173.203.184\"\r\n ],\r\n \"additionalLocations\": [\r\n {\r\n \"location\": \"North Europe\",\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n },\r\n \"staticIps\": [\r\n \"40.69.204.96\"\r\n ],\r\n \"virtualNetworkConfiguration\": null\r\n }\r\n ],\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Premium\",\r\n \"capacity\": 1\r\n }\r\n}", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:46:20 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "dba12725-3534-40f5-8409-68cc5752cee4" - ], - "x-ms-ratelimit-remaining-subscription-reads": [ - "14945" - ], - "x-ms-correlation-request-id": [ - "2d8d539c-81ab-4f55-aca0-d4b1b5978b14" - ], - "x-ms-routing-request-id": [ - "WESTUS2:20170802T224620Z:2d8d539c-81ab-4f55-aca0-d4b1b5978b14" - ] - }, - "StatusCode": 200 - }, - { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", - "RequestMethod": "DELETE", - "RequestBody": "", - "RequestHeaders": { - "x-ms-client-request-id": [ - "f7521a8d-f3f2-42ec-a591-fed62d451c80" - ], - "accept-language": [ - "en-US" - ], - "User-Agent": [ - "FxVersion/4.6.25211.01", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" - ] - }, - "ResponseBody": "\"\"", - "ResponseHeaders": { - "Content-Type": [ - "application/json; charset=utf-8" - ], - "Expires": [ - "-1" - ], - "Cache-Control": [ - "no-cache" - ], - "Date": [ - "Wed, 02 Aug 2017 22:46:22 GMT" - ], - "Pragma": [ - "no-cache" - ], - "Transfer-Encoding": [ - "chunked" - ], - "Server": [ - "Microsoft-HTTPAPI/2.0" - ], - "Vary": [ - "Accept-Encoding" - ], - "Strict-Transport-Security": [ - "max-age=31536000; includeSubDomains" - ], - "x-ms-request-id": [ - "d476e3eb-5a88-4dd2-abd0-592cfa74c0a4" + "7dce145b-de00-4d57-9c06-7411e722e655" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1198" + "1199" ], "x-ms-correlation-request-id": [ - "059cfd6d-e2b9-4f88-9758-ade9b2e0e656" + "ad4b5be3-ec55-4e22-b05a-f7fd9e362a9d" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T224622Z:059cfd6d-e2b9-4f88-9758-ade9b2e0e656" + "WESTUS2:20180219T224817Z:ad4b5be3-ec55-4e22-b05a-f7fd9e362a9d" ] }, "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg1890/providers/Microsoft.ApiManagement/service/sdktestapim2861?api-version=2017-03-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzE4OTAvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0yODYxP2FwaS12ZXJzaW9uPTIwMTctMDMtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg5056/providers/Microsoft.ApiManagement/service/sdktestapim9374?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzUwNTYvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05Mzc0P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6822306f-eaba-440b-ac48-ecb5921b8a6a" + "e120a60a-3641-45cc-9d18-d5b421b375c8" ], "accept-language": [ "en-US" @@ -2963,7 +1698,7 @@ "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" ] }, - "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim2861' under resource group 'sdktestrg1890' was not found.\"\r\n }\r\n}", + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim9374' under resource group 'sdktestrg5056' was not found.\"\r\n }\r\n}", "ResponseHeaders": { "Content-Length": [ "164" @@ -2978,7 +1713,7 @@ "no-cache" ], "Date": [ - "Wed, 02 Aug 2017 22:46:22 GMT" + "Mon, 19 Feb 2018 22:48:17 GMT" ], "Pragma": [ "no-cache" @@ -2987,13 +1722,13 @@ "gateway" ], "x-ms-request-id": [ - "43e80033-aa30-4363-8d04-f0acd339d6fa" + "351493d0-d7db-4fa7-9f08-5406c9e5eb61" ], "x-ms-correlation-request-id": [ - "43e80033-aa30-4363-8d04-f0acd339d6fa" + "351493d0-d7db-4fa7-9f08-5406c9e5eb61" ], "x-ms-routing-request-id": [ - "WESTUS2:20170802T224623Z:43e80033-aa30-4363-8d04-f0acd339d6fa" + "WESTUS2:20180219T224817Z:351493d0-d7db-4fa7-9f08-5406c9e5eb61" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" @@ -3004,18 +1739,17 @@ ], "Names": { "Initialize": [ - "sdktestapim2861", - "sdktestrg1890" + "sdktestapim9374", + "sdktestrg5056" ] }, "Variables": { "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "TestCertificate": "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", - "TestCertificatePassword": "g0BdrCRORWI2ctk_g5Wdf5QpTsI9vxnw", - "TenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "TestCertificate": "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", + "TestCertificatePassword": "Password", "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", - "ServiceName": "sdktestapim2861", + "ServiceName": "sdktestapim9374", "Location": "Central US", - "ResourceGroup": "sdktestrg1890" + "ResourceGroup": "sdktestrg5056" } } \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/InstallIntermediateCertificatesTest.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/InstallIntermediateCertificatesTest.json new file mode 100644 index 000000000000..9ffa9440d837 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/InstallIntermediateCertificatesTest.json @@ -0,0 +1,2690 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6d21e22b-95f3-407e-bac9-fa1adbd7b385" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:42:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-request-id": [ + "aa86cc0c-b466-4a97-bfb8-74b5bc215ee9" + ], + "x-ms-correlation-request-id": [ + "aa86cc0c-b466-4a97-bfb8-74b5bc215ee9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164243Z:aa86cc0c-b466-4a97-bfb8-74b5bc215ee9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg7684?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzc2ODQ/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "32" + ], + "x-ms-client-request-id": [ + "2ea2ff78-7b86-4192-a730-965fb3f52ae0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684\",\r\n \"name\": \"sdktestrg7684\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "182" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:42:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "b9135efd-7316-47be-814c-c8a05eb68155" + ], + "x-ms-correlation-request-id": [ + "b9135efd-7316-47be-814c-c8a05eb68155" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164244Z:b9135efd-7316-47be-814c-c8a05eb68155" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"certificates\": [\r\n {\r\n \"encodedCertificate\": \"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\",\r\n \"certificatePassword\": \"Password\",\r\n \"storeName\": \"CertificateAuthority\"\r\n }\r\n ],\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "2879" + ], + "x-ms-client-request-id": [ + "9bbfe579-9a37-4bd9-9198-51bfe91b9e83" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856\",\r\n \"name\": \"sdktestapim3856\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADauaY=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T16:42:47.362368Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": [\r\n {\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"storeName\": \"CertificateAuthority\",\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1173" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:42:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAADauaY=\"" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA==?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a41356b7-157a-4c34-a1bd-cc5c818f04bc", + "c06a5dca-ba9f-47a7-b12d-9a79c877d739" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "e3c57cfc-0e54-40ca-b271-4899091de8c9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164248Z:e3c57cfc-0e54-40ca-b271-4899091de8c9" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0E9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:43:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "929b239d-7bde-473b-bb4a-68b09ac8b059" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "1c34fcd0-9af4-4b56-b74f-35e9149f023f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164347Z:1c34fcd0-9af4-4b56-b74f-35e9149f023f" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:44:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3b875556-b746-4dd8-8097-2a98ff6d617d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "c01e8bd0-2504-4157-a257-b9d02395114d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164449Z:c01e8bd0-2504-4157-a257-b9d02395114d" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:45:49 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cf884c9e-c4f0-4471-b727-93126e5e78c7" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "91c72442-45ad-4e94-a951-a4c72d25ca5e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164549Z:91c72442-45ad-4e94-a951-a4c72d25ca5e" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:46:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "105ce5e0-83a2-44b3-8c06-adc21538cd5f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "7b8fa995-f692-459c-a6df-994398c13b8b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164650Z:7b8fa995-f692-459c-a6df-994398c13b8b" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:47:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f181a7a0-6458-4ed4-be1a-83e32d2b73e6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "fb1d93d9-32da-4759-bdc7-f2c2836e4234" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164750Z:fb1d93d9-32da-4759-bdc7-f2c2836e4234" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:48:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "656f77ca-0ca2-407a-a32b-1d2abfb685bd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "2b1ea10c-8941-4d1c-a767-8757b785b42a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164851Z:2b1ea10c-8941-4d1c-a767-8757b785b42a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:49:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "bd4d241e-d8c7-4bc6-96fc-1fefd702a721" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "2c607aa9-1cba-46b1-8ada-3e8f1f4d6614" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T164951Z:2c607aa9-1cba-46b1-8ada-3e8f1f4d6614" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:50:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c84dda18-09df-44b9-8c16-581f742232ed" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "39ac96f2-a8ab-46d1-8248-040c08b3c62c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165052Z:39ac96f2-a8ab-46d1-8248-040c08b3c62c" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:51:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "55f265a7-dddf-43b9-8be9-4290f4c8f3c1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "e1d8a8cb-334f-4ae5-8db3-41bda959caab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165152Z:e1d8a8cb-334f-4ae5-8db3-41bda959caab" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:52:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c5db40ab-60e0-46fe-b8eb-cd6ac923e498" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "ae4d7059-5f3f-42d6-ba42-180879bc8d11" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165252Z:ae4d7059-5f3f-42d6-ba42-180879bc8d11" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:53:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5455d16d-7b2d-44e1-b641-cc901966df0d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "80543dbc-ba1a-4dc7-b506-35ccfa5decd1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165352Z:80543dbc-ba1a-4dc7-b506-35ccfa5decd1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:54:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8e3a6752-d9af-4ea7-95ed-067271a83056" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "bc405f1a-dd58-4490-ae07-317acbc32df1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165453Z:bc405f1a-dd58-4490-ae07-317acbc32df1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:55:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3424f5c0-a03b-435c-81c8-bdc124418269" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "592305e3-3961-47b5-af2f-01c91dce1d61" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165554Z:592305e3-3961-47b5-af2f-01c91dce1d61" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:56:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "69ea6a07-60ac-4128-b8d8-1521b12181f9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "d4a6d5ac-11b4-4a1d-a763-2ca12fb31b06" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165654Z:d4a6d5ac-11b4-4a1d-a763-2ca12fb31b06" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:57:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ab3598d6-f5ba-4c01-b727-ef882f32d16a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "d8516941-2d23-41b3-bd82-d9be0d978dab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165754Z:d8516941-2d23-41b3-bd82-d9be0d978dab" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:58:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "65e6d5fb-82ef-41ed-9472-f4e8d8b7802d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "8a8b7003-86cb-4d2b-a1e0-a8319176d0d9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165855Z:8a8b7003-86cb-4d2b-a1e0-a8319176d0d9" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 16:59:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "68625c69-660d-4653-927f-eedd3a39a776" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "9ea59952-2d38-4167-b453-76d07aacb32c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T165956Z:9ea59952-2d38-4167-b453-76d07aacb32c" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:00:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "77dd755c-cb0d-4d0f-a4f4-cea0dd851d4e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "1aab8cec-47b1-48d0-9003-f2c2f23b2758" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170056Z:1aab8cec-47b1-48d0-9003-f2c2f23b2758" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:01:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "67709d61-93c8-4929-ab6b-25a3f5898c68" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "8e9bace0-6a3f-4eb0-9fbc-9d9b0a69ff91" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170157Z:8e9bace0-6a3f-4eb0-9fbc-9d9b0a69ff91" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:02:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a6f4ce9b-a46b-4696-8581-170a624f993c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "52dd22a7-4f1f-4cf4-ae83-efb2b5689cfb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170257Z:52dd22a7-4f1f-4cf4-ae83-efb2b5689cfb" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:03:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "511d6a8c-332b-41b5-9665-e62233ecacfd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "187800a7-ce55-4a36-aa9e-f5c494993189" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170358Z:187800a7-ce55-4a36-aa9e-f5c494993189" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:04:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "df20732b-cfa7-43cb-9939-38225d5f39c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "724f387f-01ab-4064-b7ac-1572b7b78afd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170457Z:724f387f-01ab-4064-b7ac-1572b7b78afd" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:05:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d3796afb-b6a3-47b6-9138-6c5a45588e69" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "b2570b13-9945-43f8-9db9-406ae566bce1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170557Z:b2570b13-9945-43f8-9db9-406ae566bce1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:06:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "674c8a25-96c1-466d-836b-f02d3aea0b31" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d273ae8c-41ca-44c5-9b1e-a7aa47eb2ef0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170657Z:d273ae8c-41ca-44c5-9b1e-a7aa47eb2ef0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:07:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "de80daa8-fb98-458e-99e8-4033f9024296" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "0d135c5f-b9bc-4591-b50b-a87ed6e5488a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170758Z:0d135c5f-b9bc-4591-b50b-a87ed6e5488a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:08:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5081c68c-119a-4c73-b67c-dcdb3bc02bcc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "98c08009-ac4f-4983-a5ba-c8ba6595cafa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T170859Z:98c08009-ac4f-4983-a5ba-c8ba6595cafa" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:09:59 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c81af4b7-9dcf-46e1-9baa-42c26964b9d8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "a0a2e413-da7c-434f-8150-5416a7fc9fd7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171000Z:a0a2e413-da7c-434f-8150-5416a7fc9fd7" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:11:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "540baae9-ddcf-4557-b46d-406634ea6dbd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "860ce4fe-14d4-4627-8cda-4dd27abfa9ab" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171100Z:860ce4fe-14d4-4627-8cda-4dd27abfa9ab" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:12:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "62dcc0ca-0a12-4867-9a17-d4c0ba5e18f1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "e24104c5-414e-4753-a8f0-e4ebca942a7a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171200Z:e24104c5-414e-4753-a8f0-e4ebca942a7a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:13:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fb49e4fb-bcbf-472b-902e-556d35f2fb18" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "ac5cf153-8419-404d-b5ec-92241fa0e9ae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171301Z:ac5cf153-8419-404d-b5ec-92241fa0e9ae" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:14:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7003d920-4e0b-476c-a602-bc71ff2a33a1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "e5be3f1f-4f7f-4f3a-bf20-0e93d778575b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171402Z:e5be3f1f-4f7f-4f3a-bf20-0e93d778575b" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:15:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "931da950-cd73-4757-84f5-c40b2890360d" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "1d81df96-9e9f-4d79-b5c0-1c7ecce6a979" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171503Z:1d81df96-9e9f-4d79-b5c0-1c7ecce6a979" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:16:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1b3656ce-ef1f-4971-ba35-3107040166c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "2bec76df-c030-45ca-a76b-4e48ff963878" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171603Z:2bec76df-c030-45ca-a76b-4e48ff963878" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:17:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d49d0a9e-563a-46ec-b434-24d5094c35f4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7c55a236-5d8d-4927-bc7a-9e1926bf872b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171703Z:7c55a236-5d8d-4927-bc7a-9e1926bf872b" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:18:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c16ec4a7-bf45-4a8b-a2ab-dc860c220d9a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "233a3434-91d2-4ef9-a160-14686cd253fa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171804Z:233a3434-91d2-4ef9-a160-14686cd253fa" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:19:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "84492fbc-467b-4606-922f-2f97e7f55dc5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d33988a0-c457-4204-a022-375cdb2c4ac8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T171905Z:d33988a0-c457-4204-a022-375cdb2c4ac8" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:20:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "79bb7649-d935-487f-a5d8-bb3adb9a28c4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "8bfabb89-edc8-46a3-b450-8e2ebda54ddb" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172005Z:8bfabb89-edc8-46a3-b450-8e2ebda54ddb" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:21:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5773d7d3-d891-440a-b539-5457bb54304b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "a85239ce-a8e3-4f45-a843-525150bd429f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172105Z:a85239ce-a8e3-4f45-a843-525150bd429f" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:22:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1cf24701-a950-40d2-8bd9-584c3bad7bfc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "715b7296-af13-4b05-ad29-ffcdca1a7fe4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172206Z:715b7296-af13-4b05-ad29-ffcdca1a7fe4" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:23:05 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "41643f4a-508c-4116-9c9d-a194a77643c8" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "c3914b6c-55dc-42c6-b9b7-4891c045f51a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172306Z:c3914b6c-55dc-42c6-b9b7-4891c045f51a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:24:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "02f88165-f56f-446d-bd6e-9e4007c005ed" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "1f9b6f2b-68ea-4c7b-9cdd-0479593ff3e2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172407Z:1f9b6f2b-68ea-4c7b-9cdd-0479593ff3e2" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:25:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8b4b38a5-fbdc-4672-902e-c6fd492195c1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "2d2e6b30-268a-4318-9c50-21aa212f58ac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172507Z:2d2e6b30-268a-4318-9c50-21aa212f58ac" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856/operationresults/c2RrdGVzdGFwaW0zODU2X0FjdF9lODQzZmM2OA%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwek9EVTJYMEZqZEY5bE9EUXpabU0yT0ElM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856\",\r\n \"name\": \"sdktestapim3856\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADauqg=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T16:42:47.362368Z\",\r\n \"gatewayUrl\": \"https://sdktestapim3856.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim3856-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim3856.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim3856.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim3856.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"40.69.153.91\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": [\r\n {\r\n \"encodedCertificate\": null,\r\n \"certificatePassword\": null,\r\n \"storeName\": \"CertificateAuthority\",\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n }\r\n }\r\n ]\r\n },\r\n \"sku\": {\r\n \"name\": \"Basic\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:26:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "445100ae-0418-4c85-ab99-19c4aa1745ce" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "4b881651-54c8-472f-8d20-432654447e87" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172607Z:4b881651-54c8-472f-8d20-432654447e87" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "777f0c6f-5376-4251-a30f-0d3c628e3a09" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\"\"", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:26:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5f88ea7b-c932-44b1-9aea-28e575db4466" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "df61dc7b-f37f-4eaa-8185-aef68215b866" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172609Z:df61dc7b-f37f-4eaa-8185-aef68215b866" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg7684/providers/Microsoft.ApiManagement/service/sdktestapim3856?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzc2ODQvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW0zODU2P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d5fed87a-4bd7-4d12-b07e-c7f586a64b2d" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim3856' under resource group 'sdktestrg7684' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "164" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 17:26:09 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "36314f94-3514-4378-a07d-6d29ff1c0265" + ], + "x-ms-correlation-request-id": [ + "36314f94-3514-4378-a07d-6d29ff1c0265" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T172610Z:36314f94-3514-4378-a07d-6d29ff1c0265" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Initialize": [ + "sdktestapim3856", + "sdktestrg7684" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestapim3856", + "Location": "Central US", + "ResourceGroup": "sdktestrg7684" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/SetupMsiTests.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/SetupMsiTests.json new file mode 100644 index 000000000000..db6a82b2a842 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/SetupMsiTests.json @@ -0,0 +1,2428 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9e0b36b1-d1fc-4583-841a-8f02a639848c" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:54:18 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "49fc033e-adc1-4faa-a702-21628f0e8be6" + ], + "x-ms-correlation-request-id": [ + "49fc033e-adc1-4faa-a702-21628f0e8be6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215418Z:49fc033e-adc1-4faa-a702-21628f0e8be6" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg2827?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzI4Mjc/YXBpLXZlcnNpb249MjAxNS0xMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "32" + ], + "x-ms-client-request-id": [ + "cf7428a7-c422-4a80-83f2-1f26e37a16e1" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827\",\r\n \"name\": \"sdktestrg2827\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "182" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:54:20 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "454292eb-3fec-41a1-b9fe-5b8469324ba7" + ], + "x-ms-correlation-request-id": [ + "454292eb-3fec-41a1-b9fe-5b8469324ba7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215420Z:454292eb-3fec-41a1-b9fe-5b8469324ba7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\"\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "343" + ], + "x-ms-client-request-id": [ + "1c7f4820-a697-4db8-8d70-dd7911606dd0" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607\",\r\n \"name\": \"sdktestapim9607\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADej1Y=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-03-05T21:54:24.212268Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"10866100-9b93-4000-936f-85853180b8a9\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "1073" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:54:24 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAADej1Y=\"" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg==?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "33f44e19-4e2d-45f1-aa68-e82a120eb589", + "94254e73-a8fc-40b4-9898-0ebafb52bd1e" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "79fb66ba-6046-44f8-9d9e-6eab5dd09d2f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215425Z:79fb66ba-6046-44f8-9d9e-6eab5dd09d2f" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWc9PT9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:55:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9038dd3a-53b3-47a8-92f2-bde8097a2dfd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "a07ad7b7-354e-4929-9f7c-07512dddaeaf" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215525Z:a07ad7b7-354e-4929-9f7c-07512dddaeaf" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:56:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ec64a16a-5fba-4124-80ff-c13c899709dc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7e7a2884-487c-4d3c-bdeb-2f0659b4e4c1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215626Z:7e7a2884-487c-4d3c-bdeb-2f0659b4e4c1" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:57:25 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "cbbedb5d-98ff-4b8b-8857-5d0784fedf1c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14980" + ], + "x-ms-correlation-request-id": [ + "0b6274cf-4363-4ce8-b278-8009ac6dc433" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215726Z:0b6274cf-4363-4ce8-b278-8009ac6dc433" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:58:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "144fd5e6-d666-4f8f-a40f-ce814ddcaacb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7b772f53-2024-4808-99bf-d15ff18b210a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215826Z:7b772f53-2024-4808-99bf-d15ff18b210a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 21:59:26 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3e6c65fb-85ec-429c-8d93-396935095d20" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "5e85ae55-6fe0-420b-9e8c-7d8261353de8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T215927Z:5e85ae55-6fe0-420b-9e8c-7d8261353de8" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:00:27 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "04fb937e-31ca-437f-aa19-4f1d53999f73" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "8356e98d-1083-4b7e-9e36-702378e56fcd" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220027Z:8356e98d-1083-4b7e-9e36-702378e56fcd" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:01:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e8eb27ef-8027-4a63-9de7-1f7538cc61e5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "ae752a06-67c2-48e6-8f4a-cc27499e5b77" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220129Z:ae752a06-67c2-48e6-8f4a-cc27499e5b77" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:02:28 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "873f048e-1965-417a-9511-19d8ddccee55" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "deee5325-c41d-4b81-b7f5-691fd79c12b6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220229Z:deee5325-c41d-4b81-b7f5-691fd79c12b6" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:03:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3a0bf12c-8a5a-4258-a871-2eaddeacd693" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "166eb92b-f3b4-4d2c-9a0d-d0aba4f35d36" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220329Z:166eb92b-f3b4-4d2c-9a0d-d0aba4f35d36" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:04:29 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "87d47d0c-f32a-49f3-998b-18efc0c154d1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14990" + ], + "x-ms-correlation-request-id": [ + "3298e349-999f-4a9d-b1bd-0926654df077" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220430Z:3298e349-999f-4a9d-b1bd-0926654df077" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:05:30 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d3fa1370-84a9-4820-b72a-b485e6f6e5c5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "5d0e07f9-ebb0-47c1-b93d-80748a92be5e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220530Z:5d0e07f9-ebb0-47c1-b93d-80748a92be5e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:06:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2332c7cf-950d-4b4c-9513-878fb004e55a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "8dc3d395-4c95-495b-907a-3fc9a6514bd7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220631Z:8dc3d395-4c95-495b-907a-3fc9a6514bd7" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:07:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5c828b4c-3e0f-4107-87fd-4cb89f01dde3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "95b141d7-db6b-47da-af35-85b90269d89d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220731Z:95b141d7-db6b-47da-af35-85b90269d89d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:08:31 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "02329196-1f13-4cac-9fe8-7952f039d026" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14972" + ], + "x-ms-correlation-request-id": [ + "43b9f101-ff81-494f-b6d0-f4431e346f1e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220832Z:43b9f101-ff81-494f-b6d0-f4431e346f1e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:09:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ffa5ba08-1b0c-44bc-9b89-9c13621b4948" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "605a5409-c9dc-4fea-9747-e56a5590d35a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T220932Z:605a5409-c9dc-4fea-9747-e56a5590d35a" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:10:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4db3b6af-3346-436f-9594-9718ff67a5a1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "e594664e-2569-4bf7-9350-3f6b18b1f616" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221033Z:e594664e-2569-4bf7-9350-3f6b18b1f616" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:11:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "18566b08-ef73-475e-a995-6885756c7144" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "d0d12d7d-bffb-4647-b2dd-67527323c2af" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221133Z:d0d12d7d-bffb-4647-b2dd-67527323c2af" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:12:32 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d28df1be-3379-447f-8370-ecbcda146902" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "134b2f8f-9434-448e-8def-598ba64483be" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221233Z:134b2f8f-9434-448e-8def-598ba64483be" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:13:33 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f3a7b0d2-d2ee-4fbf-a1b4-b9a2aaf2dc7f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "17027d71-2753-4cfb-8c15-8b1f4815588b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221333Z:17027d71-2753-4cfb-8c15-8b1f4815588b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:14:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "943dadc3-26df-47df-9833-a68bcd38af43" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "d73641fb-323d-4181-9b43-6c3d9156dcd0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221434Z:d73641fb-323d-4181-9b43-6c3d9156dcd0" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:15:34 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e4bace09-0792-4bfd-b06d-6ab405f1d83c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7c87351c-1589-43bd-9a51-dfb5aa12e29d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221534Z:7c87351c-1589-43bd-9a51-dfb5aa12e29d" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:16:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c8933981-7a33-4f99-a668-3ce0a1256add" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "90e186ff-0980-4bbe-8e59-384ce0221b35" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221635Z:90e186ff-0980-4bbe-8e59-384ce0221b35" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:17:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4e04bcca-f511-4d53-bb03-dc3f319841b3" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "afe949f3-69cb-4ad8-bff0-df428d1887ea" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221736Z:afe949f3-69cb-4ad8-bff0-df428d1887ea" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:18:35 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a6b49cf6-8c1d-4107-8d39-09cff57fc665" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "52f1f3b3-a84b-4f4d-9087-c08c58ef048e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221836Z:52f1f3b3-a84b-4f4d-9087-c08c58ef048e" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:19:36 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5fc758f9-0688-4777-84b0-2b561a799744" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "cf6f7288-d5c7-4e78-a86e-eaddaa6226b9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T221937Z:cf6f7288-d5c7-4e78-a86e-eaddaa6226b9" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:20:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e7ef946e-dee0-4113-9fd4-5f7189ba7174" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "d98a08f2-792f-4cde-8d74-e5eecdcc550c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222037Z:d98a08f2-792f-4cde-8d74-e5eecdcc550c" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:21:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "48a87738-d3a4-4ad6-9fad-327d9f650ece" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "5780cf20-c235-4b70-b47e-9969b327c154" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222137Z:5780cf20-c235-4b70-b47e-9969b327c154" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:22:37 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "45e4ab08-db1d-4aa2-88b9-f1b51353108e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14992" + ], + "x-ms-correlation-request-id": [ + "d0fcee46-f277-4898-b3b4-2709df5d7356" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222238Z:d0fcee46-f277-4898-b3b4-2709df5d7356" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:23:39 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3c8f94b0-1125-4423-b3e5-82ff711dba48" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "5a53886a-87f0-4615-9cbf-775bbf607b57" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222339Z:5a53886a-87f0-4615-9cbf-775bbf607b57" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:24:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a0f7d0ae-1844-4122-8573-d625f12c2f4a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14988" + ], + "x-ms-correlation-request-id": [ + "88b55daa-c0a9-4ef7-aa12-47055b05068b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222441Z:88b55daa-c0a9-4ef7-aa12-47055b05068b" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:25:40 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "764e4750-eeac-429a-9f5b-549684a87804" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "cbeaa289-a3da-49f1-be5a-cfec9dcc6687" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222541Z:cbeaa289-a3da-49f1-be5a-cfec9dcc6687" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:26:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a82ac34e-8105-4cee-a476-a2af865cc6aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14994" + ], + "x-ms-correlation-request-id": [ + "e62ab6d3-7f11-4158-b573-5264b43f90e8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222641Z:e62ab6d3-7f11-4158-b573-5264b43f90e8" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:27:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dc6223e7-c36a-4c85-bc7a-9cc56e4b3dec" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "cd1eaae0-66aa-49dd-88f8-d94a740858ed" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222742Z:cd1eaae0-66aa-49dd-88f8-d94a740858ed" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:28:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8c32ff85-2cf1-4357-aeab-dfeae60e3ec2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14993" + ], + "x-ms-correlation-request-id": [ + "37c37871-7fe6-4227-a6d9-723f916fbe52" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222842Z:37c37871-7fe6-4227-a6d9-723f916fbe52" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:29:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3421de6e-3c1c-4bc6-9ff6-e950118a4462" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "f5bfc31f-4178-428d-becd-7e9c5a809392" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T222943Z:f5bfc31f-4178-428d-becd-7e9c5a809392" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607/operationresults/c2RrdGVzdGFwaW05NjA3X0FjdF81ZjRiZGY2Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3L29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwNU5qQTNYMEZqZEY4MVpqUmlaR1kyWWclM0QlM0Q/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607\",\r\n \"name\": \"sdktestapim9607\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADekOI=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-03-05T21:54:24.212268Z\",\r\n \"gatewayUrl\": \"https://sdktestapim9607.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim9607-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim9607.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim9607.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim9607.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"40.69.161.73\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": {\r\n \"type\": \"SystemAssigned\",\r\n \"principalId\": \"10866100-9b93-4000-936f-85853180b8a9\",\r\n \"tenantId\": \"72f988bf-86f1-41af-91ab-2d7cd011db47\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:30:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1f4e1e87-446a-48b9-9c9a-105cbde72923" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14982" + ], + "x-ms-correlation-request-id": [ + "e59ad34e-1e02-4818-9380-88d7d4989a15" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T223043Z:e59ad34e-1e02-4818-9380-88d7d4989a15" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "08ac787c-ba06-407b-8979-d66245cb8e33" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "\"\"", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:31:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "aba25dbc-1453-4888-b946-7a25c9f4a2a4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "25a58848-1456-41b3-bc48-820fd0e762c7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T223100Z:25a58848-1456-41b3-bc48-820fd0e762c7" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg2827/providers/Microsoft.ApiManagement/service/sdktestapim9607?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzI4MjcvcHJvdmlkZXJzL01pY3Jvc29mdC5BcGlNYW5hZ2VtZW50L3NlcnZpY2Uvc2RrdGVzdGFwaW05NjA3P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f60835ef-bb87-455f-85d6-08356ed046a8" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim9607' under resource group 'sdktestrg2827' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "164" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 05 Mar 2018 22:31:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "eb06bfb3-b312-4e30-ad61-0abb97afd1f7" + ], + "x-ms-correlation-request-id": [ + "eb06bfb3-b312-4e30-ad61-0abb97afd1f7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180305T223103Z:eb06bfb3-b312-4e30-ad61-0abb97afd1f7" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "X-Content-Type-Options": [ + "nosniff" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Initialize": [ + "sdktestapim9607", + "sdktestrg2827" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestapim9607", + "Location": "Central US", + "ResourceGroup": "sdktestrg2827" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/UpdateHostNameTests.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/UpdateHostNameTests.json new file mode 100644 index 000000000000..ae2eec06608d --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ResourceProviderTests.ApiManagementServiceTests/UpdateHostNameTests.json @@ -0,0 +1,2992 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXBpTWFuYWdlbWVudD9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "df0fe483-7102-4d82-b19f-4b9eb6b6ba26" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/providers/Microsoft.ApiManagement\",\r\n \"namespace\": \"Microsoft.ApiManagement\",\r\n \"authorization\": {\r\n \"applicationId\": \"8602e328-9b72-4f2d-a4ae-1387d013a2b3\",\r\n \"roleDefinitionId\": \"e263b525-2e60-4418-b655-420bae0b172e\"\r\n },\r\n \"resourceTypes\": [\r\n {\r\n \"resourceType\": \"service\",\r\n \"locations\": [\r\n \"Australia East\",\r\n \"Australia Southeast\",\r\n \"Central US\",\r\n \"East US\",\r\n \"East US 2\",\r\n \"North Central US\",\r\n \"South Central US\",\r\n \"West Central US\",\r\n \"West US\",\r\n \"West US 2\",\r\n \"Canada Central\",\r\n \"Canada East\",\r\n \"North Europe\",\r\n \"West Europe\",\r\n \"UK South\",\r\n \"UK West\",\r\n \"East Asia\",\r\n \"Southeast Asia\",\r\n \"Japan East\",\r\n \"Japan West\",\r\n \"Korea Central\",\r\n \"Korea South\",\r\n \"Brazil South\",\r\n \"Central India\",\r\n \"South India\",\r\n \"West India\",\r\n \"Central US EUAP\"\r\n ],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ],\r\n \"capabilities\": \"CrossResourceGroupResourceMove, CrossSubscriptionResourceMove, SystemAssignedResourceIdentity\"\r\n },\r\n {\r\n \"resourceType\": \"validateServiceName\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkServiceNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkNameAvailability\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"reportFeedback\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"checkFeedbackRequired\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n },\r\n {\r\n \"resourceType\": \"operations\",\r\n \"locations\": [],\r\n \"apiVersions\": [\r\n \"2018-01-01\",\r\n \"2017-03-01\",\r\n \"2016-10-10\",\r\n \"2016-07-07\",\r\n \"2015-09-15\",\r\n \"2014-02-14\"\r\n ]\r\n }\r\n ],\r\n \"registrationState\": \"Registered\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:49:41 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Vary": [ + "Accept-Encoding" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-request-id": [ + "2ebaba82-e8bd-4f31-873e-29c02a943cc9" + ], + "x-ms-correlation-request-id": [ + "2ebaba82-e8bd-4f31-873e-29c02a943cc9" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T184941Z:2ebaba82-e8bd-4f31-873e-29c02a943cc9" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourcegroups/sdktestrg597?api-version=2015-11-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlZ3JvdXBzL3Nka3Rlc3RyZzU5Nz9hcGktdmVyc2lvbj0yMDE1LTExLTAx", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"location\": \"Central US\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "32" + ], + "x-ms-client-request-id": [ + "ca182c16-20d3-4bb1-8dd1-74e7bb7cbf85" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.Resources.ResourceManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597\",\r\n \"name\": \"sdktestrg597\",\r\n \"location\": \"centralus\",\r\n \"properties\": {\r\n \"provisioningState\": \"Succeeded\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "180" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:49:42 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-request-id": [ + "77bab6ea-60dd-48b1-bd0b-3df117241997" + ], + "x-ms-correlation-request-id": [ + "77bab6ea-60dd-48b1-bd0b-3df117241997" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T184943Z:77bab6ea-60dd-48b1-bd0b-3df117241997" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\"\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"location\": \"Central US\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n }\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "290" + ], + "x-ms-client-request-id": [ + "ba915f99-f234-4873-994f-998f550278b6" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297\",\r\n \"name\": \"sdktestapim6297\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADaveY=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Created\",\r\n \"targetProvisioningState\": \"Activating\",\r\n \"createdAtUtc\": \"2018-02-19T18:49:45.0909221Z\",\r\n \"gatewayUrl\": null,\r\n \"gatewayRegionalUrl\": null,\r\n \"portalUrl\": null,\r\n \"managementApiUrl\": null,\r\n \"scmUrl\": null,\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": null,\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "949" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:49:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAADaveY=\"" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg==?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a9d0d725-59a3-44fa-bb74-b3ea89552db8", + "0e210c35-a875-4b76-a850-7dc24f9515e4" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "7d3a959c-9ae4-4cdd-9aeb-a5b9055a6304" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T184945Z:7d3a959c-9ae4-4cdd-9aeb-a5b9055a6304" + ] + }, + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg==?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZz09P2FwaS12ZXJzaW9uPTIwMTgtMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:50:45 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4f5426d9-b592-4027-aa6c-8dc1aa0a26d1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "177be263-0059-48af-9ea8-6ad6e1eec68e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185046Z:177be263-0059-48af-9ea8-6ad6e1eec68e" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:51:46 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c319a59a-f929-421d-9d26-ed1d4fb47a74" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "dc418182-8c7a-4573-bf9f-82353945691d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185146Z:dc418182-8c7a-4573-bf9f-82353945691d" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:52:43 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f6faddf8-ec55-4fb8-885a-f6cf264a432f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "4ded975d-b4f5-4551-8f57-236c20854ab1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185244Z:4ded975d-b4f5-4551-8f57-236c20854ab1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:53:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9a8ce600-e5cf-49fe-a897-6bc766da4acb" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "bade72fa-3aaa-4d09-bad3-75a76f6c6078" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185344Z:bade72fa-3aaa-4d09-bad3-75a76f6c6078" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:54:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "df1b0b28-416a-418d-908a-2b14e96130e6" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "a36f31f4-c10f-49ed-b215-8fd4b2fa92be" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185444Z:a36f31f4-c10f-49ed-b215-8fd4b2fa92be" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:55:44 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c53cca3f-cae7-47cc-bc4d-fbe3bfadff15" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "050bf4d1-b8ca-434b-b7b1-1f82252b4ea8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185545Z:050bf4d1-b8ca-434b-b7b1-1f82252b4ea8" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:56:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d9d3f573-f3a5-4849-be01-902a29276410" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "74e302ee-91ef-4bac-ab55-bca4a9ac367c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185648Z:74e302ee-91ef-4bac-ab55-bca4a9ac367c" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:57:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4fe34307-696b-4454-8996-eff16922ee11" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "a7af1d01-9005-49fc-ba4e-0e479b893f5f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185748Z:a7af1d01-9005-49fc-ba4e-0e479b893f5f" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:58:47 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "594a2c8f-f0c0-4564-8a6b-9eea8090cdfd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "33260d42-cc70-481e-b055-1edc85513c6b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185848Z:33260d42-cc70-481e-b055-1edc85513c6b" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 18:59:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "94de3fbc-f0e9-4f8b-9b3d-ef1055952575" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "83ffc50b-907d-4a08-84ad-02eb6b8d5c77" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T185948Z:83ffc50b-907d-4a08-84ad-02eb6b8d5c77" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:00:48 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "94aa49de-28b2-4b3a-865e-3b93977c3fb2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "08562b00-d7e8-45f0-bd38-9795bcf60bac" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190049Z:08562b00-d7e8-45f0-bd38-9795bcf60bac" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:01:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "72e4b390-48fd-4e00-96dd-e2dfb067660e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14995" + ], + "x-ms-correlation-request-id": [ + "04e51d0e-17f9-4587-8e99-7637d178873a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190150Z:04e51d0e-17f9-4587-8e99-7637d178873a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:02:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6d70e190-d1a6-44a0-ae88-3362221578f9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "09dcfb99-b925-4e66-9d0e-272f31290f77" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190250Z:09dcfb99-b925-4e66-9d0e-272f31290f77" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:03:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e4eb1a60-4b15-41e0-b279-b98db69cbbc2" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "814046e3-2a3e-4dcb-aaab-f14d1d7283b3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190351Z:814046e3-2a3e-4dcb-aaab-f14d1d7283b3" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:04:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c847b780-e039-413a-84ff-8133eb204373" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "42647c82-fe07-47e3-9a54-095a89970602" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190451Z:42647c82-fe07-47e3-9a54-095a89970602" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:05:50 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "31ec9094-8b0d-47e0-9d0f-ea1199cdb4aa" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "884aa3d7-eb94-42b3-ab42-93c7b36ab08a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190550Z:884aa3d7-eb94-42b3-ab42-93c7b36ab08a" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:06:51 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "42d69f72-e067-47b8-a774-3ea1964ff8dc" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "b255bf9d-87d1-4076-b5c3-7eaa092d5862" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190651Z:b255bf9d-87d1-4076-b5c3-7eaa092d5862" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:07:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b71491ef-d120-4b05-96df-87c87765a5f4" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "c70da3ac-9481-4f7e-8fc5-6dba5c361758" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190752Z:c70da3ac-9481-4f7e-8fc5-6dba5c361758" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:08:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a754f966-8f72-43e9-b701-3511fe28a833" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "73fae8e8-9547-463c-9efb-fd32d82d658b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190852Z:73fae8e8-9547-463c-9efb-fd32d82d658b" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:09:52 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c0f20e03-54df-41c4-9b19-bf30f4012f18" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "796248e1-a697-4b74-969e-194586b1ba17" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T190952Z:796248e1-a697-4b74-969e-194586b1ba17" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:10:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a96f6d9e-8679-4bda-9ced-0570f28c0922" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "d8217875-338e-4701-8c75-48d9248ef2b4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191053Z:d8217875-338e-4701-8c75-48d9248ef2b4" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:11:53 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b9d6fd72-9d96-465e-b506-725ba2fcf3cd" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "7ce69ab0-39c9-4e1f-ac28-91b5e5170d51" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191154Z:7ce69ab0-39c9-4e1f-ac28-91b5e5170d51" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:12:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7da8264e-3ea2-4820-8bce-c1bf13b71fb9" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "f4dd2483-e701-48c3-b340-943308f7b824" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191254Z:f4dd2483-e701-48c3-b340-943308f7b824" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:13:54 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fb73e48b-2e70-4787-bc1d-df18c8b4ec95" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "9a0030ea-8ae6-4f35-ac13-0067434a3dae" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191354Z:9a0030ea-8ae6-4f35-ac13-0067434a3dae" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:14:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f2382a3c-19d7-439c-9ba9-5fa3e7ca5e3f" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "20878239-19cc-4e6f-9060-9cecbf430695" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191455Z:20878239-19cc-4e6f-9060-9cecbf430695" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:15:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9b404ef0-8d94-4500-8892-a56aec132806" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "030226ac-03b2-4688-9035-8f370e6efc61" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191555Z:030226ac-03b2-4688-9035-8f370e6efc61" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:16:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f4da58bd-8f43-44dc-adc3-399430fd564e" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "6178f2ca-fd7a-41bb-8054-4a57edf308d6" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191656Z:6178f2ca-fd7a-41bb-8054-4a57edf308d6" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:17:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d5957d3a-1735-4f3b-81a1-f2e45b1f1113" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "13bf2c63-a643-456d-8ee2-326b3e3c4b4f" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191756Z:13bf2c63-a643-456d-8ee2-326b3e3c4b4f" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:18:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "dd2c7d3a-bf1f-4a1c-bb85-9cbd72113f2c" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "830d0b7c-634f-4e2a-8392-fae06b1aab13" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191856Z:830d0b7c-634f-4e2a-8392-fae06b1aab13" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:19:55 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9f78ece0-0538-461c-9d54-ca79d2a66c93" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "8132ec0b-d7dd-48f1-bafd-cd0b0ff21fe0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T191956Z:8132ec0b-d7dd-48f1-bafd-cd0b0ff21fe0" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:20:56 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "fc93dd20-eb7c-43a3-8781-fa42fd347137" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "258502dd-3f58-4514-be0b-d1ce2cc547e1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192056Z:258502dd-3f58-4514-be0b-d1ce2cc547e1" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:21:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a3c5b54e-f713-4b9a-b573-75cf006d4115" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "430e0c9c-7735-4f30-8065-bed6780c2eba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192157Z:430e0c9c-7735-4f30-8065-bed6780c2eba" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:22:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "213b1fd9-53f0-4910-9903-215d9a4ac5e1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "88a7e4c4-866d-4b93-b550-c88b49745bd3" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192258Z:88a7e4c4-866d-4b93-b550-c88b49745bd3" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:23:57 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f15da71f-78c9-40e2-ba8b-8dac0f87a039" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "08dcf55a-51ee-4a14-a163-9d18f157c4fa" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192358Z:08dcf55a-51ee-4a14-a163-9d18f157c4fa" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:24:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5a0a64cd-c5c6-49cc-96ac-c6a789cc7a76" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "0668b30f-ef27-4cb0-ac49-a5dce9ab3c7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192459Z:0668b30f-ef27-4cb0-ac49-a5dce9ab3c7e" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:25:58 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c2f855a4-f866-4859-abf1-7e2dbda17102" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "370e294a-ae7b-4b35-97b5-3a096ecd8eb5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192558Z:370e294a-ae7b-4b35-97b5-3a096ecd8eb5" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X0FjdF8xMzA0MGY3Yg%3D%3D?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gwRmpkRjh4TXpBME1HWTNZZyUzRCUzRD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297\",\r\n \"name\": \"sdktestapim6297\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADavos=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T18:49:45.0909221Z\",\r\n \"gatewayUrl\": \"https://sdktestapim6297.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim6297-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim6297.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim6297.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim6297.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [],\r\n \"publicIPAddresses\": [\r\n \"40.69.159.173\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:27:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d440dd7f-d62e-4e6f-88f7-b719d033eb8b" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "13cd0a3e-f942-4625-9a36-e9e5e700b8b7" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192700Z:13cd0a3e-f942-4625-9a36-e9e5e700b8b7" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/updatecertificate?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvdXBkYXRlY2VydGlmaWNhdGU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"type\": \"Proxy\",\r\n \"certificate\": \"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\",\r\n \"certificate_password\": \"Password\"\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "2504" + ], + "x-ms-client-request-id": [ + "fbbfccf2-1fd2-4e39-93c0-92b61ce81085" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:27:00 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "9d0807b3-765d-4b8a-869e-5e1e997e63a6" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "b89e336b-aab4-48ec-9f55-4fb8c726b007" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192700Z:b89e336b-aab4-48ec-9f55-4fb8c726b007" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/updatehostname?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvdXBkYXRlaG9zdG5hbWU/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "POST", + "RequestBody": "{\r\n \"update\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostname\": \"proxy.msitesting.net\",\r\n \"certificate\": {\r\n \"expiry\": \"2036-01-01T07:00:00Z\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n }\r\n }\r\n ]\r\n}", + "RequestHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "290" + ], + "x-ms-client-request-id": [ + "76471017-5ce8-43cb-82af-225ce475abfd" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADavos=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T18:49:45.0909221Z\",\r\n \"runtimeUrl\": \"https://sdktestapim6297.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim6297.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim6297.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim6297.scm.azure-api.net\",\r\n \"addresserEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"hostnameConfigurations\": [],\r\n \"staticIPs\": [\r\n \"40.69.159.173\"\r\n ],\r\n \"additionalLocations\": null,\r\n \"vpnconfiguration\": null,\r\n \"customProperties\": null\r\n },\r\n \"name\": \"sdktestapim6297\",\r\n \"type\": \"Microsoft.ApiManagement/service\"\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "972" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:27:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297//operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "74c6d130-b9d9-4950-945a-cec0d2bfd242" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "8a7b0ae2-3384-4306-bb88-87198fe8ad21" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192701Z:8a7b0ae2-3384-4306-bb88-87198fe8ad21" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297//operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvL29wZXJhdGlvbnJlc3VsdHMvYzJScmRHVnpkR0Z3YVcwMk1qazNYMVZ3Ukc5dFlXbHVYekZsTlRJME1HWXg/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:28:01 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "bcf991e0-06a9-4bf4-ae2d-1e721eb5c92a" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "ada6f576-cca7-4d3a-a928-918d10ec6cf4" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192802Z:ada6f576-cca7-4d3a-a928-918d10ec6cf4" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:29:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "7a7ac3f2-ff1c-49d4-8eed-905704c73619" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "150ffa3f-8f17-409d-a71d-7c96f628d784" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T192902Z:150ffa3f-8f17-409d-a71d-7c96f628d784" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:30:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0b22da5e-9b6e-4e8f-a32a-f067e797b3f5" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "7d2b459a-5441-404f-8849-1bb31808f051" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193002Z:7d2b459a-5441-404f-8849-1bb31808f051" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:31:02 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "ef02db94-d6ae-4937-be9d-eb18831f2e21" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "229eee06-9d90-430b-9d66-00607d2d4073" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193103Z:229eee06-9d90-430b-9d66-00607d2d4073" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:32:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5b36145c-dcbd-4e45-bf09-5fc27d882ef1" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "bc689aa4-1bbf-45d7-84b8-e6b6151b4d76" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193203Z:bc689aa4-1bbf-45d7-84b8-e6b6151b4d76" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:33:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "a5e81c73-a462-4c22-93b3-38680c4d39d0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "294ccbc5-9e23-4e72-80a3-18d760fbd919" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193304Z:294ccbc5-9e23-4e72-80a3-18d760fbd919" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:34:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3ecc18dc-7224-43bb-bd25-968cddf286ef" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "d1a7f84d-5fa8-42db-94d9-338e421374be" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193404Z:d1a7f84d-5fa8-42db-94d9-338e421374be" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "", + "ResponseHeaders": { + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:35:03 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Location": [ + "https://management.azure.com/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01" + ], + "Retry-After": [ + "60" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "345d9ecb-fb98-4944-88d7-a85540413431" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "70db1b0a-1a6f-404b-918b-220d70ca40b5" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193504Z:70db1b0a-1a6f-404b-918b-220d70ca40b5" + ] + }, + "StatusCode": 202 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297/operationresults/c2RrdGVzdGFwaW02Mjk3X1VwRG9tYWluXzFlNTI0MGYx?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTcvb3BlcmF0aW9ucmVzdWx0cy9jMlJyZEdWemRHRndhVzAyTWprM1gxVndSRzl0WVdsdVh6RmxOVEkwTUdZeD9hcGktdmVyc2lvbj0yMDE4LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297\",\r\n \"name\": \"sdktestapim6297\",\r\n \"type\": \"Microsoft.ApiManagement/service\",\r\n \"tags\": {\r\n \"tag1\": \"value1\",\r\n \"tag2\": \"value2\",\r\n \"tag3\": \"value3\"\r\n },\r\n \"location\": \"Central US\",\r\n \"etag\": \"AAAAAADav3w=\",\r\n \"properties\": {\r\n \"publisherEmail\": \"apim@autorestsdk.com\",\r\n \"publisherName\": \"autorestsdk\",\r\n \"notificationSenderEmail\": \"apimgmt-noreply@mail.windowsazure.com\",\r\n \"provisioningState\": \"Succeeded\",\r\n \"targetProvisioningState\": \"\",\r\n \"createdAtUtc\": \"2018-02-19T18:49:45.0909221Z\",\r\n \"gatewayUrl\": \"https://sdktestapim6297.azure-api.net\",\r\n \"gatewayRegionalUrl\": \"https://sdktestapim6297-centralus-01.regional.azure-api.net\",\r\n \"portalUrl\": \"https://sdktestapim6297.portal.azure-api.net\",\r\n \"managementApiUrl\": \"https://sdktestapim6297.management.azure-api.net\",\r\n \"scmUrl\": \"https://sdktestapim6297.scm.azure-api.net\",\r\n \"hostnameConfigurations\": [\r\n {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"proxy.msitesting.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": {\r\n \"expiry\": \"2035-12-31T23:00:00-08:00\",\r\n \"thumbprint\": \"8E989652CABCF585ACBFCB9C2C91F1D174FDB3A2\",\r\n \"subject\": \"CN=*.msitesting.net\"\r\n },\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"40.69.159.173\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": null,\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": null\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:36:04 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "c61fe774-23ba-43c6-93c8-b651aff38c52" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "26fb3589-3539-4a12-8d3b-7f5463b1ca12" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193604Z:26fb3589-3539-4a12-8d3b-7f5463b1ca12" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "226239b5-a96a-4418-bd3c-e1af677cca56" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "\"\"", + "ResponseHeaders": { + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:36:06 GMT" + ], + "Pragma": [ + "no-cache" + ], + "Transfer-Encoding": [ + "chunked" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "Vary": [ + "Accept-Encoding" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2c3d9f2e-565f-4a69-b5b3-89c6599c9108" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "1a5faf60-659c-48c0-be35-a8ee1aa65c04" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193607Z:1a5faf60-659c-48c0-be35-a8ee1aa65c04" + ] + }, + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/sdktestrg597/providers/Microsoft.ApiManagement/service/sdktestapim6297?api-version=2018-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL3Nka3Rlc3RyZzU5Ny9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0YXBpbTYyOTc/YXBpLXZlcnNpb249MjAxOC0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f716ab9d-8c43-4ba2-8ae5-88a58e80a303" + ], + "accept-language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.25211.01", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/1.0.0.0" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"The Resource 'Microsoft.ApiManagement/service/sdktestapim6297' under resource group 'sdktestrg597' was not found.\"\r\n }\r\n}", + "ResponseHeaders": { + "Content-Length": [ + "163" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ], + "Cache-Control": [ + "no-cache" + ], + "Date": [ + "Mon, 19 Feb 2018 19:36:07 GMT" + ], + "Pragma": [ + "no-cache" + ], + "x-ms-failure-cause": [ + "gateway" + ], + "x-ms-request-id": [ + "7020af1e-6261-4515-b109-f3c0f5143e2c" + ], + "x-ms-correlation-request-id": [ + "7020af1e-6261-4515-b109-f3c0f5143e2c" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20180219T193607Z:7020af1e-6261-4515-b109-f3c0f5143e2c" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ] + }, + "StatusCode": 404 + } + ], + "Names": { + "Initialize": [ + "sdktestapim6297", + "sdktestrg597" + ] + }, + "Variables": { + "SubscriptionId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "TestCertificate": "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", + "TestCertificatePassword": "Password", + "SubId": "bab08e11-7b12-4354-9fd1-4b5d64d40b68", + "ServiceName": "sdktestapim6297", + "Location": "Central US", + "ResourceGroup": "sdktestrg597" + } +} \ No newline at end of file diff --git a/src/SDKs/ApiManagement/AzSdk.RP.props b/src/SDKs/ApiManagement/AzSdk.RP.props new file mode 100644 index 000000000000..bcca9a2ca802 --- /dev/null +++ b/src/SDKs/ApiManagement/AzSdk.RP.props @@ -0,0 +1,7 @@ + + + + ApiManagement_2018-01-01; + $(PackageTags);$(CommonTags);$(AzureApiTag); + + \ No newline at end of file diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/ApiRevisionExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/ApiRevisionExtensions.cs new file mode 100644 index 000000000000..72e502d67991 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/ApiRevisionExtensions.cs @@ -0,0 +1,28 @@ + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + /// + /// API details. + /// + public static class ApiRevisionExtensions + { + public static string ApiRevisionIdentifier(this string apiId, string revisionId) + { + if (!string.IsNullOrEmpty(apiId) && !string.IsNullOrEmpty(revisionId)) + { + return $"{apiId};rev={revisionId}"; + } + + return null; + } + + public static string ApiRevisionIdentifierFullPath(this string apiId, string revisionId) + { + if (!string.IsNullOrEmpty(apiId) && !string.IsNullOrEmpty(revisionId)) + { + return $"/apis/{apiId};rev={revisionId}"; + } + return null; + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/PortalDelegationSettingExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/PortalDelegationSettingExtensions.cs new file mode 100644 index 000000000000..7fbdb8d8f989 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/PortalDelegationSettingExtensions.cs @@ -0,0 +1,26 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using System; + using System.Text.RegularExpressions; + + /// + /// Portal Delegation Settings. + /// + public partial class PortalDelegationSettings + { + const int ValidateKeyLength = 64; + + public static string GenerateValidationKey() + { + var bytes = new byte[ValidateKeyLength]; + Random rnd = new Random(); + rnd.NextBytes(bytes); + + return Convert.ToBase64String(bytes); + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperations.cs new file mode 100644 index 000000000000..729f43e5d247 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperations.cs @@ -0,0 +1,1297 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiDiagnosticLoggerOperations operations. + /// + internal partial class ApiDiagnosticLoggerOperations : IServiceOperations, IApiDiagnosticLoggerOperations + { + /// + /// Initializes a new instance of the ApiDiagnosticLoggerOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiDiagnosticLoggerOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Attaches a logger to a dignostic for an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified Logger from Diagnostic for an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperationsExtensions.cs new file mode 100644 index 000000000000..8794ace44111 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticLoggerOperationsExtensions.cs @@ -0,0 +1,307 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiDiagnosticLoggerOperations. + /// + public static partial class ApiDiagnosticLoggerOperationsExtensions + { + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, apiId, diagnosticId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static bool CheckEntityExists(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Attaches a logger to a dignostic for an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static LoggerContract CreateOrUpdate(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Attaches a logger to a dignostic for an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the specified Logger from Diagnostic for an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static void Delete(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid) + { + operations.DeleteAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified Logger from Diagnostic for an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IApiDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IApiDiagnosticLoggerOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IApiDiagnosticLoggerOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperations.cs new file mode 100644 index 000000000000..a8334e85bc3a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperations.cs @@ -0,0 +1,1810 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiDiagnosticOperations operations. + /// + internal partial class ApiDiagnosticOperations : IServiceOperations, IApiDiagnosticOperations + { + /// + /// Initializes a new instance of the ApiDiagnosticOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiDiagnosticOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all diagnostics of an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic for an API specified + /// by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the Diagnostic for an API specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates a new Diagnostic for an API or updates an existing one. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates the details of the Diagnostic for an API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified Diagnostic from an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all diagnostics of an API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperationsExtensions.cs new file mode 100644 index 000000000000..14d1c79f6ff9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiDiagnosticOperationsExtensions.cs @@ -0,0 +1,432 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiDiagnosticOperations. + /// + public static partial class ApiDiagnosticOperationsExtensions + { + /// + /// Lists all diagnostics of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all diagnostics of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic for an API specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + public static ApiDiagnosticGetEntityTagHeaders GetEntityTag(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId, diagnosticId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic for an API specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Gets the details of the Diagnostic for an API specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + public static DiagnosticContract Get(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId) + { + return operations.GetAsync(resourceGroupName, serviceName, apiId, diagnosticId).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the Diagnostic for an API specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a new Diagnostic for an API or updates an existing one. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static DiagnosticContract CreateOrUpdate(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, diagnosticId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Creates a new Diagnostic for an API or updates an existing one. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates the details of the Diagnostic for an API specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, apiId, diagnosticId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates the details of the Diagnostic for an API specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Deletes the specified Diagnostic from an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, apiId, diagnosticId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified Diagnostic from an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IApiDiagnosticOperations operations, string resourceGroupName, string serviceName, string apiId, string diagnosticId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, diagnosticId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all diagnostics of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IApiDiagnosticOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all diagnostics of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IApiDiagnosticOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperations.cs new file mode 100644 index 000000000000..200a95f5d71a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperations.cs @@ -0,0 +1,305 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiExportOperations operations. + /// + internal partial class ApiExportOperations : IServiceOperations, IApiExportOperations + { + /// + /// Initializes a new instance of the ApiExportOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiExportOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the details of the API specified by its identifier in the format + /// specified to the Storage Blob with SAS Key valid for 5 minutes. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Format in which to export the Api Details to the Storage Blob with Sas Key + /// valid for 5 minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string format, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (format == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "format"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string export = "true"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("format", format); + tracingParameters.Add("export", export); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (format != null) + { + _queryParameters.Add(string.Format("format={0}", System.Uri.EscapeDataString(format))); + } + if (export != null) + { + _queryParameters.Add(string.Format("export={0}", System.Uri.EscapeDataString(export))); + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperationsExtensions.cs new file mode 100644 index 000000000000..5dba86dfb713 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiExportOperationsExtensions.cs @@ -0,0 +1,83 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiExportOperations. + /// + public static partial class ApiExportOperationsExtensions + { + /// + /// Gets the details of the API specified by its identifier in the format + /// specified to the Storage Blob with SAS Key valid for 5 minutes. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Format in which to export the Api Details to the Storage Blob with Sas Key + /// valid for 5 minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl' + /// + public static ApiExportResult Get(this IApiExportOperations operations, string resourceGroupName, string serviceName, string apiId, string format) + { + return operations.GetAsync(resourceGroupName, serviceName, apiId, format).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the API specified by its identifier in the format + /// specified to the Storage Blob with SAS Key valid for 5 minutes. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Format in which to export the Api Details to the Storage Blob with Sas Key + /// valid for 5 minutes. Possible values include: 'Swagger', 'Wsdl', 'Wadl' + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApiExportOperations operations, string resourceGroupName, string serviceName, string apiId, string format, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, format, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementClient.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementClient.cs index 3d7ce8e9cf2b..da30b9c8e1ae 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementClient.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementClient.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Serialization; @@ -95,6 +95,16 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual IApiOperations Api { get; private set; } + /// + /// Gets the IApiRevisionsOperations. + /// + public virtual IApiRevisionsOperations ApiRevisions { get; private set; } + + /// + /// Gets the IApiReleaseOperations. + /// + public virtual IApiReleaseOperations ApiRelease { get; private set; } + /// /// Gets the IApiOperationOperations. /// @@ -115,6 +125,21 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual IApiPolicyOperations ApiPolicy { get; private set; } + /// + /// Gets the IApiSchemaOperations. + /// + public virtual IApiSchemaOperations ApiSchema { get; private set; } + + /// + /// Gets the IApiDiagnosticOperations. + /// + public virtual IApiDiagnosticOperations ApiDiagnostic { get; private set; } + + /// + /// Gets the IApiDiagnosticLoggerOperations. + /// + public virtual IApiDiagnosticLoggerOperations ApiDiagnosticLogger { get; private set; } + /// /// Gets the IAuthorizationServerOperations. /// @@ -140,6 +165,16 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual IApiManagementServiceOperations ApiManagementService { get; private set; } + /// + /// Gets the IDiagnosticOperations. + /// + public virtual IDiagnosticOperations Diagnostic { get; private set; } + + /// + /// Gets the IDiagnosticLoggerOperations. + /// + public virtual IDiagnosticLoggerOperations DiagnosticLogger { get; private set; } + /// /// Gets the IEmailTemplateOperations. /// @@ -165,6 +200,21 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual ILoggerOperations Logger { get; private set; } + /// + /// Gets the INotificationOperations. + /// + public virtual INotificationOperations Notification { get; private set; } + + /// + /// Gets the INotificationRecipientUserOperations. + /// + public virtual INotificationRecipientUserOperations NotificationRecipientUser { get; private set; } + + /// + /// Gets the INotificationRecipientEmailOperations. + /// + public virtual INotificationRecipientEmailOperations NotificationRecipientEmail { get; private set; } + /// /// Gets the INetworkStatusOperations. /// @@ -175,6 +225,21 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual IOpenIdConnectProviderOperations OpenIdConnectProvider { get; private set; } + /// + /// Gets the ISignInSettingsOperations. + /// + public virtual ISignInSettingsOperations SignInSettings { get; private set; } + + /// + /// Gets the ISignUpSettingsOperations. + /// + public virtual ISignUpSettingsOperations SignUpSettings { get; private set; } + + /// + /// Gets the IDelegationSettingsOperations. + /// + public virtual IDelegationSettingsOperations DelegationSettings { get; private set; } + /// /// Gets the IProductOperations. /// @@ -225,6 +290,26 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual ISubscriptionOperations Subscription { get; private set; } + /// + /// Gets the ITagResourceOperations. + /// + public virtual ITagResourceOperations TagResource { get; private set; } + + /// + /// Gets the ITagOperations. + /// + public virtual ITagOperations Tag { get; private set; } + + /// + /// Gets the ITagDescriptionOperations. + /// + public virtual ITagDescriptionOperations TagDescription { get; private set; } + + /// + /// Gets the IOperationOperations. + /// + public virtual IOperationOperations Operation { get; private set; } + /// /// Gets the ITenantAccessOperations. /// @@ -260,6 +345,16 @@ public partial class ApiManagementClient : ServiceClient, I /// public virtual IUserIdentitiesOperations UserIdentities { get; private set; } + /// + /// Gets the IApiVersionSetOperations. + /// + public virtual IApiVersionSetOperations ApiVersionSet { get; private set; } + + /// + /// Gets the IApiExportOperations. + /// + public virtual IApiExportOperations ApiExport { get; private set; } + /// /// Initializes a new instance of the ApiManagementClient class. /// @@ -465,22 +560,35 @@ private void Initialize() PolicySnippets = new PolicySnippetsOperations(this); Regions = new RegionsOperations(this); Api = new ApiOperations(this); + ApiRevisions = new ApiRevisionsOperations(this); + ApiRelease = new ApiReleaseOperations(this); ApiOperation = new ApiOperationOperations(this); ApiOperationPolicy = new ApiOperationPolicyOperations(this); ApiProduct = new ApiProductOperations(this); ApiPolicy = new ApiPolicyOperations(this); + ApiSchema = new ApiSchemaOperations(this); + ApiDiagnostic = new ApiDiagnosticOperations(this); + ApiDiagnosticLogger = new ApiDiagnosticLoggerOperations(this); AuthorizationServer = new AuthorizationServerOperations(this); Backend = new BackendOperations(this); Certificate = new CertificateOperations(this); ApiManagementOperations = new ApiManagementOperations(this); ApiManagementService = new ApiManagementServiceOperations(this); + Diagnostic = new DiagnosticOperations(this); + DiagnosticLogger = new DiagnosticLoggerOperations(this); EmailTemplate = new EmailTemplateOperations(this); Group = new GroupOperations(this); GroupUser = new GroupUserOperations(this); IdentityProvider = new IdentityProviderOperations(this); Logger = new LoggerOperations(this); + Notification = new NotificationOperations(this); + NotificationRecipientUser = new NotificationRecipientUserOperations(this); + NotificationRecipientEmail = new NotificationRecipientEmailOperations(this); NetworkStatus = new NetworkStatusOperations(this); OpenIdConnectProvider = new OpenIdConnectProviderOperations(this); + SignInSettings = new SignInSettingsOperations(this); + SignUpSettings = new SignUpSettingsOperations(this); + DelegationSettings = new DelegationSettingsOperations(this); Product = new ProductOperations(this); ProductApi = new ProductApiOperations(this); ProductGroup = new ProductGroupOperations(this); @@ -491,6 +599,10 @@ private void Initialize() QuotaByPeriodKeys = new QuotaByPeriodKeysOperations(this); Reports = new ReportsOperations(this); Subscription = new SubscriptionOperations(this); + TagResource = new TagResourceOperations(this); + Tag = new TagOperations(this); + TagDescription = new TagDescriptionOperations(this); + Operation = new OperationOperations(this); TenantAccess = new TenantAccessOperations(this); TenantAccessGit = new TenantAccessGitOperations(this); TenantConfiguration = new TenantConfigurationOperations(this); @@ -498,8 +610,10 @@ private void Initialize() UserGroup = new UserGroupOperations(this); UserSubscription = new UserSubscriptionOperations(this); UserIdentities = new UserIdentitiesOperations(this); + ApiVersionSet = new ApiVersionSetOperations(this); + ApiExport = new ApiExportOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2017-03-01"; + ApiVersion = "2018-01-01"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperations.cs index ff2883f3764c..f48d6492f328 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -205,7 +205,7 @@ internal ApiManagementOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -379,7 +379,7 @@ internal ApiManagementOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperationsExtensions.cs index 654e38ba00fb..a5b3914818b7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperations.cs index 16f3f14b5496..2fbd4c895b78 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -725,7 +725,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -903,7 +903,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1360,6 +1360,265 @@ internal ApiManagementServiceOperations(ApiManagementClient client) return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); } + /// + /// Upload Custom Domain SSL certificate for an API Management service. This + /// operation will be deprecated in future releases. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the Upload SSL certificate for an API Management + /// service operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> UploadCertificateWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUploadCertificateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "UploadCertificate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatecertificate").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + public async Task> UpdateHostnameWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + // Send request + AzureOperationResponse _response = await BeginUpdateHostnameWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, customHeaders, cancellationToken).ConfigureAwait(false); + return await Client.GetPostOrDeleteOperationResultAsync(_response, customHeaders, cancellationToken).ConfigureAwait(false); + } + /// /// Restores a backup of an API Management service created using the /// ApiManagementService_Backup operation on the current service. This is a @@ -1986,7 +2245,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 200 && (int)_statusCode != 201) + if ((int)_statusCode != 200 && (int)_statusCode != 201 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2064,6 +2323,24 @@ internal ApiManagementServiceOperations(ApiManagementClient client) throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); } } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -2454,7 +2731,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -2521,6 +2798,252 @@ internal ApiManagementServiceOperations(ApiManagementClient client) return _result; } + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> BeginUpdateHostnameWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "BeginUpdateHostname", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/updatehostname").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 202) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 202) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// List all API Management services within a resource group. /// @@ -2675,7 +3198,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2848,7 +3371,7 @@ internal ApiManagementServiceOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperationsExtensions.cs index 6a0969f8d2f6..3ebca21fdc7d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiManagementServiceOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -488,6 +488,108 @@ public static ApiManagementServiceNameAvailabilityResult CheckNameAvailability(t } } + /// + /// Upload Custom Domain SSL certificate for an API Management service. This + /// operation will be deprecated in future releases. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the Upload SSL certificate for an API Management + /// service operation. + /// + public static CertificateInformation UploadCertificate(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUploadCertificateParameters parameters) + { + return operations.UploadCertificateAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Upload Custom Domain SSL certificate for an API Management service. This + /// operation will be deprecated in future releases. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the Upload SSL certificate for an API Management + /// service operation. + /// + /// + /// The cancellation token. + /// + public static async Task UploadCertificateAsync(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUploadCertificateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UploadCertificateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + public static ApiManagementServiceResource UpdateHostname(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters) + { + return operations.UpdateHostnameAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateHostnameAsync(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.UpdateHostnameWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Restores a backup of an API Management service created using the /// ApiManagementService_Backup operation on the current service. This is a @@ -738,6 +840,58 @@ public static ApiManagementServiceResource BeginUpdate(this IApiManagementServic } } + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + public static ApiManagementServiceResource BeginUpdateHostname(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters) + { + return operations.BeginUpdateHostnameAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates, updates, or deletes the custom hostnames for an API Management + /// service. The custom hostname can be applied to the Proxy and Portal + /// endpoint. This is a long running operation and could take several minutes + /// to complete. This operation will be deprecated in the next version update. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// The cancellation token. + /// + public static async Task BeginUpdateHostnameAsync(this IApiManagementServiceOperations operations, string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.BeginUpdateHostnameWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// List all API Management services within a resource group. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperations.cs index eee3f7c6145d..87bd942d7538 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -61,8 +61,9 @@ internal ApiOperationOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// OData parameters to apply to the operation. @@ -275,7 +276,7 @@ internal ApiOperationOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -295,7 +296,8 @@ internal ApiOperationOperations(ApiManagementClient client) } /// - /// Gets the details of the API Operation specified by its identifier. + /// Gets the entity state (Etag) version of the API operation specified by its + /// identifier. /// /// /// The name of the resource group. @@ -320,6 +322,255 @@ internal ApiOperationOperations(ApiManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the API Operation specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -382,17 +633,17 @@ internal ApiOperationOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -573,8 +824,9 @@ internal ApiOperationOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -583,6 +835,10 @@ internal ApiOperationOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -604,7 +860,7 @@ internal ApiOperationOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -654,17 +910,17 @@ internal ApiOperationOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -695,6 +951,7 @@ internal ApiOperationOperations(ApiManagementClient client) tracingParameters.Add("apiId", apiId); tracingParameters.Add("operationId", operationId); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -725,6 +982,14 @@ internal ApiOperationOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -775,7 +1040,7 @@ internal ApiOperationOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -813,7 +1078,7 @@ internal ApiOperationOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -831,7 +1096,7 @@ internal ApiOperationOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -866,8 +1131,9 @@ internal ApiOperationOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -877,9 +1143,9 @@ internal ApiOperationOperations(ApiManagementClient client) /// API Operation Update parameters. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -949,17 +1215,17 @@ internal ApiOperationOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1133,17 +1399,18 @@ internal ApiOperationOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API /// Management service instance. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1213,17 +1480,17 @@ internal ApiOperationOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1332,7 +1599,7 @@ internal ApiOperationOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1525,7 +1792,7 @@ internal ApiOperationOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperationsExtensions.cs index 9b1c201e5815..7922772c50f5 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -35,15 +35,16 @@ public static partial class ApiOperationOperationsExtensions /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// OData parameters to apply to the operation. /// public static IPage ListByApi(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) { - return ((IApiOperationOperations)operations).ListByApiAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + return operations.ListByApiAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); } /// @@ -59,8 +60,9 @@ public static partial class ApiOperationOperationsExtensions /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// OData parameters to apply to the operation. @@ -77,7 +79,8 @@ public static partial class ApiOperationOperationsExtensions } /// - /// Gets the details of the API Operation specified by its identifier. + /// Gets the entity state (Etag) version of the API operation specified by its + /// identifier. /// /// /// The operations group for this extension method. @@ -96,6 +99,64 @@ public static partial class ApiOperationOperationsExtensions /// Operation identifier within an API. Must be unique in the current API /// Management service instance. /// + public static ApiOperationGetEntityTagHeaders GetEntityTag(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId, operationId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the API operation specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Gets the details of the API Operation specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// public static OperationContract Get(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId) { return operations.GetAsync(resourceGroupName, serviceName, apiId, operationId).GetAwaiter().GetResult(); @@ -114,8 +175,9 @@ public static OperationContract Get(this IApiOperationOperations operations, str /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -145,8 +207,9 @@ public static OperationContract Get(this IApiOperationOperations operations, str /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -155,9 +218,13 @@ public static OperationContract Get(this IApiOperationOperations operations, str /// /// Create parameters. /// - public static OperationContract CreateOrUpdate(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static OperationContract CreateOrUpdate(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, operationId, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, operationId, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -173,8 +240,9 @@ public static OperationContract CreateOrUpdate(this IApiOperationOperations oper /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -183,12 +251,16 @@ public static OperationContract CreateOrUpdate(this IApiOperationOperations oper /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -208,8 +280,9 @@ public static OperationContract CreateOrUpdate(this IApiOperationOperations oper /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -219,9 +292,9 @@ public static OperationContract CreateOrUpdate(this IApiOperationOperations oper /// API Operation Update parameters. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, OperationUpdateContract parameters, string ifMatch) { @@ -242,8 +315,9 @@ public static void Update(this IApiOperationOperations operations, string resour /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -253,9 +327,9 @@ public static void Update(this IApiOperationOperations operations, string resour /// API Operation Update parameters. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -278,17 +352,18 @@ public static void Update(this IApiOperationOperations operations, string resour /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API /// Management service instance. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IApiOperationOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string ifMatch) { @@ -308,17 +383,18 @@ public static void Delete(this IApiOperationOperations operations, string resour /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API /// Management service instance. /// /// - /// ETag of the API Operation Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperations.cs index 40cabefc2c62..5744a3ee1cc3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -51,7 +51,265 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) public ApiManagementClient Client { get; private set; } /// - /// Get the policy configuration at the API Operation level. + /// Get the list of policy configuration at the API Operation level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 256) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state (Etag) version of the API operation policy specified + /// by its identifier. /// /// /// The name of the resource group. @@ -76,6 +334,258 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string policyId = "policy"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("policyId", policyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/policies/{policyId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{policyId}", System.Uri.EscapeDataString(policyId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the policy configuration at the API Operation level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -138,17 +648,17 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -332,8 +842,9 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -343,9 +854,8 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Operation policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// Headers that will be added to request. @@ -368,7 +878,7 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -418,17 +928,17 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -439,10 +949,6 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) { parameters.Validate(); } - if (ifMatch == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); - } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -555,7 +1061,7 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -593,7 +1099,7 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -611,7 +1117,7 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -653,9 +1159,9 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) /// Management service instance. /// /// - /// The entity state (Etag) version of the Api Operation Policy to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -706,17 +1212,17 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) } if (apiId != null) { - if (apiId.Length > 256) + if (apiId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); } if (apiId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (operationId == null) @@ -725,17 +1231,17 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) } if (operationId != null) { - if (operationId.Length > 256) + if (operationId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "operationId", 256); + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); } if (operationId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "operationId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "operationId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -847,7 +1353,7 @@ internal ApiOperationPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperationsExtensions.cs index 82fd30c60567..b9e3efa5a6d1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationPolicyOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -22,7 +22,66 @@ namespace Microsoft.Azure.Management.ApiManagement public static partial class ApiOperationPolicyOperationsExtensions { /// - /// Get the policy configuration at the API Operation level. + /// Get the list of policy configuration at the API Operation level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + public static PolicyCollection ListByOperation(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId) + { + return operations.ListByOperationAsync(resourceGroupName, serviceName, apiId, operationId).GetAwaiter().GetResult(); + } + + /// + /// Get the list of policy configuration at the API Operation level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task ListByOperationAsync(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state (Etag) version of the API operation policy specified + /// by its identifier. /// /// /// The operations group for this extension method. @@ -41,6 +100,64 @@ public static partial class ApiOperationPolicyOperationsExtensions /// Operation identifier within an API. Must be unique in the current API /// Management service instance. /// + public static ApiOperationPolicyGetEntityTagHeaders GetEntityTag(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId, operationId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the API operation policy specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get the policy configuration at the API Operation level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// public static PolicyContract Get(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId) { return operations.GetAsync(resourceGroupName, serviceName, apiId, operationId).GetAwaiter().GetResult(); @@ -59,8 +176,9 @@ public static PolicyContract Get(this IApiOperationPolicyOperations operations, /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -90,8 +208,9 @@ public static PolicyContract Get(this IApiOperationPolicyOperations operations, /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -101,11 +220,10 @@ public static PolicyContract Get(this IApiOperationPolicyOperations operations, /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Operation policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// - public static PolicyContract CreateOrUpdate(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch) + public static PolicyContract CreateOrUpdate(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch = default(string)) { return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, operationId, parameters, ifMatch).GetAwaiter().GetResult(); } @@ -123,8 +241,9 @@ public static PolicyContract CreateOrUpdate(this IApiOperationPolicyOperations o /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Operation identifier within an API. Must be unique in the current API @@ -134,14 +253,13 @@ public static PolicyContract CreateOrUpdate(this IApiOperationPolicyOperations o /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Operation policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { @@ -170,9 +288,9 @@ public static PolicyContract CreateOrUpdate(this IApiOperationPolicyOperations o /// Management service instance. /// /// - /// The entity state (Etag) version of the Api Operation Policy to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IApiOperationPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string ifMatch) { @@ -200,9 +318,9 @@ public static void Delete(this IApiOperationPolicyOperations operations, string /// Management service instance. /// /// - /// The entity state (Etag) version of the Api Operation Policy to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperations.cs index 225ea9dd927d..17a3e666b014 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -64,6 +64,9 @@ internal ApiOperations(ApiManagementClient client) /// /// OData parameters to apply to the operation. /// + /// + /// Include full ApiVersionSet resource in response + /// /// /// Headers that will be added to request. /// @@ -85,7 +88,7 @@ internal ApiOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandApiVersionSet = false, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -128,6 +131,7 @@ internal ApiOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("expandApiVersionSet", expandApiVersionSet); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); } @@ -150,6 +154,10 @@ internal ApiOperations(ApiManagementClient client) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); } + if (expandApiVersionSet != null) + { + _queryParameters.Add(string.Format("expandApiVersionSet={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(expandApiVersionSet, Client.SerializationSettings).Trim('"')))); + } if (_queryParameters.Count > 0) { _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); @@ -251,7 +259,7 @@ internal ApiOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -270,6 +278,231 @@ internal ApiOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 256) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the API specified by its identifier. /// @@ -280,8 +513,9 @@ internal ApiOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Headers that will be added to request. @@ -525,16 +759,16 @@ internal ApiOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Create or update parameters. /// /// - /// ETag of the Api Entity. For Create Api Etag should not be specified. For - /// Update Etag should match the existing Entity or it can be * for - /// unconditional update. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// Headers that will be added to request. @@ -716,7 +950,7 @@ internal ApiOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -754,7 +988,7 @@ internal ApiOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -772,7 +1006,7 @@ internal ApiOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -819,14 +1053,15 @@ internal ApiOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// API Update Contract parameters. /// /// - /// ETag of the API entity. ETag should match the current entity state in the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// @@ -1061,14 +1296,18 @@ internal ApiOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// ETag of the API Entity. ETag should match the current entity state from the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// + /// + /// Delete all revisions of the Api. + /// /// /// Headers that will be added to request. /// @@ -1087,7 +1326,7 @@ internal ApiOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string ifMatch, bool? deleteRevisions = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -1153,6 +1392,7 @@ internal ApiOperations(ApiManagementClient client) tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("apiId", apiId); + tracingParameters.Add("deleteRevisions", deleteRevisions); tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); @@ -1165,6 +1405,10 @@ internal ApiOperations(ApiManagementClient client) _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); + if (deleteRevisions != null) + { + _queryParameters.Add(string.Format("deleteRevisions={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(deleteRevisions, Client.SerializationSettings).Trim('"')))); + } if (Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); @@ -1235,7 +1479,7 @@ internal ApiOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1280,11 +1524,16 @@ internal ApiOperations(ApiManagementClient client) } /// - /// Lists all APIs of the API Management service instance. - /// + /// Lists a collection of apis associated with tags. /// - /// - /// The NextLink from the previous successful call to List operation. + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. /// /// /// Headers that will be added to request. @@ -1292,7 +1541,7 @@ internal ApiOperations(ApiManagementClient client) /// /// The cancellation token. /// - /// + /// /// Thrown when the operation returned an invalid status code /// /// @@ -1307,21 +1556,239 @@ internal ApiOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByTagsWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { - if (nextPageLink == null) + if (resourceGroupName == null) { - throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); } - // Tracing - bool _shouldTrace = ServiceClientTracing.IsEnabled; - string _invocationId = null; - if (_shouldTrace) + if (serviceName == null) { - _invocationId = ServiceClientTracing.NextInvocationId.ToString(); - Dictionary tracingParameters = new Dictionary(); - tracingParameters.Add("nextPageLink", nextPageLink); - tracingParameters.Add("cancellationToken", cancellationToken); + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByTags", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apisByTags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all APIs of the API Management service instance. + /// + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); } // Construct URL @@ -1429,7 +1896,180 @@ internal ApiOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByTagsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByTagsNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationsExtensions.cs index 4c6236757389..bc5c767aeb68 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -38,9 +38,12 @@ public static partial class ApiOperationsExtensions /// /// OData parameters to apply to the operation. /// - public static IPage ListByService(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + /// + /// Include full ApiVersionSet resource in response + /// + public static IPage ListByService(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandApiVersionSet = false) { - return ((IApiOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery, expandApiVersionSet).GetAwaiter().GetResult(); } /// @@ -59,17 +62,72 @@ public static partial class ApiOperationsExtensions /// /// OData parameters to apply to the operation. /// + /// + /// Include full ApiVersionSet resource in response + /// /// /// The cancellation token. /// - public static async Task> ListByServiceAsync(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByServiceAsync(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandApiVersionSet = false, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, expandApiVersionSet, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } } + /// + /// Gets the entity state (Etag) version of the API specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + public static ApiGetEntityTagHeaders GetEntityTag(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the API specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the API specified by its identifier. /// @@ -83,8 +141,9 @@ public static partial class ApiOperationsExtensions /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// public static ApiContract Get(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId) { @@ -104,8 +163,9 @@ public static ApiContract Get(this IApiOperations operations, string resourceGro /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// The cancellation token. @@ -132,16 +192,16 @@ public static ApiContract Get(this IApiOperations operations, string resourceGro /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Create or update parameters. /// /// - /// ETag of the Api Entity. For Create Api Etag should not be specified. For - /// Update Etag should match the existing Entity or it can be * for - /// unconditional update. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// public static ApiContract CreateOrUpdate(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, ApiCreateOrUpdateParameter parameters, string ifMatch = default(string)) { @@ -162,16 +222,16 @@ public static ApiContract Get(this IApiOperations operations, string resourceGro /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// Create or update parameters. /// /// - /// ETag of the Api Entity. For Create Api Etag should not be specified. For - /// Update Etag should match the existing Entity or it can be * for - /// unconditional update. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// The cancellation token. @@ -197,14 +257,15 @@ public static ApiContract Get(this IApiOperations operations, string resourceGro /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// API Update Contract parameters. /// /// - /// ETag of the API entity. ETag should match the current entity state in the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// @@ -226,14 +287,15 @@ public static void Update(this IApiOperations operations, string resourceGroupNa /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// API Update Contract parameters. /// /// - /// ETag of the API entity. ETag should match the current entity state in the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// @@ -258,17 +320,21 @@ public static void Update(this IApiOperations operations, string resourceGroupNa /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// ETag of the API Entity. ETag should match the current entity state from the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// - public static void Delete(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, string ifMatch) + /// + /// Delete all revisions of the Api. + /// + public static void Delete(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, string ifMatch, bool? deleteRevisions = default(bool?)) { - operations.DeleteAsync(resourceGroupName, serviceName, apiId, ifMatch).GetAwaiter().GetResult(); + operations.DeleteAsync(resourceGroupName, serviceName, apiId, ifMatch, deleteRevisions).GetAwaiter().GetResult(); } /// @@ -284,20 +350,70 @@ public static void Delete(this IApiOperations operations, string resourceGroupNa /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// ETag of the API Entity. ETag should match the current entity state from the + /// ETag of the Entity. ETag should match the current entity state from the /// header response of the GET request or it should be * for unconditional /// update. /// + /// + /// Delete all revisions of the Api. + /// /// /// The cancellation token. /// - public static async Task DeleteAsync(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IApiOperations operations, string resourceGroupName, string serviceName, string apiId, string ifMatch, bool? deleteRevisions = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, ifMatch, deleteRevisions, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByTags(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByTagsAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByTagsAsync(this IApiOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByTagsWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } } /// @@ -336,5 +452,39 @@ public static IPage ListByServiceNext(this IApiOperations operation } } + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByTagsNext(this IApiOperations operations, string nextPageLink) + { + return operations.ListByTagsNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByTagsNextAsync(this IApiOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByTagsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperations.cs index 3025d4b30ed4..3675226006f6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -115,17 +115,17 @@ internal ApiPolicyOperations(ApiManagementClient client) } if (apiId != null) { - if (apiId.Length > 256) + if (apiId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); } if (apiId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -295,7 +295,8 @@ internal ApiPolicyOperations(ApiManagementClient client) } /// - /// Get the policy configuration at the API level. + /// Gets the entity state (Etag) version of the API policy specified by its + /// identifier. /// /// /// The name of the resource group. @@ -316,6 +317,233 @@ internal ApiPolicyOperations(ApiManagementClient client) /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string policyId = "policy"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("policyId", policyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/policies/{policyId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{policyId}", System.Uri.EscapeDataString(policyId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the policy configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -551,15 +779,16 @@ internal ApiPolicyOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// Headers that will be added to request. @@ -582,7 +811,7 @@ internal ApiPolicyOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -634,10 +863,6 @@ internal ApiPolicyOperations(ApiManagementClient client) { parameters.Validate(); } - if (ifMatch == null) - { - throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); - } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -748,7 +973,7 @@ internal ApiPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -786,7 +1011,7 @@ internal ApiPolicyOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -804,7 +1029,7 @@ internal ApiPolicyOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -838,12 +1063,14 @@ internal ApiPolicyOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// The entity state (Etag) version of the Api policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1014,7 +1241,7 @@ internal ApiPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperationsExtensions.cs index f5f9733de84c..f685f7545664 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiPolicyOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -70,7 +70,30 @@ public static PolicyCollection ListByApi(this IApiPolicyOperations operations, s } /// - /// Get the policy configuration at the API level. + /// Gets the entity state (Etag) version of the API policy specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + public static ApiPolicyGetEntityTagHeaders GetEntityTag(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the API policy specified by its + /// identifier. /// /// /// The operations group for this extension method. @@ -85,6 +108,34 @@ public static PolicyCollection ListByApi(this IApiPolicyOperations operations, s /// API identifier. Must be unique in the current API Management service /// instance. /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get the policy configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. + /// public static PolicyContract Get(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId) { return operations.GetAsync(resourceGroupName, serviceName, apiId).GetAwaiter().GetResult(); @@ -103,8 +154,9 @@ public static PolicyContract Get(this IApiPolicyOperations operations, string re /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// The cancellation token. @@ -130,17 +182,18 @@ public static PolicyContract Get(this IApiPolicyOperations operations, string re /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// - public static PolicyContract CreateOrUpdate(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch) + public static PolicyContract CreateOrUpdate(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch = default(string)) { return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, parameters, ifMatch).GetAwaiter().GetResult(); } @@ -158,20 +211,21 @@ public static PolicyContract CreateOrUpdate(this IApiPolicyOperations operations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { @@ -192,12 +246,14 @@ public static PolicyContract CreateOrUpdate(this IApiPolicyOperations operations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// The entity state (Etag) version of the Api policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IApiPolicyOperations operations, string resourceGroupName, string serviceName, string apiId, string ifMatch) { @@ -217,12 +273,14 @@ public static void Delete(this IApiPolicyOperations operations, string resourceG /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management service - /// instance. + /// API revision identifier. Must be unique in the current API Management + /// service instance. Non-current revision has ;rev=n as a suffix where n is + /// the revision number. /// /// - /// The entity state (Etag) version of the Api policy to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperations.cs index 575026feccc7..eb6b9d2150c7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -119,17 +119,17 @@ internal ApiProductOperations(ApiManagementClient client) } if (apiId != null) { - if (apiId.Length > 256) + if (apiId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); } if (apiId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -275,7 +275,7 @@ internal ApiProductOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -443,7 +443,7 @@ internal ApiProductOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperationsExtensions.cs index b77e35d6dce4..ed77e59fde67 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiProductOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperations.cs new file mode 100644 index 000000000000..4abbf36c5dc1 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperations.cs @@ -0,0 +1,1784 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiReleaseOperations operations. + /// + internal partial class ApiReleaseOperations : IServiceOperations, IApiReleaseOperations + { + /// + /// Initializes a new instance of the ApiReleaseOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiReleaseOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Returns the etag of an API release. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (releaseId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "releaseId"); + } + if (releaseId != null) + { + if (releaseId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "releaseId", 80); + } + if (releaseId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "releaseId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(releaseId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "releaseId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("releaseId", releaseId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{releaseId}", System.Uri.EscapeDataString(releaseId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Returns the details of an API release. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (releaseId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "releaseId"); + } + if (releaseId != null) + { + if (releaseId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "releaseId", 80); + } + if (releaseId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "releaseId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(releaseId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "releaseId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("releaseId", releaseId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{releaseId}", System.Uri.EscapeDataString(releaseId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates a new Release for the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Create parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (releaseId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "releaseId"); + } + if (releaseId != null) + { + if (releaseId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "releaseId", 80); + } + if (releaseId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "releaseId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(releaseId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "releaseId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("releaseId", releaseId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Create", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{releaseId}", System.Uri.EscapeDataString(releaseId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates the details of the release of the API specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// API Release Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (releaseId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "releaseId"); + } + if (releaseId != null) + { + if (releaseId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "releaseId", 80); + } + if (releaseId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "releaseId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(releaseId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "releaseId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("releaseId", releaseId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{releaseId}", System.Uri.EscapeDataString(releaseId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified release in the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (releaseId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "releaseId"); + } + if (releaseId != null) + { + if (releaseId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "releaseId", 80); + } + if (releaseId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "releaseId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(releaseId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "releaseId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("releaseId", releaseId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/releases/{releaseId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{releaseId}", System.Uri.EscapeDataString(releaseId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperationsExtensions.cs new file mode 100644 index 000000000000..6a336ea9bd93 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiReleaseOperationsExtensions.cs @@ -0,0 +1,432 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiReleaseOperations. + /// + public static partial class ApiReleaseOperationsExtensions + { + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Returns the etag of an API release. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + public static ApiReleaseGetEntityTagHeaders GetEntityTag(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId, releaseId).GetAwaiter().GetResult(); + } + + /// + /// Returns the etag of an API release. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, releaseId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Returns the details of an API release. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + public static ApiReleaseContract Get(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId) + { + return operations.GetAsync(resourceGroupName, serviceName, apiId, releaseId).GetAwaiter().GetResult(); + } + + /// + /// Returns the details of an API release. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, releaseId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a new Release for the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Create parameters. + /// + public static ApiReleaseContract Create(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters) + { + return operations.CreateAsync(resourceGroupName, serviceName, apiId, releaseId, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates a new Release for the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Create parameters. + /// + /// + /// The cancellation token. + /// + public static async Task CreateAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, releaseId, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates the details of the release of the API specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// API Release Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, apiId, releaseId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates the details of the release of the API specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// API Release Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, releaseId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Deletes the specified release in the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, apiId, releaseId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified release in the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IApiReleaseOperations operations, string resourceGroupName, string serviceName, string apiId, string releaseId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, releaseId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IApiReleaseOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all releases of an API. An API release is created when making an API + /// Revision current. Releases are also used to rollback to previous revisions. + /// Results will be paged and can be constrained by the $top and $skip + /// parameters. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IApiReleaseOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperations.cs new file mode 100644 index 000000000000..4d1524616ec3 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperations.cs @@ -0,0 +1,466 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiRevisionsOperations operations. + /// + internal partial class ApiRevisionsOperations : IServiceOperations, IApiRevisionsOperations + { + /// + /// Initializes a new instance of the ApiRevisionsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiRevisionsOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all revisions of an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "List", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/revisions").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all revisions of an API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperationsExtensions.cs new file mode 100644 index 000000000000..480bae2fca29 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiRevisionsOperationsExtensions.cs @@ -0,0 +1,114 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiRevisionsOperations. + /// + public static partial class ApiRevisionsOperationsExtensions + { + /// + /// Lists all revisions of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage List(this IApiRevisionsOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all revisions of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListAsync(this IApiRevisionsOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists all revisions of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IApiRevisionsOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all revisions of an API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IApiRevisionsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs new file mode 100644 index 000000000000..4d117cba2684 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs @@ -0,0 +1,1555 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiSchemaOperations operations. + /// + internal partial class ApiSchemaOperations : IServiceOperations, IApiSchemaOperations + { + /// + /// Initializes a new instance of the ApiSchemaOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiSchemaOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task,ApiSchemaListByApiHeaders>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse,ApiSchemaListByApiHeaders>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state (Etag) version of the schema specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (schemaId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "schemaId"); + } + if (schemaId != null) + { + if (schemaId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "schemaId", 80); + } + if (schemaId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "schemaId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(schemaId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "schemaId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("schemaId", schemaId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{schemaId}", System.Uri.EscapeDataString(schemaId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (schemaId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "schemaId"); + } + if (schemaId != null) + { + if (schemaId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "schemaId", 80); + } + if (schemaId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "schemaId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(schemaId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "schemaId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("schemaId", schemaId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{schemaId}", System.Uri.EscapeDataString(schemaId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or updates schema configuration for the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The schema contents to apply. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (schemaId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "schemaId"); + } + if (schemaId != null) + { + if (schemaId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "schemaId", 80); + } + if (schemaId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "schemaId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(schemaId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "schemaId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("schemaId", schemaId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{schemaId}", System.Uri.EscapeDataString(schemaId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the schema configuration at the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (schemaId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "schemaId"); + } + if (schemaId != null) + { + if (schemaId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "schemaId", 80); + } + if (schemaId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "schemaId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(schemaId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "schemaId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("schemaId", schemaId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/schemas/{schemaId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{schemaId}", System.Uri.EscapeDataString(schemaId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task,ApiSchemaListByApiHeaders>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApiNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse,ApiSchemaListByApiHeaders>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs new file mode 100644 index 000000000000..d34d20ffbbd0 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs @@ -0,0 +1,354 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiSchemaOperations. + /// + public static partial class ApiSchemaOperationsExtensions + { + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + public static IPage ListByApi(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId) + { + return operations.ListByApiAsync(resourceGroupName, serviceName, apiId).GetAwaiter().GetResult(); + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state (Etag) version of the schema specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + public static ApiSchemaGetEntityTagHeaders GetEntityTag(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, apiId, schemaId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the schema specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, schemaId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + public static SchemaContract Get(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId) + { + return operations.GetAsync(resourceGroupName, serviceName, apiId, schemaId).GetAwaiter().GetResult(); + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, schemaId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or updates schema configuration for the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The schema contents to apply. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static SchemaContract CreateOrUpdate(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaContract parameters, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, schemaId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Creates or updates schema configuration for the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The schema contents to apply. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, schemaId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the schema configuration at the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, apiId, schemaId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes the schema configuration at the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, schemaId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByApiNext(this IApiSchemaOperations operations, string nextPageLink) + { + return operations.ListByApiNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Get the schema configuration at the API level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiNextAsync(this IApiSchemaOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperations.cs new file mode 100644 index 000000000000..c66147404b5e --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperations.cs @@ -0,0 +1,1659 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiVersionSetOperations operations. + /// + internal partial class ApiVersionSetOperations : IServiceOperations, IApiVersionSetOperations + { + /// + /// Initializes a new instance of the ApiVersionSetOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal ApiVersionSetOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state (Etag) version of the Api Version Set specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (versionSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionSetId"); + } + if (versionSetId != null) + { + if (versionSetId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "versionSetId", 80); + } + if (versionSetId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "versionSetId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(versionSetId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "versionSetId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("versionSetId", versionSetId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{versionSetId}", System.Uri.EscapeDataString(versionSetId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the Api Version Set specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (versionSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionSetId"); + } + if (versionSetId != null) + { + if (versionSetId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "versionSetId", 80); + } + if (versionSetId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "versionSetId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(versionSetId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "versionSetId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("versionSetId", versionSetId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{versionSetId}", System.Uri.EscapeDataString(versionSetId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates or Updates a Api Version Set. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create or update parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (versionSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionSetId"); + } + if (versionSetId != null) + { + if (versionSetId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "versionSetId", 80); + } + if (versionSetId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "versionSetId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(versionSetId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "versionSetId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("versionSetId", versionSetId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{versionSetId}", System.Uri.EscapeDataString(versionSetId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates the details of the Api VersionSet specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (versionSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionSetId"); + } + if (versionSetId != null) + { + if (versionSetId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "versionSetId", 80); + } + if (versionSetId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "versionSetId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(versionSetId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "versionSetId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("versionSetId", versionSetId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{versionSetId}", System.Uri.EscapeDataString(versionSetId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes specific Api Version Set. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (versionSetId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "versionSetId"); + } + if (versionSetId != null) + { + if (versionSetId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "versionSetId", 80); + } + if (versionSetId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "versionSetId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(versionSetId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "versionSetId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("versionSetId", versionSetId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/api-version-sets/{versionSetId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{versionSetId}", System.Uri.EscapeDataString(versionSetId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperationsExtensions.cs new file mode 100644 index 000000000000..69951294111c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiVersionSetOperationsExtensions.cs @@ -0,0 +1,382 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for ApiVersionSetOperations. + /// + public static partial class ApiVersionSetOperationsExtensions + { + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state (Etag) version of the Api Version Set specified by + /// its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + public static ApiVersionSetGetEntityTagHeaders GetEntityTag(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, versionSetId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the Api Version Set specified by + /// its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, versionSetId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Gets the details of the Api Version Set specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + public static ApiVersionSetContract Get(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId) + { + return operations.GetAsync(resourceGroupName, serviceName, versionSetId).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the Api Version Set specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, versionSetId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates or Updates a Api Version Set. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create or update parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static ApiVersionSetContract CreateOrUpdate(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetContract parameters, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, versionSetId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Creates or Updates a Api Version Set. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create or update parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, versionSetId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates the details of the Api VersionSet specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetUpdateParameters parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, versionSetId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates the details of the Api VersionSet specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, versionSetId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Deletes specific Api Version Set. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, versionSetId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes specific Api Version Set. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IApiVersionSetOperations operations, string resourceGroupName, string serviceName, string versionSetId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, versionSetId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IApiVersionSetOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of API Version Sets in the specified service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IApiVersionSetOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperations.cs index b806e5ed1fd2..99aef00b78d7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -256,7 +256,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -275,6 +275,229 @@ internal AuthorizationServerOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the authorizationServer specified + /// by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the authorization server. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (authsid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "authsid"); + } + if (authsid != null) + { + if (authsid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "authsid", 80); + } + if (authsid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "authsid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "authsid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("authsid", authsid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/authorizationServers/{authsid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{authsid}", System.Uri.EscapeDataString(authsid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the authorization server specified by its identifier. /// @@ -339,13 +562,17 @@ internal AuthorizationServerOperations(ApiManagementClient client) } if (authsid != null) { - if (authsid.Length > 256) + if (authsid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "authsid", 80); + } + if (authsid.Length < 1) { - throw new ValidationException(ValidationRules.MaxLength, "authsid", 256); + throw new ValidationException(ValidationRules.MinLength, "authsid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "authsid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "authsid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -530,6 +757,10 @@ internal AuthorizationServerOperations(ApiManagementClient client) /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -551,7 +782,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -582,13 +813,17 @@ internal AuthorizationServerOperations(ApiManagementClient client) } if (authsid != null) { - if (authsid.Length > 256) + if (authsid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "authsid", 80); + } + if (authsid.Length < 1) { - throw new ValidationException(ValidationRules.MaxLength, "authsid", 256); + throw new ValidationException(ValidationRules.MinLength, "authsid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "authsid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "authsid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -618,6 +853,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("authsid", authsid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -647,6 +883,14 @@ internal AuthorizationServerOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -697,7 +941,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -735,7 +979,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -753,7 +997,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -794,9 +1038,9 @@ internal AuthorizationServerOperations(ApiManagementClient client) /// OAuth2 Server settings Update parameters. /// /// - /// The entity state (Etag) version of the authorization server to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -847,13 +1091,17 @@ internal AuthorizationServerOperations(ApiManagementClient client) } if (authsid != null) { - if (authsid.Length > 256) + if (authsid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "authsid", 80); + } + if (authsid.Length < 1) { - throw new ValidationException(ValidationRules.MaxLength, "authsid", 256); + throw new ValidationException(ValidationRules.MinLength, "authsid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "authsid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "authsid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1028,9 +1276,9 @@ internal AuthorizationServerOperations(ApiManagementClient client) /// Identifier of the authorization server. /// /// - /// The entity state (Etag) version of the authentication server to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1081,13 +1329,17 @@ internal AuthorizationServerOperations(ApiManagementClient client) } if (authsid != null) { - if (authsid.Length > 256) + if (authsid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "authsid", 256); + throw new ValidationException(ValidationRules.MaxLength, "authsid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "^[^*#&+:<>?]+$")) + if (authsid.Length < 1) { - throw new ValidationException(ValidationRules.Pattern, "authsid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.MinLength, "authsid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(authsid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "authsid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1194,7 +1446,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1393,7 +1645,7 @@ internal AuthorizationServerOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperationsExtensions.cs index 20897b5e10a6..843f492ccfa3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/AuthorizationServerOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -40,7 +40,7 @@ public static partial class AuthorizationServerOperationsExtensions /// public static IPage ListByService(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IAuthorizationServerOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -70,6 +70,54 @@ public static partial class AuthorizationServerOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the authorizationServer specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the authorization server. + /// + public static AuthorizationServerGetEntityTagHeaders GetEntityTag(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, authsid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the authorizationServer specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the authorization server. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, authsid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the authorization server specified by its identifier. /// @@ -135,9 +183,13 @@ public static AuthorizationServerContract Get(this IAuthorizationServerOperation /// /// Create or update parameters. /// - public static AuthorizationServerContract CreateOrUpdate(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static AuthorizationServerContract CreateOrUpdate(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, authsid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, authsid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -159,12 +211,16 @@ public static AuthorizationServerContract CreateOrUpdate(this IAuthorizationServ /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, authsid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, authsid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -190,9 +246,9 @@ public static AuthorizationServerContract CreateOrUpdate(this IAuthorizationServ /// OAuth2 Server settings Update parameters. /// /// - /// The entity state (Etag) version of the authorization server to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, AuthorizationServerUpdateContract parameters, string ifMatch) { @@ -219,9 +275,9 @@ public static void Update(this IAuthorizationServerOperations operations, string /// OAuth2 Server settings Update parameters. /// /// - /// The entity state (Etag) version of the authorization server to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -247,9 +303,9 @@ public static void Update(this IAuthorizationServerOperations operations, string /// Identifier of the authorization server. /// /// - /// The entity state (Etag) version of the authentication server to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IAuthorizationServerOperations operations, string resourceGroupName, string serviceName, string authsid, string ifMatch) { @@ -272,9 +328,9 @@ public static void Delete(this IAuthorizationServerOperations operations, string /// Identifier of the authorization server. /// /// - /// The entity state (Etag) version of the authentication server to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperations.cs index 29d39417b35d..ecd0b5024212 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -250,7 +250,7 @@ internal BackendOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -269,6 +269,230 @@ internal BackendOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the backend specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (backendid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "backendid"); + } + if (backendid != null) + { + if (backendid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); + } + if (backendid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "backendid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("backendid", backendid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{backendid}", System.Uri.EscapeDataString(backendid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the backend specified by its identifier. /// @@ -334,17 +558,17 @@ internal BackendOperations(ApiManagementClient client) } if (backendid != null) { - if (backendid.Length > 255) + if (backendid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "backendid", 255); + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); } if (backendid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "backendid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "backendid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -529,6 +753,10 @@ internal BackendOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -550,7 +778,7 @@ internal BackendOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -581,17 +809,17 @@ internal BackendOperations(ApiManagementClient client) } if (backendid != null) { - if (backendid.Length > 255) + if (backendid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "backendid", 255); + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); } if (backendid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "backendid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "backendid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -621,6 +849,7 @@ internal BackendOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("backendid", backendid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -650,6 +879,14 @@ internal BackendOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -700,7 +937,7 @@ internal BackendOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -738,7 +975,7 @@ internal BackendOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -756,7 +993,7 @@ internal BackendOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -797,8 +1034,9 @@ internal BackendOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the backend to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -849,17 +1087,17 @@ internal BackendOperations(ApiManagementClient client) } if (backendid != null) { - if (backendid.Length > 255) + if (backendid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "backendid", 255); + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); } if (backendid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "backendid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "backendid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1035,8 +1273,9 @@ internal BackendOperations(ApiManagementClient client) /// Management service instance. /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1087,17 +1326,17 @@ internal BackendOperations(ApiManagementClient client) } if (backendid != null) { - if (backendid.Length > 255) + if (backendid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "backendid", 255); + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); } if (backendid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "backendid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "backendid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1204,7 +1443,229 @@ internal BackendOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Notifies the APIM proxy to create a new connection to the backend after the + /// specified timeout. If no timeout was specified, timeout of 2 minutes is + /// used. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Reconnect request parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task ReconnectWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendReconnectContract parameters = default(BackendReconnectContract), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (backendid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "backendid"); + } + if (backendid != null) + { + if (backendid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "backendid", 80); + } + if (backendid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "backendid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(backendid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "backendid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("backendid", backendid); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Reconnect", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/backends/{backendid}/reconnect").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{backendid}", System.Uri.EscapeDataString(backendid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("POST"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 202) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1397,7 +1858,7 @@ internal BackendOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperationsExtensions.cs index df55e03964f7..9da1e523cda5 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/BackendOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -39,7 +39,7 @@ public static partial class BackendOperationsExtensions /// public static IPage ListByService(this IBackendOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IBackendOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -68,6 +68,56 @@ public static partial class BackendOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the backend specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + public static BackendGetEntityTagHeaders GetEntityTag(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, backendid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the backend specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, backendid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the backend specified by its identifier. /// @@ -135,9 +185,13 @@ public static BackendContract Get(this IBackendOperations operations, string res /// /// Create parameters. /// - public static BackendContract CreateOrUpdate(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static BackendContract CreateOrUpdate(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, backendid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, backendid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -159,12 +213,16 @@ public static BackendContract CreateOrUpdate(this IBackendOperations operations, /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, backendid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, backendid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -190,8 +248,9 @@ public static BackendContract CreateOrUpdate(this IBackendOperations operations, /// Update parameters. /// /// - /// The entity state (Etag) version of the backend to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendUpdateParameters parameters, string ifMatch) { @@ -218,8 +277,9 @@ public static void Update(this IBackendOperations operations, string resourceGro /// Update parameters. /// /// - /// The entity state (Etag) version of the backend to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -246,8 +306,9 @@ public static void Update(this IBackendOperations operations, string resourceGro /// Management service instance. /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, string ifMatch) { @@ -271,8 +332,9 @@ public static void Delete(this IBackendOperations operations, string resourceGro /// Management service instance. /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -282,6 +344,61 @@ public static void Delete(this IBackendOperations operations, string resourceGro (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, backendid, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Notifies the APIM proxy to create a new connection to the backend after the + /// specified timeout. If no timeout was specified, timeout of 2 minutes is + /// used. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Reconnect request parameters. + /// + public static void Reconnect(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendReconnectContract parameters = default(BackendReconnectContract)) + { + operations.ReconnectAsync(resourceGroupName, serviceName, backendid, parameters).GetAwaiter().GetResult(); + } + + /// + /// Notifies the APIM proxy to create a new connection to the backend after the + /// specified timeout. If no timeout was specified, timeout of 2 minutes is + /// used. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Reconnect request parameters. + /// + /// + /// The cancellation token. + /// + public static async Task ReconnectAsync(this IBackendOperations operations, string resourceGroupName, string serviceName, string backendid, BackendReconnectContract parameters = default(BackendReconnectContract), CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.ReconnectWithHttpMessagesAsync(resourceGroupName, serviceName, backendid, parameters, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + /// /// Lists a collection of backends in the specified service instance. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperations.cs index 4e5e2d0d4af9..ae6e6479cbba 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -250,7 +250,7 @@ internal CertificateOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -269,6 +269,230 @@ internal CertificateOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the certificate specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the certificate entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string certificateId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (certificateId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "certificateId"); + } + if (certificateId != null) + { + if (certificateId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "certificateId", 80); + } + if (certificateId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "certificateId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "certificateId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("certificateId", certificateId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/certificates/{certificateId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{certificateId}", System.Uri.EscapeDataString(certificateId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the certificate specified by its identifier. /// @@ -334,17 +558,17 @@ internal CertificateOperations(ApiManagementClient client) } if (certificateId != null) { - if (certificateId.Length > 256) + if (certificateId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "certificateId", 256); + throw new ValidationException(ValidationRules.MaxLength, "certificateId", 80); } if (certificateId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "certificateId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "certificateId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "certificateId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -532,8 +756,8 @@ internal CertificateOperations(ApiManagementClient client) /// Create or Update parameters. /// /// - /// The entity state (Etag) version of the certificate to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation.. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// Headers that will be added to request. @@ -587,17 +811,17 @@ internal CertificateOperations(ApiManagementClient client) } if (certificateId != null) { - if (certificateId.Length > 256) + if (certificateId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "certificateId", 256); + throw new ValidationException(ValidationRules.MaxLength, "certificateId", 80); } if (certificateId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "certificateId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "certificateId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "certificateId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -715,7 +939,7 @@ internal CertificateOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -753,7 +977,7 @@ internal CertificateOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -771,7 +995,7 @@ internal CertificateOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -809,8 +1033,9 @@ internal CertificateOperations(ApiManagementClient client) /// Management service instance. /// /// - /// The entity state (Etag) version of the certificate to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -861,17 +1086,17 @@ internal CertificateOperations(ApiManagementClient client) } if (certificateId != null) { - if (certificateId.Length > 256) + if (certificateId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "certificateId", 256); + throw new ValidationException(ValidationRules.MaxLength, "certificateId", 80); } if (certificateId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "certificateId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(certificateId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "certificateId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "certificateId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -978,7 +1203,7 @@ internal CertificateOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1171,7 +1396,7 @@ internal CertificateOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperationsExtensions.cs index 8fe08e229205..22a46ba82921 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/CertificateOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -39,7 +39,7 @@ public static partial class CertificateOperationsExtensions /// public static IPage ListByService(this ICertificateOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((ICertificateOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -68,6 +68,56 @@ public static partial class CertificateOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the certificate specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the certificate entity. Must be unique in the current API + /// Management service instance. + /// + public static CertificateGetEntityTagHeaders GetEntityTag(this ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, certificateId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the certificate specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the certificate entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, certificateId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the certificate specified by its identifier. /// @@ -138,8 +188,8 @@ public static CertificateContract Get(this ICertificateOperations operations, st /// Create or Update parameters. /// /// - /// The entity state (Etag) version of the certificate to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation.. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// public static CertificateContract CreateOrUpdate(this ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId, CertificateCreateOrUpdateParameters parameters, string ifMatch = default(string)) { @@ -168,8 +218,8 @@ public static CertificateContract Get(this ICertificateOperations operations, st /// Create or Update parameters. /// /// - /// The entity state (Etag) version of the certificate to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation.. + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. /// /// /// The cancellation token. @@ -199,8 +249,9 @@ public static CertificateContract Get(this ICertificateOperations operations, st /// Management service instance. /// /// - /// The entity state (Etag) version of the certificate to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this ICertificateOperations operations, string resourceGroupName, string serviceName, string certificateId, string ifMatch) { @@ -224,8 +275,9 @@ public static void Delete(this ICertificateOperations operations, string resourc /// Management service instance. /// /// - /// The entity state (Etag) version of the certificate to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperations.cs new file mode 100644 index 000000000000..b7284c44d909 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperations.cs @@ -0,0 +1,913 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DelegationSettingsOperations operations. + /// + internal partial class DelegationSettingsOperations : IServiceOperations, IDelegationSettingsOperations + { + /// + /// Initializes a new instance of the DelegationSettingsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal DelegationSettingsOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the entity state (Etag) version of the DelegationSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Update Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Delegation settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalDelegationSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or Update Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalDelegationSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/delegation").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperationsExtensions.cs new file mode 100644 index 000000000000..4e665bf08385 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DelegationSettingsOperationsExtensions.cs @@ -0,0 +1,204 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for DelegationSettingsOperations. + /// + public static partial class DelegationSettingsOperationsExtensions + { + /// + /// Gets the entity state (Etag) version of the DelegationSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static DelegationSettingsGetEntityTagHeaders GetEntityTag(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the DelegationSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static PortalDelegationSettings Get(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Get Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Delegation settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, PortalDelegationSettings parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Update Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Delegation settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, PortalDelegationSettings parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create or Update Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + public static PortalDelegationSettings CreateOrUpdate(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, PortalDelegationSettings parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Create or Update Delegation settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IDelegationSettingsOperations operations, string resourceGroupName, string serviceName, PortalDelegationSettings parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperations.cs new file mode 100644 index 000000000000..edf1e957075f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperations.cs @@ -0,0 +1,1199 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DiagnosticLoggerOperations operations. + /// + internal partial class DiagnosticLoggerOperations : IServiceOperations, IDiagnosticLoggerOperations + { + /// + /// Initializes a new instance of the DiagnosticLoggerOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal DiagnosticLoggerOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Attaches a logger to a dignostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified Logger from Diagnostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperationsExtensions.cs new file mode 100644 index 000000000000..2aeeac8f21d1 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticLoggerOperationsExtensions.cs @@ -0,0 +1,279 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for DiagnosticLoggerOperations. + /// + public static partial class DiagnosticLoggerOperationsExtensions + { + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, diagnosticId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static bool CheckEntityExists(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Checks that logger entity specified by identifier is associated with the + /// diagnostics entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Attaches a logger to a dignostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static LoggerContract CreateOrUpdate(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Attaches a logger to a dignostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Deletes the specified Logger from Diagnostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static void Delete(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid) + { + operations.DeleteAsync(resourceGroupName, serviceName, diagnosticId, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified Logger from Diagnostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IDiagnosticLoggerOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, loggerid, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IDiagnosticLoggerOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all loggers assosiated with the specified Diagnostic of the API + /// Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IDiagnosticLoggerOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperations.cs new file mode 100644 index 000000000000..b734cf997a70 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperations.cs @@ -0,0 +1,1659 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DiagnosticOperations operations. + /// + internal partial class DiagnosticOperations : IServiceOperations, IDiagnosticOperations + { + /// + /// Initializes a new instance of the DiagnosticOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal DiagnosticOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the Diagnostic specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates a new Diagnostic or updates an existing one. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates the details of the Diagnostic specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes the specified Diagnostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (diagnosticId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "diagnosticId"); + } + if (diagnosticId != null) + { + if (diagnosticId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "diagnosticId", 80); + } + if (diagnosticId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "diagnosticId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(diagnosticId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "diagnosticId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("diagnosticId", diagnosticId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/diagnostics/{diagnosticId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{diagnosticId}", System.Uri.EscapeDataString(diagnosticId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperationsExtensions.cs new file mode 100644 index 000000000000..b4b047f12159 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/DiagnosticOperationsExtensions.cs @@ -0,0 +1,382 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for DiagnosticOperations. + /// + public static partial class DiagnosticOperationsExtensions + { + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + public static DiagnosticGetEntityTagHeaders GetEntityTag(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, diagnosticId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the Diagnostic specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Gets the details of the Diagnostic specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + public static DiagnosticContract Get(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId) + { + return operations.GetAsync(resourceGroupName, serviceName, diagnosticId).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the Diagnostic specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a new Diagnostic or updates an existing one. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static DiagnosticContract CreateOrUpdate(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, diagnosticId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Creates a new Diagnostic or updates an existing one. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates the details of the Diagnostic specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, diagnosticId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates the details of the Diagnostic specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Deletes the specified Diagnostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, diagnosticId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes the specified Diagnostic. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this IDiagnosticOperations operations, string resourceGroupName, string serviceName, string diagnosticId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, diagnosticId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IDiagnosticOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IDiagnosticOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperations.cs index c4b5d1a4e8b2..57cef424fd7d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -266,7 +266,7 @@ internal EmailTemplateOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -285,6 +285,222 @@ internal EmailTemplateOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the email template specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Email Template Name Identifier. Possible values include: + /// 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + /// 'quotaLimitApproachingDeveloperNotificationMessage', + /// 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', + /// 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + /// 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + /// 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', + /// 'passwordResetByAdminNotificationMessage', + /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (templateName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "templateName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("templateName", templateName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/templates/{templateName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{templateName}", System.Uri.EscapeDataString(templateName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the email template specified by its identifier. /// @@ -544,6 +760,10 @@ internal EmailTemplateOperations(ApiManagementClient client) /// /// Email Template update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -565,7 +785,7 @@ internal EmailTemplateOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -621,6 +841,7 @@ internal EmailTemplateOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("templateName", templateName); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -650,6 +871,14 @@ internal EmailTemplateOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -700,7 +929,7 @@ internal EmailTemplateOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -738,7 +967,7 @@ internal EmailTemplateOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -756,7 +985,7 @@ internal EmailTemplateOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -1018,8 +1247,9 @@ internal EmailTemplateOperations(ApiManagementClient client) /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' /// /// - /// The entity state (Etag) version of the Email Template to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1172,7 +1402,7 @@ internal EmailTemplateOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1370,7 +1600,7 @@ internal EmailTemplateOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperationsExtensions.cs index 9067abe51f08..ad8fed2cd66f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/EmailTemplateOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -73,6 +73,70 @@ public static partial class EmailTemplateOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the email template specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Email Template Name Identifier. Possible values include: + /// 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + /// 'quotaLimitApproachingDeveloperNotificationMessage', + /// 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', + /// 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + /// 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + /// 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', + /// 'passwordResetByAdminNotificationMessage', + /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' + /// + public static EmailTemplateGetEntityTagHeaders GetEntityTag(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, templateName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the email template specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Email Template Name Identifier. Possible values include: + /// 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + /// 'quotaLimitApproachingDeveloperNotificationMessage', + /// 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', + /// 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + /// 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + /// 'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault', + /// 'passwordResetByAdminNotificationMessage', + /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, templateName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the email template specified by its identifier. /// @@ -161,9 +225,13 @@ public static EmailTemplateContract Get(this IEmailTemplateOperations operations /// /// Email Template update parameters. /// - public static EmailTemplateContract CreateOrUpdate(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static EmailTemplateContract CreateOrUpdate(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, templateName, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, templateName, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -192,12 +260,16 @@ public static EmailTemplateContract CreateOrUpdate(this IEmailTemplateOperations /// /// Email Template update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, templateName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, templateName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -293,8 +365,9 @@ public static void Update(this IEmailTemplateOperations operations, string resou /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' /// /// - /// The entity state (Etag) version of the Email Template to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, string templateName, string ifMatch) { @@ -326,8 +399,9 @@ public static void Delete(this IEmailTemplateOperations operations, string resou /// 'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage' /// /// - /// The entity state (Etag) version of the Email Template to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperations.cs index 85ebf4b84c7c..46a2eb2a4eb7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -256,7 +256,7 @@ internal GroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -275,6 +275,230 @@ internal GroupOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the group specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (groupId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "groupId"); + } + if (groupId != null) + { + if (groupId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); + } + if (groupId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "groupId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("groupId", groupId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{groupId}", System.Uri.EscapeDataString(groupId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the group specified by its identifier. /// @@ -340,17 +564,17 @@ internal GroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -535,6 +759,10 @@ internal GroupOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -556,7 +784,7 @@ internal GroupOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -587,17 +815,17 @@ internal GroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -627,6 +855,7 @@ internal GroupOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("groupId", groupId); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -656,6 +885,14 @@ internal GroupOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -706,7 +943,7 @@ internal GroupOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -744,7 +981,7 @@ internal GroupOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -762,7 +999,7 @@ internal GroupOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -803,8 +1040,8 @@ internal GroupOperations(ApiManagementClient client) /// Update parameters. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// @@ -856,17 +1093,17 @@ internal GroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1042,8 +1279,8 @@ internal GroupOperations(ApiManagementClient client) /// instance. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// @@ -1095,17 +1332,17 @@ internal GroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1212,7 +1449,7 @@ internal GroupOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1411,7 +1648,7 @@ internal GroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperationsExtensions.cs index d13ab43f0006..2dae03ec35f6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -40,7 +40,7 @@ public static partial class GroupOperationsExtensions /// public static IPage ListByService(this IGroupOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IGroupOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -70,6 +70,56 @@ public static partial class GroupOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the group specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + public static GroupGetEntityTagHeaders GetEntityTag(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, groupId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the group specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, groupId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the group specified by its identifier. /// @@ -137,9 +187,13 @@ public static GroupContract Get(this IGroupOperations operations, string resourc /// /// Create parameters. /// - public static GroupContract CreateOrUpdate(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static GroupContract CreateOrUpdate(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, groupId, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, groupId, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -161,12 +215,16 @@ public static GroupContract CreateOrUpdate(this IGroupOperations operations, str /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, groupId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, groupId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -192,8 +250,8 @@ public static GroupContract CreateOrUpdate(this IGroupOperations operations, str /// Update parameters. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// public static void Update(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, GroupUpdateParameters parameters, string ifMatch) @@ -221,8 +279,8 @@ public static void Update(this IGroupOperations operations, string resourceGroup /// Update parameters. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// @@ -250,8 +308,8 @@ public static void Update(this IGroupOperations operations, string resourceGroup /// instance. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// public static void Delete(this IGroupOperations operations, string resourceGroupName, string serviceName, string groupId, string ifMatch) @@ -276,8 +334,8 @@ public static void Delete(this IGroupOperations operations, string resourceGroup /// instance. /// /// - /// ETag of the Group Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperations.cs index 0ff94028b4bf..8e870ba00277 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -120,17 +120,17 @@ internal GroupUserOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -276,7 +276,7 @@ internal GroupUserOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -295,6 +295,243 @@ internal GroupUserOperations(ApiManagementClient client) return _result; } + /// + /// Checks that user entity specified by identifier is associated with the + /// group entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (groupId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "groupId"); + } + if (groupId != null) + { + if (groupId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); + } + if (groupId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "groupId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (uid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "uid"); + } + if (uid != null) + { + if (uid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); + } + if (uid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "uid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("groupId", groupId); + tracingParameters.Add("uid", uid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/groups/{groupId}/users/{uid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{groupId}", System.Uri.EscapeDataString(groupId)); + _url = _url.Replace("{uid}", System.Uri.EscapeDataString(uid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Adds a user to the specified group. /// @@ -364,17 +601,17 @@ internal GroupUserOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (uid == null) @@ -383,17 +620,17 @@ internal GroupUserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -489,7 +726,7 @@ internal GroupUserOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -527,7 +764,7 @@ internal GroupUserOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -545,7 +782,7 @@ internal GroupUserOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -635,17 +872,17 @@ internal GroupUserOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (uid == null) @@ -654,17 +891,17 @@ internal GroupUserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -760,7 +997,7 @@ internal GroupUserOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -954,7 +1191,7 @@ internal GroupUserOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperationsExtensions.cs index 367308d67d74..8919f7cbf912 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/GroupUserOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -44,7 +44,7 @@ public static partial class GroupUserOperationsExtensions /// public static IPage List(this IGroupUserOperations operations, string resourceGroupName, string serviceName, string groupId, ODataQuery odataQuery = default(ODataQuery)) { - return ((IGroupUserOperations)operations).ListAsync(resourceGroupName, serviceName, groupId, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, serviceName, groupId, odataQuery).GetAwaiter().GetResult(); } /// @@ -78,6 +78,64 @@ public static partial class GroupUserOperationsExtensions } } + /// + /// Checks that user entity specified by identifier is associated with the + /// group entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + public static bool CheckEntityExists(this IGroupUserOperations operations, string resourceGroupName, string serviceName, string groupId, string uid) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, groupId, uid).GetAwaiter().GetResult(); + } + + /// + /// Checks that user entity specified by identifier is associated with the + /// group entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this IGroupUserOperations operations, string resourceGroupName, string serviceName, string groupId, string uid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, groupId, uid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Adds a user to the specified group. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticLoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticLoggerOperations.cs new file mode 100644 index 000000000000..f564a09fb880 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticLoggerOperations.cs @@ -0,0 +1,194 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiDiagnosticLoggerOperations operations. + /// + public partial interface IApiDiagnosticLoggerOperations + { + /// + /// Lists all loggers assosiated with the specified Diagnostic of an + /// API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Checks that logger entity specified by identifier is associated + /// with the diagnostics entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Attaches a logger to a dignostic for an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified Logger from Diagnostic for an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all loggers assosiated with the specified Diagnostic of an + /// API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticOperations.cs new file mode 100644 index 000000000000..586743c555c6 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiDiagnosticOperations.cs @@ -0,0 +1,261 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiDiagnosticOperations operations. + /// + public partial interface IApiDiagnosticOperations + { + /// + /// Lists all diagnostics of an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the Diagnostic for an API + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the Diagnostic for an API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates a new Diagnostic for an API or updates an existing one. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates the details of the Diagnostic for an API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, DiagnosticContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified Diagnostic from an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string diagnosticId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all diagnostics of an API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiExportOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiExportOperations.cs new file mode 100644 index 000000000000..c566c796ef01 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiExportOperations.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiExportOperations operations. + /// + public partial interface IApiExportOperations + { + /// + /// Gets the details of the API specified by its identifier in the + /// format specified to the Storage Blob with SAS Key valid for 5 + /// minutes. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Format in which to export the Api Details to the Storage Blob with + /// Sas Key valid for 5 minutes. Possible values include: 'Swagger', + /// 'Wsdl', 'Wadl' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string format, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementClient.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementClient.cs index 27ca80cae00b..10682ca7a2f8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementClient.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementClient.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -90,6 +90,16 @@ public partial interface IApiManagementClient : System.IDisposable /// IApiOperations Api { get; } + /// + /// Gets the IApiRevisionsOperations. + /// + IApiRevisionsOperations ApiRevisions { get; } + + /// + /// Gets the IApiReleaseOperations. + /// + IApiReleaseOperations ApiRelease { get; } + /// /// Gets the IApiOperationOperations. /// @@ -110,6 +120,21 @@ public partial interface IApiManagementClient : System.IDisposable /// IApiPolicyOperations ApiPolicy { get; } + /// + /// Gets the IApiSchemaOperations. + /// + IApiSchemaOperations ApiSchema { get; } + + /// + /// Gets the IApiDiagnosticOperations. + /// + IApiDiagnosticOperations ApiDiagnostic { get; } + + /// + /// Gets the IApiDiagnosticLoggerOperations. + /// + IApiDiagnosticLoggerOperations ApiDiagnosticLogger { get; } + /// /// Gets the IAuthorizationServerOperations. /// @@ -135,6 +160,16 @@ public partial interface IApiManagementClient : System.IDisposable /// IApiManagementServiceOperations ApiManagementService { get; } + /// + /// Gets the IDiagnosticOperations. + /// + IDiagnosticOperations Diagnostic { get; } + + /// + /// Gets the IDiagnosticLoggerOperations. + /// + IDiagnosticLoggerOperations DiagnosticLogger { get; } + /// /// Gets the IEmailTemplateOperations. /// @@ -160,6 +195,21 @@ public partial interface IApiManagementClient : System.IDisposable /// ILoggerOperations Logger { get; } + /// + /// Gets the INotificationOperations. + /// + INotificationOperations Notification { get; } + + /// + /// Gets the INotificationRecipientUserOperations. + /// + INotificationRecipientUserOperations NotificationRecipientUser { get; } + + /// + /// Gets the INotificationRecipientEmailOperations. + /// + INotificationRecipientEmailOperations NotificationRecipientEmail { get; } + /// /// Gets the INetworkStatusOperations. /// @@ -170,6 +220,21 @@ public partial interface IApiManagementClient : System.IDisposable /// IOpenIdConnectProviderOperations OpenIdConnectProvider { get; } + /// + /// Gets the ISignInSettingsOperations. + /// + ISignInSettingsOperations SignInSettings { get; } + + /// + /// Gets the ISignUpSettingsOperations. + /// + ISignUpSettingsOperations SignUpSettings { get; } + + /// + /// Gets the IDelegationSettingsOperations. + /// + IDelegationSettingsOperations DelegationSettings { get; } + /// /// Gets the IProductOperations. /// @@ -220,6 +285,26 @@ public partial interface IApiManagementClient : System.IDisposable /// ISubscriptionOperations Subscription { get; } + /// + /// Gets the ITagResourceOperations. + /// + ITagResourceOperations TagResource { get; } + + /// + /// Gets the ITagOperations. + /// + ITagOperations Tag { get; } + + /// + /// Gets the ITagDescriptionOperations. + /// + ITagDescriptionOperations TagDescription { get; } + + /// + /// Gets the IOperationOperations. + /// + IOperationOperations Operation { get; } + /// /// Gets the ITenantAccessOperations. /// @@ -255,5 +340,15 @@ public partial interface IApiManagementClient : System.IDisposable /// IUserIdentitiesOperations UserIdentities { get; } + /// + /// Gets the IApiVersionSetOperations. + /// + IApiVersionSetOperations ApiVersionSet { get; } + + /// + /// Gets the IApiExportOperations. + /// + IApiExportOperations ApiExport { get; } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementOperations.cs index 6a6854843f68..cb7acf6ba625 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementServiceOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementServiceOperations.cs index 7cfc454c8bdb..4ecd4d550190 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementServiceOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiManagementServiceOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -314,6 +314,68 @@ public partial interface IApiManagementServiceOperations /// Task> ApplyNetworkConfigurationUpdatesWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceApplyNetworkConfigurationParameters parameters = default(ApiManagementServiceApplyNetworkConfigurationParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Upload Custom Domain SSL certificate for an API Management service. + /// This operation will be deprecated in future releases. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the Upload SSL certificate for an API + /// Management service operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> UploadCertificateWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUploadCertificateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates, updates, or deletes the custom hostnames for an API + /// Management service. The custom hostname can be applied to the Proxy + /// and Portal endpoint. This is a long running operation and could + /// take several minutes to complete. This operation will be deprecated + /// in the next version update. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> UpdateHostnameWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Restores a backup of an API Management service created using the /// ApiManagementService_Backup operation on the current service. This /// is a long running operation and could take several minutes to @@ -467,6 +529,38 @@ public partial interface IApiManagementServiceOperations /// Task> BeginApplyNetworkConfigurationUpdatesWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceApplyNetworkConfigurationParameters parameters = default(ApiManagementServiceApplyNetworkConfigurationParameters), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Creates, updates, or deletes the custom hostnames for an API + /// Management service. The custom hostname can be applied to the Proxy + /// and Portal endpoint. This is a long running operation and could + /// take several minutes to complete. This operation will be deprecated + /// in the next version update. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Parameters supplied to the UpdateHostname operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> BeginUpdateHostnameWithHttpMessagesAsync(string resourceGroupName, string serviceName, ApiManagementServiceUpdateHostnameParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// List all API Management services within a resource group. /// /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationOperations.cs index 1dc2bc308bd5..197abfdbd1e8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -34,8 +34,9 @@ public partial interface IApiOperationOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// OData parameters to apply to the operation. @@ -57,7 +58,8 @@ public partial interface IApiOperationOperations /// Task>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Gets the details of the API Operation specified by its identifier. + /// Gets the entity state (Etag) version of the API operation specified + /// by its identifier. /// /// /// The name of the resource group. @@ -82,6 +84,37 @@ public partial interface IApiOperationOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the API Operation specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -99,8 +132,9 @@ public partial interface IApiOperationOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// Operation identifier within an API. Must be unique in the current @@ -109,6 +143,10 @@ public partial interface IApiOperationOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -124,7 +162,7 @@ public partial interface IApiOperationOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, OperationContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the details of the operation in the API specified by its /// identifier. @@ -136,8 +174,9 @@ public partial interface IApiOperationOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// Operation identifier within an API. Must be unique in the current @@ -147,9 +186,9 @@ public partial interface IApiOperationOperations /// API Operation Update parameters. /// /// - /// ETag of the API Operation Entity. ETag should match the current - /// entity state from the header response of the GET request or it - /// should be * for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -174,17 +213,18 @@ public partial interface IApiOperationOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// Operation identifier within an API. Must be unique in the current /// API Management service instance. /// /// - /// ETag of the API Operation Entity. ETag should match the current - /// entity state from the header response of the GET request or it - /// should be * for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationPolicyOperations.cs index 316e128b7377..84d1a071159b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperationPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -24,7 +24,42 @@ namespace Microsoft.Azure.Management.ApiManagement public partial interface IApiOperationPolicyOperations { /// - /// Get the policy configuration at the API Operation level. + /// Get the list of policy configuration at the API Operation level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ListByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the API operation policy + /// specified by its identifier. /// /// /// The name of the resource group. @@ -49,6 +84,37 @@ public partial interface IApiOperationPolicyOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the policy configuration at the API Operation level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -67,8 +133,9 @@ public partial interface IApiOperationPolicyOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// Operation identifier within an API. Must be unique in the current @@ -78,9 +145,8 @@ public partial interface IApiOperationPolicyOperations /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Operation policy to - /// update. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. /// /// /// The headers that will be added to request. @@ -97,7 +163,7 @@ public partial interface IApiOperationPolicyOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the policy configuration at the Api Operation. /// @@ -116,9 +182,9 @@ public partial interface IApiOperationPolicyOperations /// API Management service instance. /// /// - /// The entity state (Etag) version of the Api Operation Policy to - /// delete. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperations.cs index 7499d7f89dda..4723c745afbb 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -37,6 +37,9 @@ public partial interface IApiOperations /// /// OData parameters to apply to the operation. /// + /// + /// Include full ApiVersionSet resource in response + /// /// /// The headers that will be added to request. /// @@ -52,7 +55,35 @@ public partial interface IApiOperations /// /// Thrown when a required parameter is null /// - Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandApiVersionSet = false, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the details of the API specified by its identifier. /// @@ -63,8 +94,9 @@ public partial interface IApiOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// The headers that will be added to request. @@ -93,16 +125,16 @@ public partial interface IApiOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// Create or update parameters. /// /// - /// ETag of the Api Entity. For Create Api Etag should not be - /// specified. For Update Etag should match the existing Entity or it - /// can be * for unconditional update. + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. /// /// /// The headers that will be added to request. @@ -130,15 +162,16 @@ public partial interface IApiOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// API Update Contract parameters. /// /// - /// ETag of the API entity. ETag should match the current entity state - /// in the header response of the GET request or it should be * for + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for /// unconditional update. /// /// @@ -164,14 +197,18 @@ public partial interface IApiOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// - /// ETag of the API Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for /// unconditional update. /// + /// + /// Delete all revisions of the Api. + /// /// /// The headers that will be added to request. /// @@ -184,7 +221,35 @@ public partial interface IApiOperations /// /// Thrown when a required parameter is null /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string ifMatch, bool? deleteRevisions = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByTagsWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Lists all APIs of the API Management service instance. /// @@ -208,5 +273,27 @@ public partial interface IApiOperations /// Thrown when a required parameter is null /// Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of apis associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByTagsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiPolicyOperations.cs index 5e9f7124c434..7c437e3a1930 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -53,7 +53,8 @@ public partial interface IApiPolicyOperations /// Task> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Get the policy configuration at the API level. + /// Gets the entity state (Etag) version of the API policy specified by + /// its identifier. /// /// /// The name of the resource group. @@ -74,6 +75,33 @@ public partial interface IApiPolicyOperations /// /// Thrown when the operation returned an invalid status code /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the policy configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// /// /// Thrown when unable to deserialize the response /// @@ -91,16 +119,16 @@ public partial interface IApiPolicyOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// /// The policy contents to apply. /// /// - /// The entity state (Etag) version of the Api Policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. /// /// /// The headers that will be added to request. @@ -117,7 +145,7 @@ public partial interface IApiPolicyOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the policy configuration at the Api. /// @@ -128,13 +156,14 @@ public partial interface IApiPolicyOperations /// The name of the API Management service. /// /// - /// API identifier. Must be unique in the current API Management - /// service instance. + /// API revision identifier. Must be unique in the current API + /// Management service instance. Non-current revision has ;rev=n as a + /// suffix where n is the revision number. /// /// - /// The entity state (Etag) version of the Api policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiProductOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiProductOperations.cs index 9256f5089d52..d5bd3f1c95ec 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiProductOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiProductOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiReleaseOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiReleaseOperations.cs new file mode 100644 index 000000000000..60592ab071fd --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiReleaseOperations.cs @@ -0,0 +1,261 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiReleaseOperations operations. + /// + public partial interface IApiReleaseOperations + { + /// + /// Lists all releases of an API. An API release is created when making + /// an API Revision current. Releases are also used to rollback to + /// previous revisions. Results will be paged and can be constrained by + /// the $top and $skip parameters. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns the etag of an API release. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Returns the details of an API release. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates a new Release for the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Create parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates the details of the release of the API specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// API Release Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, ApiReleaseContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified release in the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Release identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string releaseId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all releases of an API. An API release is created when making + /// an API Revision current. Releases are also used to rollback to + /// previous revisions. Results will be paged and can be constrained by + /// the $top and $skip parameters. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiRevisionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiRevisionsOperations.cs new file mode 100644 index 000000000000..7654d974a12c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiRevisionsOperations.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiRevisionsOperations operations. + /// + public partial interface IApiRevisionsOperations + { + /// + /// Lists all revisions of an API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all revisions of an API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs new file mode 100644 index 000000000000..0a7da4b4caeb --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs @@ -0,0 +1,217 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiSchemaOperations operations. + /// + public partial interface IApiSchemaOperations + { + /// + /// Get the schema configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task,ApiSchemaListByApiHeaders>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the schema specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the schema configuration at the API level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or updates schema configuration for the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// The schema contents to apply. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the schema configuration at the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Schema identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get the schema configuration at the API level. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task,ApiSchemaListByApiHeaders>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiVersionSetOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiVersionSetOperations.cs new file mode 100644 index 000000000000..07889eed0cb5 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiVersionSetOperations.cs @@ -0,0 +1,239 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// ApiVersionSetOperations operations. + /// + public partial interface IApiVersionSetOperations + { + /// + /// Lists a collection of API Version Sets in the specified service + /// instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the Api Version Set + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the Api Version Set specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates or Updates a Api Version Set. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API + /// Management service instance. + /// + /// + /// Create or update parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates the details of the Api VersionSet specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API + /// Management service instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, ApiVersionSetUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes specific Api Version Set. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Api Version Set identifier. Must be unique in the current API + /// Management service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string versionSetId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of API Version Sets in the specified service + /// instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IAuthorizationServerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IAuthorizationServerOperations.cs index bdc09fd229ba..b4cd31d3f797 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IAuthorizationServerOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IAuthorizationServerOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,32 @@ public partial interface IAuthorizationServerOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the authorizationServer + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the authorization server. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the authorization server specified by its /// identifier. /// @@ -98,6 +124,10 @@ public partial interface IAuthorizationServerOperations /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -113,7 +143,7 @@ public partial interface IAuthorizationServerOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string authsid, AuthorizationServerContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the details of the authorization server specified by its /// identifier. @@ -131,9 +161,9 @@ public partial interface IAuthorizationServerOperations /// OAuth2 Server settings Update parameters. /// /// - /// The entity state (Etag) version of the authorization server to - /// update. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -161,9 +191,9 @@ public partial interface IAuthorizationServerOperations /// Identifier of the authorization server. /// /// - /// The entity state (Etag) version of the authentication server to - /// delete. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IBackendOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IBackendOperations.cs index 498e7db3ed75..23d20b5997e8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IBackendOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IBackendOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -53,6 +53,33 @@ public partial interface IBackendOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the backend specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the backend specified by its identifier. /// /// @@ -97,6 +124,10 @@ public partial interface IBackendOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -112,7 +143,7 @@ public partial interface IBackendOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates an existing backend. /// @@ -130,9 +161,9 @@ public partial interface IBackendOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the backend to update. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -161,9 +192,9 @@ public partial interface IBackendOperations /// Management service instance. /// /// - /// The entity state (Etag) version of the backend to delete. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -179,6 +210,37 @@ public partial interface IBackendOperations /// Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Notifies the APIM proxy to create a new connection to the backend + /// after the specified timeout. If no timeout was specified, timeout + /// of 2 minutes is used. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the Backend entity. Must be unique in the current API + /// Management service instance. + /// + /// + /// Reconnect request parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task ReconnectWithHttpMessagesAsync(string resourceGroupName, string serviceName, string backendid, BackendReconnectContract parameters = default(BackendReconnectContract), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Lists a collection of backends in the specified service instance. /// /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ICertificateOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ICertificateOperations.cs index b0f4774e5cf1..2c6ad29a5837 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ICertificateOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ICertificateOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,33 @@ public partial interface ICertificateOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the certificate specified + /// by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the certificate entity. Must be unique in the current + /// API Management service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string certificateId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the certificate specified by its identifier. /// /// @@ -101,9 +128,8 @@ public partial interface ICertificateOperations /// Create or Update parameters. /// /// - /// The entity state (Etag) version of the certificate to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation.. + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. /// /// /// The headers that will be added to request. @@ -135,9 +161,9 @@ public partial interface ICertificateOperations /// API Management service instance. /// /// - /// The entity state (Etag) version of the certificate to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDelegationSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDelegationSettingsOperations.cs new file mode 100644 index 000000000000..2541758c7bbd --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDelegationSettingsOperations.cs @@ -0,0 +1,132 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DelegationSettingsOperations operations. + /// + public partial interface IDelegationSettingsOperations + { + /// + /// Gets the entity state (Etag) version of the DelegationSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Delegation settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalDelegationSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or Update Delegation settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalDelegationSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticLoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticLoggerOperations.cs new file mode 100644 index 000000000000..6a7e3f01f1dc --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticLoggerOperations.cs @@ -0,0 +1,178 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DiagnosticLoggerOperations operations. + /// + public partial interface IDiagnosticLoggerOperations + { + /// + /// Lists all loggers assosiated with the specified Diagnostic of the + /// API Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Checks that logger entity specified by identifier is associated + /// with the diagnostics entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Attaches a logger to a dignostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified Logger from Diagnostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all loggers assosiated with the specified Diagnostic of the + /// API Management service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticOperations.cs new file mode 100644 index 000000000000..1ee17f431a5e --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IDiagnosticOperations.cs @@ -0,0 +1,235 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// DiagnosticOperations operations. + /// + public partial interface IDiagnosticOperations + { + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the Diagnostic specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the Diagnostic specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates a new Diagnostic or updates an existing one. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates the details of the Diagnostic specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Diagnostic Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, DiagnosticContract parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes the specified Diagnostic. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Diagnostic identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string diagnosticId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all diagnostics of the API Management service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IEmailTemplateOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IEmailTemplateOperations.cs index 4eaa87c2dad0..eef045b7afe7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IEmailTemplateOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IEmailTemplateOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -55,6 +55,42 @@ public partial interface IEmailTemplateOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, int? top = default(int?), int? skip = default(int?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the email template + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Email Template Name Identifier. Possible values include: + /// 'applicationApprovedNotificationMessage', 'accountClosedDeveloper', + /// 'quotaLimitApproachingDeveloperNotificationMessage', + /// 'newDeveloperNotificationMessage', 'emailChangeIdentityDefault', + /// 'inviteUserNotificationMessage', 'newCommentNotificationMessage', + /// 'confirmSignUpIdentityDefault', 'newIssueNotificationMessage', + /// 'purchaseDeveloperNotificationMessage', + /// 'passwordResetIdentityDefault', + /// 'passwordResetByAdminNotificationMessage', + /// 'rejectDeveloperNotificationMessage', + /// 'requestDeveloperNotificationMessage' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the email template specified by its identifier. /// /// @@ -117,6 +153,10 @@ public partial interface IEmailTemplateOperations /// /// Email Template update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -132,7 +172,7 @@ public partial interface IEmailTemplateOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string templateName, EmailTemplateUpdateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the specific Email Template. /// @@ -195,9 +235,9 @@ public partial interface IEmailTemplateOperations /// 'requestDeveloperNotificationMessage' /// /// - /// The entity state (Etag) version of the Email Template to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupOperations.cs index 4f60b04d79d2..e6c137f25281 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,33 @@ public partial interface IGroupOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the group specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the group specified by its identifier. /// /// @@ -98,6 +125,10 @@ public partial interface IGroupOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -113,7 +144,7 @@ public partial interface IGroupOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, GroupCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the details of the group specified by its identifier. /// @@ -131,9 +162,9 @@ public partial interface IGroupOperations /// Update parameters. /// /// - /// ETag of the Group Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * - /// for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -162,9 +193,9 @@ public partial interface IGroupOperations /// service instance. /// /// - /// ETag of the Group Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * - /// for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupUserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupUserOperations.cs index aaf68fba8eb2..fd7f3f4d0819 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupUserOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IGroupUserOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -58,6 +58,37 @@ public partial interface IGroupUserOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Checks that user entity specified by identifier is associated with + /// the group entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Group identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// User identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string groupId, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Adds a user to the specified group. /// /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IIdentityProviderOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IIdentityProviderOperations.cs index 35a22778f177..cf3e79a589fe 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IIdentityProviderOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IIdentityProviderOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -49,7 +49,34 @@ public partial interface IIdentityProviderOperations /// /// Thrown when a required parameter is null /// - Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state (Etag) version of the identityProvider + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identity Provider Type identifier. Possible values include: + /// 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the configuration details of the identity Provider configured /// in specified service instance. @@ -79,7 +106,7 @@ public partial interface IIdentityProviderOperations /// /// Thrown when a required parameter is null /// - Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Creates or Updates the IdentityProvider configuration. /// @@ -96,6 +123,10 @@ public partial interface IIdentityProviderOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -111,7 +142,7 @@ public partial interface IIdentityProviderOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates an existing IdentityProvider configuration. /// @@ -129,9 +160,9 @@ public partial interface IIdentityProviderOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the identity provider - /// configuration to update. A value of "*" can be used for If-Match to - /// unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -145,7 +176,7 @@ public partial interface IIdentityProviderOperations /// /// Thrown when a required parameter is null /// - Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the specified identity provider configuration. /// @@ -160,9 +191,9 @@ public partial interface IIdentityProviderOperations /// 'facebook', 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' /// /// - /// The entity state (Etag) version of the backend to delete. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -176,6 +207,30 @@ public partial interface IIdentityProviderOperations /// /// Thrown when a required parameter is null /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of Identity Provider configured in the specified + /// service instance. + /// + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ILoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ILoggerOperations.cs index 8446ac193f60..78a979e9161d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ILoggerOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ILoggerOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,33 @@ public partial interface ILoggerOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the logger specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Logger identifier. Must be unique in the API Management service + /// instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the logger specified by its identifier. /// /// @@ -98,6 +125,10 @@ public partial interface ILoggerOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -113,7 +144,7 @@ public partial interface ILoggerOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates an existing logger. /// @@ -131,9 +162,9 @@ public partial interface ILoggerOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the logger to update. A value of - /// "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -162,9 +193,9 @@ public partial interface ILoggerOperations /// instance. /// /// - /// The entity state (Etag) version of the logger to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INetworkStatusOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INetworkStatusOperations.cs index 5c063e0fd17d..70b3255e7484 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INetworkStatusOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INetworkStatusOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -49,7 +49,7 @@ public partial interface INetworkStatusOperations /// /// Thrown when a required parameter is null /// - Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Gets the Connectivity Status to the external resources on which the /// Api Management service depends from inside the Cloud Service. This diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationOperations.cs new file mode 100644 index 000000000000..aacc09d62c7d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationOperations.cs @@ -0,0 +1,150 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationOperations operations. + /// + public partial interface INotificationOperations + { + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Number of records to return. + /// + /// + /// Number of records to skip. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, int? top = default(int?), int? skip = default(int?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the Notification specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates an Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientEmailOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientEmailOperations.cs new file mode 100644 index 000000000000..3810b033d7ea --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientEmailOperations.cs @@ -0,0 +1,165 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationRecipientEmailOperations operations. + /// + public partial interface INotificationRecipientEmailOperations + { + /// + /// Gets the list of the Notification Recipient Emails subscribed to a + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ListByNotificationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Determine if Notification Recipient Email subscribed to the + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Adds the Email address to the list of Recipients for the + /// Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Removes the email from the list of Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientUserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientUserOperations.cs new file mode 100644 index 000000000000..42d61b7074da --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/INotificationRecipientUserOperations.cs @@ -0,0 +1,168 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationRecipientUserOperations operations. + /// + public partial interface INotificationRecipientUserOperations + { + /// + /// Gets the list of the Notification Recipient User subscribed to the + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> ListByNotificationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Determine if the Notification Recipient User is subscribed to the + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Adds the API Management User to the list of Recipients for the + /// Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Removes the API Management user from the list of Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOpenIdConnectProviderOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOpenIdConnectProviderOperations.cs index 2e0ea848e579..c751d92c0b23 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOpenIdConnectProviderOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOpenIdConnectProviderOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -53,6 +53,32 @@ public partial interface IOpenIdConnectProviderOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the openIdConnectProvider + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the OpenID Connect Provider. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets specific OpenID Connect Provider. /// /// @@ -95,6 +121,10 @@ public partial interface IOpenIdConnectProviderOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -110,7 +140,7 @@ public partial interface IOpenIdConnectProviderOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the specific OpenID Connect Provider. /// @@ -127,9 +157,9 @@ public partial interface IOpenIdConnectProviderOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to - /// update. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -158,9 +188,9 @@ public partial interface IOpenIdConnectProviderOperations /// Identifier of the OpenID Connect Provider. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to - /// delete. A value of "*" can be used for If-Match to unconditionally - /// apply the operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOperationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOperationOperations.cs new file mode 100644 index 000000000000..bcc20ba56a10 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IOperationOperations.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// OperationOperations operations. + /// + public partial interface IOperationOperations + { + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByTagsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByTagsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicyOperations.cs index 34d33e45e34a..0794c014801a 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -54,6 +54,29 @@ public partial interface IPolicyOperations /// Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, PolicyScopeContract? scope = default(PolicyScopeContract?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the Global policy + /// definition in the Api Management service. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Get the Global policy definition of the Api Management service. /// /// @@ -118,9 +141,9 @@ public partial interface IPolicyOperations /// The name of the API Management service. /// /// - /// The entity state (Etag) version of the policy to be deleted. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicySnippetsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicySnippetsOperations.cs index 8dac4f4539e9..d0f2781dc09a 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicySnippetsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPolicySnippetsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductApiOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductApiOperations.cs index ad3b7855a367..54af0d58ecc1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductApiOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductApiOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -57,6 +57,37 @@ public partial interface IProductApiOperations /// Task>> ListByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Checks that API entity specified by identifier is associated with + /// the Product entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Adds an API to the specified product. /// /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductGroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductGroupOperations.cs index 0179b1a97577..d76c398f35c0 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductGroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductGroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -58,6 +58,37 @@ public partial interface IProductGroupOperations /// Task>> ListByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Checks that Group entity specified by identifier is associated with + /// the Product entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Group identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Adds the association between the specified developer group with the /// specified product. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductOperations.cs index 7bd51ee2415a..54833aedbaba 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -57,6 +57,33 @@ public partial interface IProductOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandGroups = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the product specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the product specified by its identifier. /// /// @@ -101,6 +128,10 @@ public partial interface IProductOperations /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -116,7 +147,7 @@ public partial interface IProductOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ProductContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ProductContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Update product. /// @@ -134,9 +165,9 @@ public partial interface IProductOperations /// Update parameters. /// /// - /// ETag of the Product Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * - /// for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -165,12 +196,12 @@ public partial interface IProductOperations /// service instance. /// /// - /// ETag of the Product Entity. ETag should match the current entity - /// state from the header response of the GET request or it should be * - /// for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// - /// Delete existing subscriptions to the product or not. + /// Delete existing subscriptions associated with the product or not. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductPolicyOperations.cs index 94ac46eee64e..f5c4c8dcdec4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -53,6 +53,32 @@ public partial interface IProductPolicyOperations /// Task> ListByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Get the ETag of the policy configuration at the Product level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Get the policy configuration at the Product level. /// /// @@ -97,6 +123,10 @@ public partial interface IProductPolicyOperations /// /// The policy contents to apply. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -112,7 +142,7 @@ public partial interface IProductPolicyOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, PolicyContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the policy configuration at the Product. /// @@ -127,9 +157,9 @@ public partial interface IProductPolicyOperations /// service instance. /// /// - /// The entity state (Etag) version of the product policy to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductSubscriptionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductSubscriptionsOperations.cs index b1b9736a4a73..ca6dc84f4633 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductSubscriptionsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IProductSubscriptionsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPropertyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPropertyOperations.cs index 4ccf240d3a62..d65713643bb9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPropertyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IPropertyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,32 @@ public partial interface IPropertyOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the property specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the property. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the property specified by its identifier. /// /// @@ -96,6 +122,10 @@ public partial interface IPropertyOperations /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -111,7 +141,7 @@ public partial interface IPropertyOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, PropertyContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, PropertyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the specific property. /// @@ -128,9 +158,9 @@ public partial interface IPropertyOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the property to update. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -159,9 +189,9 @@ public partial interface IPropertyOperations /// Identifier of the property. /// /// - /// The entity state (Etag) version of the property to delete. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByCounterKeysOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByCounterKeysOperations.cs index 33b14a618473..2d418ec8ac28 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByCounterKeysOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByCounterKeysOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByPeriodKeysOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByPeriodKeysOperations.cs index 8312f1097d45..09ec3db295ed 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByPeriodKeysOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IQuotaByPeriodKeysOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IRegionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IRegionsOperations.cs index cfc23b18b78e..df9fbf4aa423 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IRegionsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IRegionsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -47,6 +47,28 @@ public partial interface IRegionsOperations /// /// Thrown when a required parameter is null /// - Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all azure regions in which the service exists. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IReportsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IReportsOperations.cs index 336621b50d17..44d90a4e171e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IReportsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IReportsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Management.ApiManagement public partial interface IReportsOperations { /// - /// Lists report records. + /// Lists report records by API. /// /// /// OData parameters to apply to the operation. @@ -256,7 +256,7 @@ public partial interface IReportsOperations /// Task>> ListByRequestWithHttpMessagesAsync(ODataQuery odataQuery, string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// - /// Lists report records. + /// Lists report records by API. /// /// /// The NextLink from the previous successful call to List operation. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignInSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignInSettingsOperations.cs new file mode 100644 index 000000000000..b01e2cd7df36 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignInSettingsOperations.cs @@ -0,0 +1,132 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SignInSettingsOperations operations. + /// + public partial interface ISignInSettingsOperations + { + /// + /// Gets the entity state (Etag) version of the SignInSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-In settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSigninSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or Update Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSigninSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignUpSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignUpSettingsOperations.cs new file mode 100644 index 000000000000..cd64e2fe80e1 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISignUpSettingsOperations.cs @@ -0,0 +1,132 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SignUpSettingsOperations operations. + /// + public partial interface ISignUpSettingsOperations + { + /// + /// Gets the entity state (Etag) version of the SignUpSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Update Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-Up settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSignupSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create or Update Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSignupSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISubscriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISubscriptionOperations.cs index 5cba77500eca..18fd872af244 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISubscriptionOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ISubscriptionOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -53,6 +53,33 @@ public partial interface ISubscriptionOperations /// Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the apimanagement + /// subscription specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Subscription entity Identifier. The entity represents the + /// association between a user and a product in API Management. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the specified Subscription entity. /// /// @@ -98,6 +125,17 @@ public partial interface ISubscriptionOperations /// /// Create parameters. /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state + /// of subscription + /// - If true, send email notification of change of state of + /// subscription + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -113,7 +151,7 @@ public partial interface ISubscriptionOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, bool? notify = default(bool?), string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the details of a subscription specificied by its /// identifier. @@ -132,9 +170,16 @@ public partial interface ISubscriptionOperations /// Update parameters. /// /// - /// ETag of the Subscription Entity. ETag should match the current - /// entity state from the header response of the GET request or it - /// should be * for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state + /// of subscription + /// - If true, send email notification of change of state of + /// subscription /// /// /// The headers that will be added to request. @@ -148,7 +193,7 @@ public partial interface ISubscriptionOperations /// /// Thrown when a required parameter is null /// - Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, bool? notify = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the specified subscription. /// @@ -163,9 +208,9 @@ public partial interface ISubscriptionOperations /// association between a user and a product in API Management. /// /// - /// ETag of the Subscription Entity. ETag should match the current - /// entity state from the header response of the GET request or it - /// should be * for unconditional update. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagDescriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagDescriptionOperations.cs new file mode 100644 index 000000000000..7a8a1c1e2f84 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagDescriptionOperations.cs @@ -0,0 +1,225 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagDescriptionOperations operations. + /// + public partial interface ITagDescriptionOperations + { + /// + /// Lists all Tags descriptions in scope of API. Model similar to + /// swagger - tagDescription is defined on API level but tag may be + /// assigned to the Operations + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state version of the tag specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityStateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get tag associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Create/Update tag fescription in scope of the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, TagDescriptionCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Delete tag description for the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags descriptions in scope of API. Model similar to + /// swagger - tagDescription is defined on API level but tag may be + /// assigned to the Operations + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagOperations.cs new file mode 100644 index 000000000000..9fcb0fa9d81b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagOperations.cs @@ -0,0 +1,821 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagOperations operations. + /// + public partial interface ITagOperations + { + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state version of the tag specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityStateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the details of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Creates a tag. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Create parameters. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Updates the details of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Deletes specific tag of the API Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state version of the tag specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityStateByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get tag associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Assign tag to the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> AssignToApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Detach the tag from the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DetachFromApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state version of the tag specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityStateByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get tag associated with the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Assign tag to the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> AssignToOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Detach the tag from the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current + /// API Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DetachFromOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Gets the entity state version of the tag specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityStateByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Get tag associated with the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Assign tag to the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task> AssignToProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Detach the tag from the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task DetachFromProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByOperationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByProductNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagResourceOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagResourceOperations.cs new file mode 100644 index 000000000000..22c12a38c986 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITagResourceOperations.cs @@ -0,0 +1,78 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Collections; + using System.Collections.Generic; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagResourceOperations operations. + /// + public partial interface ITagResourceOperations + { + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessGitOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessGitOperations.cs index d1cab818a159..6e72a416b0fd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessGitOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessGitOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessOperations.cs index 0c6c1cdfb2ba..a4e70551d9a9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantAccessOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -61,9 +61,9 @@ public partial interface ITenantAccessOperations /// Parameters supplied to retrieve the Tenant Access Information. /// /// - /// The entity state (Etag) version of the property to update. A value - /// of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantConfigurationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantConfigurationOperations.cs index 48197cf07605..c1e53f53327e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantConfigurationOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ITenantConfigurationOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserGroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserGroupOperations.cs index 677f1a17d0fb..38207ba365da 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserGroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserGroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserIdentitiesOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserIdentitiesOperations.cs index 5cefcf86d6be..252410fadf79 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserIdentitiesOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserIdentitiesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -51,6 +51,28 @@ public partial interface IUserIdentitiesOperations /// /// Thrown when a required parameter is null /// - Task> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// + /// Lists all user identities. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserOperations.cs index 5d2223d1ef69..57bab1314eee 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -54,6 +54,33 @@ public partial interface IUserOperations /// Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// + /// Gets the entity state (Etag) version of the user specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// User identifier. Must be unique in the current API Management + /// service instance. + /// + /// + /// The headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + /// /// Gets the details of the user specified by its identifier. /// /// @@ -98,6 +125,10 @@ public partial interface IUserOperations /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but + /// required when updating an entity. + /// /// /// The headers that will be added to request. /// @@ -113,7 +144,7 @@ public partial interface IUserOperations /// /// Thrown when a required parameter is null /// - Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Updates the details of the user specified by its identifier. /// @@ -131,9 +162,9 @@ public partial interface IUserOperations /// Update parameters. /// /// - /// The entity state (Etag) version of the user to update. A value of - /// "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// The headers that will be added to request. @@ -144,13 +175,10 @@ public partial interface IUserOperations /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// - Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes specific user. /// @@ -165,13 +193,16 @@ public partial interface IUserOperations /// service instance. /// /// - /// The entity state (Etag) version of the user to delete. A value of - /// "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from + /// the header response of the GET request or it should be * for + /// unconditional update. /// /// /// Whether to delete user's subscription or not. /// + /// + /// Send an Account Closed Email notification to the User. + /// /// /// The headers that will be added to request. /// @@ -184,7 +215,7 @@ public partial interface IUserOperations /// /// Thrown when a required parameter is null /// - Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); + Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), bool? notify = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Retrieves a redirection URL containing an authentication token for /// signing a given user into the developer portal. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserSubscriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserSubscriptionOperations.cs index d4deff1ff37d..1f99f476ffc6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserSubscriptionOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IUserSubscriptionOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperations.cs index d5c02ae4e4ad..f474f29b73c8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -82,7 +82,7 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -226,7 +226,7 @@ internal IdentityProviderOperations(ApiManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -239,7 +239,7 @@ internal IdentityProviderOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -258,6 +258,215 @@ internal IdentityProviderOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the identityProvider specified by + /// its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identity Provider Type identifier. Possible values include: 'facebook', + /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (identityProviderName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "identityProviderName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("identityProviderName", identityProviderName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}").ToString(); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(identityProviderName)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the configuration details of the identity Provider configured in /// specified service instance. @@ -293,7 +502,7 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -322,6 +531,10 @@ internal IdentityProviderOperations(ApiManagementClient client) throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); } } + if (identityProviderName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "identityProviderName"); + } if (Client.ApiVersion == null) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); @@ -345,7 +558,7 @@ internal IdentityProviderOperations(ApiManagementClient client) _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(identityProviderName, Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(identityProviderName)); List _queryParameters = new List(); if (Client.ApiVersion != null) { @@ -500,6 +713,10 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -521,7 +738,7 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -546,6 +763,10 @@ internal IdentityProviderOperations(ApiManagementClient client) throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); } } + if (identityProviderName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "identityProviderName"); + } if (parameters == null) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); @@ -573,6 +794,7 @@ internal IdentityProviderOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("identityProviderName", identityProviderName); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -581,7 +803,7 @@ internal IdentityProviderOperations(ApiManagementClient client) var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(identityProviderName, Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(identityProviderName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -602,6 +824,14 @@ internal IdentityProviderOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -652,7 +882,7 @@ internal IdentityProviderOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -690,7 +920,7 @@ internal IdentityProviderOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -708,7 +938,7 @@ internal IdentityProviderOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -749,9 +979,9 @@ internal IdentityProviderOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the identity provider configuration to - /// update. A value of "*" can be used for If-Match to unconditionally apply - /// the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -771,7 +1001,7 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -796,6 +1026,10 @@ internal IdentityProviderOperations(ApiManagementClient client) throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); } } + if (identityProviderName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "identityProviderName"); + } if (parameters == null) { throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); @@ -832,7 +1066,7 @@ internal IdentityProviderOperations(ApiManagementClient client) var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(identityProviderName, Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(identityProviderName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -969,8 +1203,9 @@ internal IdentityProviderOperations(ApiManagementClient client) /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -990,7 +1225,7 @@ internal IdentityProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string identityProviderName, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -1015,6 +1250,10 @@ internal IdentityProviderOperations(ApiManagementClient client) throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); } } + if (identityProviderName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "identityProviderName"); + } if (ifMatch == null) { throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); @@ -1046,7 +1285,7 @@ internal IdentityProviderOperations(ApiManagementClient client) var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/identityProviders/{identityProviderName}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(identityProviderName, Client.SerializationSettings).Trim('"'))); + _url = _url.Replace("{identityProviderName}", System.Uri.EscapeDataString(identityProviderName)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (Client.ApiVersion != null) @@ -1119,7 +1358,7 @@ internal IdentityProviderOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1163,5 +1402,175 @@ internal IdentityProviderOperations(ApiManagementClient client) return _result; } + /// + /// Lists a collection of Identity Provider configured in the specified service + /// instance. + /// + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperationsExtensions.cs index 8f872b3b834b..683fe0441804 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IdentityProviderOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -35,7 +35,7 @@ public static partial class IdentityProviderOperationsExtensions /// /// The name of the API Management service. /// - public static IdentityProviderList ListByService(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName) + public static IPage ListByService(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName) { return operations.ListByServiceAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); } @@ -57,7 +57,7 @@ public static IdentityProviderList ListByService(this IIdentityProviderOperation /// /// The cancellation token. /// - public static async Task ListByServiceAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByServiceAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) { @@ -65,6 +65,56 @@ public static IdentityProviderList ListByService(this IIdentityProviderOperation } } + /// + /// Gets the entity state (Etag) version of the identityProvider specified by + /// its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identity Provider Type identifier. Possible values include: 'facebook', + /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + /// + public static IdentityProviderGetEntityTagHeaders GetEntityTag(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, identityProviderName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the identityProvider specified by + /// its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identity Provider Type identifier. Possible values include: 'facebook', + /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the configuration details of the identity Provider configured in /// specified service instance. @@ -82,7 +132,7 @@ public static IdentityProviderList ListByService(this IIdentityProviderOperation /// Identity Provider Type identifier. Possible values include: 'facebook', /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' /// - public static IdentityProviderContract Get(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName) + public static IdentityProviderContract Get(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName) { return operations.GetAsync(resourceGroupName, serviceName, identityProviderName).GetAwaiter().GetResult(); } @@ -107,7 +157,7 @@ public static IdentityProviderContract Get(this IIdentityProviderOperations oper /// /// The cancellation token. /// - public static async Task GetAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task GetAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, null, cancellationToken).ConfigureAwait(false)) { @@ -134,9 +184,13 @@ public static IdentityProviderContract Get(this IIdentityProviderOperations oper /// /// Create parameters. /// - public static IdentityProviderContract CreateOrUpdate(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static IdentityProviderContract CreateOrUpdate(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, identityProviderName, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, identityProviderName, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -158,12 +212,16 @@ public static IdentityProviderContract CreateOrUpdate(this IIdentityProviderOper /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -189,11 +247,11 @@ public static IdentityProviderContract CreateOrUpdate(this IIdentityProviderOper /// Update parameters. /// /// - /// The entity state (Etag) version of the identity provider configuration to - /// update. A value of "*" can be used for If-Match to unconditionally apply - /// the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// - public static void Update(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch) + public static void Update(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch) { operations.UpdateAsync(resourceGroupName, serviceName, identityProviderName, parameters, ifMatch).GetAwaiter().GetResult(); } @@ -218,14 +276,14 @@ public static void Update(this IIdentityProviderOperations operations, string re /// Update parameters. /// /// - /// The entity state (Etag) version of the identity provider configuration to - /// update. A value of "*" can be used for If-Match to unconditionally apply - /// the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. /// - public static async Task UpdateAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task UpdateAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, IdentityProviderUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); } @@ -247,10 +305,11 @@ public static void Update(this IIdentityProviderOperations operations, string re /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// - public static void Delete(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, string ifMatch) + public static void Delete(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, string ifMatch) { operations.DeleteAsync(resourceGroupName, serviceName, identityProviderName, ifMatch).GetAwaiter().GetResult(); } @@ -272,16 +331,55 @@ public static void Delete(this IIdentityProviderOperations operations, string re /// 'google', 'microsoft', 'twitter', 'aad', 'aadB2C' /// /// - /// The entity state (Etag) version of the backend to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. /// - public static async Task DeleteAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, IdentityProviderType identityProviderName, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IIdentityProviderOperations operations, string resourceGroupName, string serviceName, string identityProviderName, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) { (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, identityProviderName, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); } + /// + /// Lists a collection of Identity Provider configured in the specified service + /// instance. + /// + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IIdentityProviderOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of Identity Provider configured in the specified service + /// instance. + /// + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IIdentityProviderOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperations.cs index dea0f2cae830..7291ad78e966 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -251,7 +251,7 @@ internal LoggerOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -270,6 +270,225 @@ internal LoggerOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the logger specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (loggerid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "loggerid"); + } + if (loggerid != null) + { + if (loggerid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("loggerid", loggerid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/loggers/{loggerid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{loggerid}", System.Uri.EscapeDataString(loggerid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the logger specified by its identifier. /// @@ -334,13 +553,13 @@ internal LoggerOperations(ApiManagementClient client) } if (loggerid != null) { - if (loggerid.Length > 256) + if (loggerid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "loggerid", 256); + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "loggerid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -524,6 +743,10 @@ internal LoggerOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -545,7 +768,7 @@ internal LoggerOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -576,13 +799,13 @@ internal LoggerOperations(ApiManagementClient client) } if (loggerid != null) { - if (loggerid.Length > 256) + if (loggerid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "loggerid", 256); + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "loggerid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -601,10 +824,6 @@ internal LoggerOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - if (parameters == null) - { - parameters = new LoggerContract(); - } // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -616,6 +835,7 @@ internal LoggerOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("loggerid", loggerid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -645,6 +865,14 @@ internal LoggerOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -695,7 +923,7 @@ internal LoggerOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -733,7 +961,7 @@ internal LoggerOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -751,7 +979,7 @@ internal LoggerOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -791,8 +1019,9 @@ internal LoggerOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the logger to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -843,13 +1072,13 @@ internal LoggerOperations(ApiManagementClient client) } if (loggerid != null) { - if (loggerid.Length > 256) + if (loggerid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "loggerid", 256); + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "loggerid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1024,8 +1253,9 @@ internal LoggerOperations(ApiManagementClient client) /// Logger identifier. Must be unique in the API Management service instance. /// /// - /// The entity state (Etag) version of the logger to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1076,13 +1306,13 @@ internal LoggerOperations(ApiManagementClient client) } if (loggerid != null) { - if (loggerid.Length > 256) + if (loggerid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "loggerid", 256); + throw new ValidationException(ValidationRules.MaxLength, "loggerid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(loggerid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "loggerid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "loggerid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1189,7 +1419,7 @@ internal LoggerOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1383,7 +1613,7 @@ internal LoggerOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperationsExtensions.cs index 75e6e12a884b..07776e18c97e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/LoggerOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -40,7 +40,7 @@ public static partial class LoggerOperationsExtensions /// public static IPage ListByService(this ILoggerOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((ILoggerOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -70,6 +70,54 @@ public static partial class LoggerOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the logger specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + public static LoggerGetEntityTagHeaders GetEntityTag(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, loggerid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the logger specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Logger identifier. Must be unique in the API Management service instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, loggerid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the logger specified by its identifier. /// @@ -134,9 +182,13 @@ public static LoggerContract Get(this ILoggerOperations operations, string resou /// /// Create parameters. /// - public static LoggerContract CreateOrUpdate(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static LoggerContract CreateOrUpdate(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, loggerid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, loggerid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -157,12 +209,16 @@ public static LoggerContract CreateOrUpdate(this ILoggerOperations operations, s /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, LoggerContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, loggerid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, loggerid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -187,8 +243,9 @@ public static LoggerContract CreateOrUpdate(this ILoggerOperations operations, s /// Update parameters. /// /// - /// The entity state (Etag) version of the logger to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, LoggerUpdateContract parameters, string ifMatch) { @@ -214,8 +271,9 @@ public static void Update(this ILoggerOperations operations, string resourceGrou /// Update parameters. /// /// - /// The entity state (Etag) version of the logger to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -241,8 +299,9 @@ public static void Update(this ILoggerOperations operations, string resourceGrou /// Logger identifier. Must be unique in the API Management service instance. /// /// - /// The entity state (Etag) version of the logger to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this ILoggerOperations operations, string resourceGroupName, string serviceName, string loggerid, string ifMatch) { @@ -265,8 +324,9 @@ public static void Delete(this ILoggerOperations operations, string resourceGrou /// Logger identifier. Must be unique in the API Management service instance. /// /// - /// The entity state (Etag) version of the logger to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationContract.cs index f9e8be93e3e9..bb2dc85b2783 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class AccessInformationContract /// public AccessInformationContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationUpdateParameters.cs index 4b4ba10f3c2c..8238de3e0249 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AccessInformationUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class AccessInformationUpdateParameters /// public AccessInformationUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AdditionalLocation.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AdditionalLocation.cs index 84b4e041da51..7e4b33fe8acf 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AdditionalLocation.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AdditionalLocation.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class AdditionalLocation /// public AdditionalLocation() { - CustomInit(); + CustomInit(); } /// @@ -37,16 +36,19 @@ public AdditionalLocation() /// among Azure Data center regions. /// SKU properties of the API Management /// service. - /// Static IP addresses of the location's - /// virtual machines. + /// Static IP addresses of the + /// location's virtual machines. /// Virtual network /// configuration for the location. - public AdditionalLocation(string location, ApiManagementServiceSkuProperties sku, IList staticIps = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration)) + /// Gateway URL of the API Management + /// service in the Region. + public AdditionalLocation(string location, ApiManagementServiceSkuProperties sku, IList publicIPAddresses = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), string gatewayRegionalUrl = default(string)) { Location = location; Sku = sku; - StaticIps = staticIps; + PublicIPAddresses = publicIPAddresses; VirtualNetworkConfiguration = virtualNetworkConfiguration; + GatewayRegionalUrl = gatewayRegionalUrl; CustomInit(); } @@ -71,8 +73,8 @@ public AdditionalLocation() /// /// Gets static IP addresses of the location's virtual machines. /// - [JsonProperty(PropertyName = "staticIps")] - public IList StaticIps { get; private set; } + [JsonProperty(PropertyName = "publicIPAddresses")] + public IList PublicIPAddresses { get; private set; } /// /// Gets or sets virtual network configuration for the location. @@ -80,6 +82,12 @@ public AdditionalLocation() [JsonProperty(PropertyName = "virtualNetworkConfiguration")] public VirtualNetworkConfiguration VirtualNetworkConfiguration { get; set; } + /// + /// Gets gateway URL of the API Management service in the Region. + /// + [JsonProperty(PropertyName = "gatewayRegionalUrl")] + public string GatewayRegionalUrl { get; private set; } + /// /// Validate the object. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContract.cs index 6926b75e20a3..3df525f626ce 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class ApiContract : Resource /// public ApiContract() { - CustomInit(); + CustomInit(); } /// @@ -54,16 +53,20 @@ public ApiContract() /// 'soap' /// Describes the Revision of the Api. If no /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned /// Indicates if API revision is current api /// revision. /// Indicates if API revision is accessible via /// the gateway. + /// A resource identifier for the related + /// ApiVersionSet. /// API name. /// Absolute URL of the backend service /// implementing this API. /// Describes on which protocols the operations /// in this API can be invoked. - public ApiContract(string path, string id = default(string), string name = default(string), string type = default(string), string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList)) + public ApiContract(string path, string id = default(string), string name = default(string), string type = default(string), string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails)) : base(id, name, type) { Description = description; @@ -71,12 +74,15 @@ public ApiContract() SubscriptionKeyParameterNames = subscriptionKeyParameterNames; ApiType = apiType; ApiRevision = apiRevision; + ApiVersion = apiVersion; IsCurrent = isCurrent; IsOnline = isOnline; + ApiVersionSetId = apiVersionSetId; DisplayName = displayName; ServiceUrl = serviceUrl; Path = path; Protocols = protocols; + ApiVersionSet = apiVersionSet; CustomInit(); } @@ -119,17 +125,29 @@ public ApiContract() public string ApiRevision { get; set; } /// - /// Gets or sets indicates if API revision is current api revision. + /// Gets or sets indicates the Version identifier of the API if the API + /// is versioned + /// + [JsonProperty(PropertyName = "properties.apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets indicates if API revision is current api revision. /// [JsonProperty(PropertyName = "properties.isCurrent")] - public bool? IsCurrent { get; set; } + public bool? IsCurrent { get; private set; } /// - /// Gets or sets indicates if API revision is accessible via the - /// gateway. + /// Gets indicates if API revision is accessible via the gateway. /// [JsonProperty(PropertyName = "properties.isOnline")] - public bool? IsOnline { get; set; } + public bool? IsOnline { get; private set; } + + /// + /// Gets or sets a resource identifier for the related ApiVersionSet. + /// + [JsonProperty(PropertyName = "properties.apiVersionSetId")] + public string ApiVersionSetId { get; set; } /// /// Gets or sets API name. @@ -160,6 +178,11 @@ public ApiContract() [JsonProperty(PropertyName = "properties.protocols")] public IList Protocols { get; set; } + /// + /// + [JsonProperty(PropertyName = "properties.apiVersionSet")] + public ApiVersionSetContractDetails ApiVersionSet { get; set; } + /// /// Validate the object. /// @@ -183,6 +206,13 @@ public virtual void Validate() throw new ValidationException(ValidationRules.MinLength, "ApiRevision", 1); } } + if (ApiVersion != null) + { + if (ApiVersion.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiVersion", 100); + } + } if (DisplayName != null) { if (DisplayName.Length > 300) @@ -200,9 +230,9 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.MaxLength, "ServiceUrl", 2000); } - if (ServiceUrl.Length < 1) + if (ServiceUrl.Length < 0) { - throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 1); + throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 0); } } if (Path != null) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContractProperties.cs index db282c6fb228..167e39934ecb 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContractProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiContractProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class ApiContractProperties : ApiEntityBaseContract /// public ApiContractProperties() { - CustomInit(); + CustomInit(); } /// @@ -48,22 +47,27 @@ public ApiContractProperties() /// 'soap' /// Describes the Revision of the Api. If no /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned /// Indicates if API revision is current api /// revision. /// Indicates if API revision is accessible via /// the gateway. + /// A resource identifier for the related + /// ApiVersionSet. /// API name. /// Absolute URL of the backend service /// implementing this API. /// Describes on which protocols the operations /// in this API can be invoked. - public ApiContractProperties(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList)) - : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, isCurrent, isOnline) + public ApiContractProperties(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails)) + : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, apiVersion, isCurrent, isOnline, apiVersionSetId) { DisplayName = displayName; ServiceUrl = serviceUrl; Path = path; Protocols = protocols; + ApiVersionSet = apiVersionSet; CustomInit(); } @@ -101,6 +105,11 @@ public ApiContractProperties() [JsonProperty(PropertyName = "protocols")] public IList Protocols { get; set; } + /// + /// + [JsonProperty(PropertyName = "apiVersionSet")] + public ApiVersionSetContractDetails ApiVersionSet { get; set; } + /// /// Validate the object. /// @@ -131,9 +140,9 @@ public override void Validate() { throw new ValidationException(ValidationRules.MaxLength, "ServiceUrl", 2000); } - if (ServiceUrl.Length < 1) + if (ServiceUrl.Length < 0) { - throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 1); + throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 0); } } if (Path != null) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateHeaders.cs index 905fb21fbf60..3f70d63ccf83 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ApiCreateOrUpdateHeaders /// public ApiCreateOrUpdateHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateParameter.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateParameter.cs index ee98f57104b0..11ea52886747 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateParameter.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdateParameter.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class ApiCreateOrUpdateParameter /// public ApiCreateOrUpdateParameter() { - CustomInit(); + CustomInit(); } /// @@ -50,10 +49,14 @@ public ApiCreateOrUpdateParameter() /// 'soap' /// Describes the Revision of the Api. If no /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned /// Indicates if API revision is current api /// revision. /// Indicates if API revision is accessible via /// the gateway. + /// A resource identifier for the related + /// ApiVersionSet. /// API name. /// Absolute URL of the backend service /// implementing this API. @@ -65,21 +68,32 @@ public ApiCreateOrUpdateParameter() /// is getting imported. Possible values include: 'wadl-xml', /// 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl', /// 'wsdl-link' - public ApiCreateOrUpdateParameter(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList), string contentValue = default(string), ContentFormat? contentFormat = default(ContentFormat?)) + /// Criteria to limit import of WSDL to a + /// subset of the document. + /// Type of Api to create. + /// * `http` creates a SOAP to REST API + /// * `soap` creates a SOAP pass-through API. Possible values include: + /// 'http', 'soap' + public ApiCreateOrUpdateParameter(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), IList protocols = default(IList), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails), string contentValue = default(string), string contentFormat = default(string), ApiCreateOrUpdatePropertiesWsdlSelector wsdlSelector = default(ApiCreateOrUpdatePropertiesWsdlSelector), string soapApiType = default(string)) { Description = description; AuthenticationSettings = authenticationSettings; SubscriptionKeyParameterNames = subscriptionKeyParameterNames; ApiType = apiType; ApiRevision = apiRevision; + ApiVersion = apiVersion; IsCurrent = isCurrent; IsOnline = isOnline; + ApiVersionSetId = apiVersionSetId; DisplayName = displayName; ServiceUrl = serviceUrl; Path = path; Protocols = protocols; + ApiVersionSet = apiVersionSet; ContentValue = contentValue; ContentFormat = contentFormat; + WsdlSelector = wsdlSelector; + SoapApiType = soapApiType; CustomInit(); } @@ -122,17 +136,29 @@ public ApiCreateOrUpdateParameter() public string ApiRevision { get; set; } /// - /// Gets or sets indicates if API revision is current api revision. + /// Gets or sets indicates the Version identifier of the API if the API + /// is versioned + /// + [JsonProperty(PropertyName = "properties.apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets indicates if API revision is current api revision. /// [JsonProperty(PropertyName = "properties.isCurrent")] - public bool? IsCurrent { get; set; } + public bool? IsCurrent { get; private set; } /// - /// Gets or sets indicates if API revision is accessible via the - /// gateway. + /// Gets indicates if API revision is accessible via the gateway. /// [JsonProperty(PropertyName = "properties.isOnline")] - public bool? IsOnline { get; set; } + public bool? IsOnline { get; private set; } + + /// + /// Gets or sets a resource identifier for the related ApiVersionSet. + /// + [JsonProperty(PropertyName = "properties.apiVersionSetId")] + public string ApiVersionSetId { get; set; } /// /// Gets or sets API name. @@ -163,6 +189,11 @@ public ApiCreateOrUpdateParameter() [JsonProperty(PropertyName = "properties.protocols")] public IList Protocols { get; set; } + /// + /// + [JsonProperty(PropertyName = "properties.apiVersionSet")] + public ApiVersionSetContractDetails ApiVersionSet { get; set; } + /// /// Gets or sets content value when Importing an API. /// @@ -175,7 +206,23 @@ public ApiCreateOrUpdateParameter() /// 'swagger-json', 'swagger-link-json', 'wsdl', 'wsdl-link' /// [JsonProperty(PropertyName = "properties.contentFormat")] - public ContentFormat? ContentFormat { get; set; } + public string ContentFormat { get; set; } + + /// + /// Gets or sets criteria to limit import of WSDL to a subset of the + /// document. + /// + [JsonProperty(PropertyName = "properties.wsdlSelector")] + public ApiCreateOrUpdatePropertiesWsdlSelector WsdlSelector { get; set; } + + /// + /// Gets or sets type of Api to create. + /// * `http` creates a SOAP to REST API + /// * `soap` creates a SOAP pass-through API. Possible values include: + /// 'http', 'soap' + /// + [JsonProperty(PropertyName = "properties.apiType")] + public string SoapApiType { get; set; } /// /// Validate the object. @@ -200,6 +247,13 @@ public virtual void Validate() throw new ValidationException(ValidationRules.MinLength, "ApiRevision", 1); } } + if (ApiVersion != null) + { + if (ApiVersion.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiVersion", 100); + } + } if (DisplayName != null) { if (DisplayName.Length > 300) @@ -217,9 +271,9 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.MaxLength, "ServiceUrl", 2000); } - if (ServiceUrl.Length < 1) + if (ServiceUrl.Length < 0) { - throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 1); + throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 0); } } if (Path != null) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdatePropertiesWsdlSelector.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdatePropertiesWsdlSelector.cs new file mode 100644 index 000000000000..2d9b822d5bf9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiCreateOrUpdatePropertiesWsdlSelector.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Criteria to limit import of WSDL to a subset of the document. + /// + public partial class ApiCreateOrUpdatePropertiesWsdlSelector + { + /// + /// Initializes a new instance of the + /// ApiCreateOrUpdatePropertiesWsdlSelector class. + /// + public ApiCreateOrUpdatePropertiesWsdlSelector() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ApiCreateOrUpdatePropertiesWsdlSelector class. + /// + /// Name of service to import from + /// WSDL + /// Name of endpoint(port) to import + /// from WSDL + public ApiCreateOrUpdatePropertiesWsdlSelector(string wsdlServiceName = default(string), string wsdlEndpointName = default(string)) + { + WsdlServiceName = wsdlServiceName; + WsdlEndpointName = wsdlEndpointName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets name of service to import from WSDL + /// + [JsonProperty(PropertyName = "wsdlServiceName")] + public string WsdlServiceName { get; set; } + + /// + /// Gets or sets name of endpoint(port) to import from WSDL + /// + [JsonProperty(PropertyName = "wsdlEndpointName")] + public string WsdlEndpointName { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetEntityTagHeaders.cs new file mode 100644 index 000000000000..a607be1c267d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiDiagnosticGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiDiagnosticGetEntityTagHeaders + /// class. + /// + public ApiDiagnosticGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiDiagnosticGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiDiagnosticGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetHeaders.cs new file mode 100644 index 000000000000..0b9a14c8f854 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiDiagnosticGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class ApiDiagnosticGetHeaders + { + /// + /// Initializes a new instance of the ApiDiagnosticGetHeaders class. + /// + public ApiDiagnosticGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiDiagnosticGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiDiagnosticGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiEntityBaseContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiEntityBaseContract.cs index 935e5e4543a6..fe029be0a354 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiEntityBaseContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiEntityBaseContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ApiEntityBaseContract /// public ApiEntityBaseContract() { - CustomInit(); + CustomInit(); } /// @@ -41,19 +40,25 @@ public ApiEntityBaseContract() /// 'soap' /// Describes the Revision of the Api. If no /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned /// Indicates if API revision is current api /// revision. /// Indicates if API revision is accessible via /// the gateway. - public ApiEntityBaseContract(string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?)) + /// A resource identifier for the related + /// ApiVersionSet. + public ApiEntityBaseContract(string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string)) { Description = description; AuthenticationSettings = authenticationSettings; SubscriptionKeyParameterNames = subscriptionKeyParameterNames; ApiType = apiType; ApiRevision = apiRevision; + ApiVersion = apiVersion; IsCurrent = isCurrent; IsOnline = isOnline; + ApiVersionSetId = apiVersionSetId; CustomInit(); } @@ -96,17 +101,29 @@ public ApiEntityBaseContract() public string ApiRevision { get; set; } /// - /// Gets or sets indicates if API revision is current api revision. + /// Gets or sets indicates the Version identifier of the API if the API + /// is versioned + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets indicates if API revision is current api revision. /// [JsonProperty(PropertyName = "isCurrent")] - public bool? IsCurrent { get; set; } + public bool? IsCurrent { get; private set; } /// - /// Gets or sets indicates if API revision is accessible via the - /// gateway. + /// Gets indicates if API revision is accessible via the gateway. /// [JsonProperty(PropertyName = "isOnline")] - public bool? IsOnline { get; set; } + public bool? IsOnline { get; private set; } + + /// + /// Gets or sets a resource identifier for the related ApiVersionSet. + /// + [JsonProperty(PropertyName = "apiVersionSetId")] + public string ApiVersionSetId { get; set; } /// /// Validate the object. @@ -127,6 +144,13 @@ public virtual void Validate() throw new ValidationException(ValidationRules.MinLength, "ApiRevision", 1); } } + if (ApiVersion != null) + { + if (ApiVersion.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiVersion", 100); + } + } } } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiExportResult.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiExportResult.cs new file mode 100644 index 000000000000..17f3673af68c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiExportResult.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// API Export result Blob Uri. + /// + public partial class ApiExportResult + { + /// + /// Initializes a new instance of the ApiExportResult class. + /// + public ApiExportResult() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiExportResult class. + /// + /// Link to the Storage Blob containing the result + /// of the export operation. The Blob Uri is only valid for 5 + /// minutes. + public ApiExportResult(string link = default(string)) + { + Link = link; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets link to the Storage Blob containing the result of the + /// export operation. The Blob Uri is only valid for 5 minutes. + /// + [JsonProperty(PropertyName = "link")] + public string Link { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetEntityTagHeaders.cs new file mode 100644 index 000000000000..4d01c2f76a97 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiGetEntityTagHeaders class. + /// + public ApiGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetHeaders.cs index 10c51356235e..bf64b4ba96e8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ApiGetHeaders /// public ApiGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceApplyNetworkConfigurationParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceApplyNetworkConfigurationParameters.cs index d1df1bb2c927..a2d4363d5380 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceApplyNetworkConfigurationParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceApplyNetworkConfigurationParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ApiManagementServiceApplyNetworkConfigurationParameters /// public ApiManagementServiceApplyNetworkConfigurationParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBackupRestoreParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBackupRestoreParameters.cs index 8f8d547b9dcd..1e4d4935c980 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBackupRestoreParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBackupRestoreParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -27,7 +26,7 @@ public partial class ApiManagementServiceBackupRestoreParameters /// public ApiManagementServiceBackupRestoreParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBaseProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBaseProperties.cs index 872013b27f83..b207423036ba 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBaseProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceBaseProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class ApiManagementServiceBaseProperties /// public ApiManagementServiceBaseProperties() { - CustomInit(); + CustomInit(); } /// @@ -49,6 +48,8 @@ public ApiManagementServiceBaseProperties() /// standard. /// Gateway URL of the API Management /// service. + /// Gateway URL of the API Management + /// service in the Default Region. /// Publisher portal endpoint Url of the API /// Management service. /// Management API endpoint URL of the @@ -57,15 +58,30 @@ public ApiManagementServiceBaseProperties() /// service. /// Custom hostname configuration /// of the API Management service. - /// Static IP addresses of the API Management - /// service virtual machines. Available only for Standard and Premium - /// SKU. + /// Public Static Load Balanced IP + /// addresses of the API Management service. Available only for Basic, + /// Standard and Premium SKU. + /// Private Static Load Balanced IP + /// addresses of the API Management service which is deployed in an + /// Internal Virtual Network. Available only for Basic, Standard and + /// Premium SKU. /// Virtual network /// configuration of the API Management service. /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service, like disabling TLS 1.0. + /// Management service. Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management + /// service. + /// List of Certificates that need to be + /// installed in the API Management service. Max supported certificates + /// that can be installed is 10. /// The type of VPN in which API /// Managemet service needs to be configured in. None (Default Value) /// means the API Management service is not part of any Virtual @@ -74,21 +90,24 @@ public ApiManagementServiceBaseProperties() /// Internal means that API Management deployment is setup inside a /// Virtual Network having an Intranet Facing Endpoint only. Possible /// values include: 'None', 'External', 'Internal' - public ApiManagementServiceBaseProperties(string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList staticIps = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), VirtualNetworkType? virtualNetworkType = default(VirtualNetworkType?)) + public ApiManagementServiceBaseProperties(string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string gatewayRegionalUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList publicIPAddresses = default(IList), IList privateIPAddresses = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), IList certificates = default(IList), string virtualNetworkType = default(string)) { NotificationSenderEmail = notificationSenderEmail; ProvisioningState = provisioningState; TargetProvisioningState = targetProvisioningState; CreatedAtUtc = createdAtUtc; GatewayUrl = gatewayUrl; + GatewayRegionalUrl = gatewayRegionalUrl; PortalUrl = portalUrl; ManagementApiUrl = managementApiUrl; ScmUrl = scmUrl; HostnameConfigurations = hostnameConfigurations; - StaticIps = staticIps; + PublicIPAddresses = publicIPAddresses; + PrivateIPAddresses = privateIPAddresses; VirtualNetworkConfiguration = virtualNetworkConfiguration; AdditionalLocations = additionalLocations; CustomProperties = customProperties; + Certificates = certificates; VirtualNetworkType = virtualNetworkType; CustomInit(); } @@ -134,6 +153,13 @@ public ApiManagementServiceBaseProperties() [JsonProperty(PropertyName = "gatewayUrl")] public string GatewayUrl { get; private set; } + /// + /// Gets gateway URL of the API Management service in the Default + /// Region. + /// + [JsonProperty(PropertyName = "gatewayRegionalUrl")] + public string GatewayRegionalUrl { get; private set; } + /// /// Gets publisher portal endpoint Url of the API Management service. /// @@ -160,11 +186,19 @@ public ApiManagementServiceBaseProperties() public IList HostnameConfigurations { get; set; } /// - /// Gets static IP addresses of the API Management service virtual - /// machines. Available only for Standard and Premium SKU. + /// Gets public Static Load Balanced IP addresses of the API Management + /// service. Available only for Basic, Standard and Premium SKU. /// - [JsonProperty(PropertyName = "staticIps")] - public IList StaticIps { get; private set; } + [JsonProperty(PropertyName = "publicIPAddresses")] + public IList PublicIPAddresses { get; private set; } + + /// + /// Gets private Static Load Balanced IP addresses of the API + /// Management service which is deployed in an Internal Virtual + /// Network. Available only for Basic, Standard and Premium SKU. + /// + [JsonProperty(PropertyName = "privateIPAddresses")] + public IList PrivateIPAddresses { get; private set; } /// /// Gets or sets virtual network configuration of the API Management @@ -181,12 +215,27 @@ public ApiManagementServiceBaseProperties() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service, like - /// disabling TLS 1.0. + /// Gets or sets custom properties of the API Management service. + /// Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management service. /// [JsonProperty(PropertyName = "customProperties")] public IDictionary CustomProperties { get; set; } + /// + /// Gets or sets list of Certificates that need to be installed in the + /// API Management service. Max supported certificates that can be + /// installed is 10. + /// + [JsonProperty(PropertyName = "certificates")] + public IList Certificates { get; set; } + /// /// Gets or sets the type of VPN in which API Managemet service needs /// to be configured in. None (Default Value) means the API Management @@ -198,7 +247,7 @@ public ApiManagementServiceBaseProperties() /// 'Internal' /// [JsonProperty(PropertyName = "virtualNetworkType")] - public VirtualNetworkType? VirtualNetworkType { get; set; } + public string VirtualNetworkType { get; set; } /// /// Validate the object. @@ -239,6 +288,16 @@ public virtual void Validate() } } } + if (Certificates != null) + { + foreach (var element2 in Certificates) + { + if (element2 != null) + { + element2.Validate(); + } + } + } } } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceCheckNameAvailabilityParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceCheckNameAvailabilityParameters.cs index 2e5ad62bb37f..ef723ecbad66 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceCheckNameAvailabilityParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceCheckNameAvailabilityParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class ApiManagementServiceCheckNameAvailabilityParameters /// public ApiManagementServiceCheckNameAvailabilityParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceGetSsoTokenResult.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceGetSsoTokenResult.cs index ee91c4d2e5ee..a4ec8daa91cd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceGetSsoTokenResult.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceGetSsoTokenResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ApiManagementServiceGetSsoTokenResult /// public ApiManagementServiceGetSsoTokenResult() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceIdentity.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceIdentity.cs new file mode 100644 index 000000000000..8e4c937c9f53 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceIdentity.cs @@ -0,0 +1,76 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Identity properties of the Api Management service resource. + /// + public partial class ApiManagementServiceIdentity + { + /// + /// Initializes a new instance of the ApiManagementServiceIdentity + /// class. + /// + public ApiManagementServiceIdentity() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiManagementServiceIdentity + /// class. + /// + /// The principal id of the identity. + /// The client tenant id of the + /// identity. + public ApiManagementServiceIdentity(System.Guid? principalId = default(System.Guid?), System.Guid? tenantId = default(System.Guid?)) + { + PrincipalId = principalId; + TenantId = tenantId; + CustomInit(); + } + /// + /// Static constructor for ApiManagementServiceIdentity class. + /// + static ApiManagementServiceIdentity() + { + Type = "SystemAssigned"; + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets the principal id of the identity. + /// + [JsonProperty(PropertyName = "principalId")] + public System.Guid? PrincipalId { get; private set; } + + /// + /// Gets the client tenant id of the identity. + /// + [JsonProperty(PropertyName = "tenantId")] + public System.Guid? TenantId { get; private set; } + + /// + /// The identity type. Currently the only supported type is + /// 'SystemAssigned'. + /// + [JsonProperty(PropertyName = "type")] + public static string Type { get; private set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceNameAvailabilityResult.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceNameAvailabilityResult.cs index 5902dda9c161..502fafdc5ac1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceNameAvailabilityResult.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceNameAvailabilityResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ApiManagementServiceNameAvailabilityResult /// public ApiManagementServiceNameAvailabilityResult() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceResource.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceResource.cs index 191af02cf3d9..fca3fba48a49 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceResource.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class ApiManagementServiceResource : ApimResource /// public ApiManagementServiceResource() { - CustomInit(); + CustomInit(); } /// @@ -61,6 +60,8 @@ public ApiManagementServiceResource() /// standard. /// Gateway URL of the API Management /// service. + /// Gateway URL of the API Management + /// service in the Default Region. /// Publisher portal endpoint Url of the API /// Management service. /// Management API endpoint URL of the @@ -69,15 +70,30 @@ public ApiManagementServiceResource() /// service. /// Custom hostname configuration /// of the API Management service. - /// Static IP addresses of the API Management - /// service virtual machines. Available only for Standard and Premium - /// SKU. + /// Public Static Load Balanced IP + /// addresses of the API Management service. Available only for Basic, + /// Standard and Premium SKU. + /// Private Static Load Balanced IP + /// addresses of the API Management service which is deployed in an + /// Internal Virtual Network. Available only for Basic, Standard and + /// Premium SKU. /// Virtual network /// configuration of the API Management service. /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service, like disabling TLS 1.0. + /// Management service. Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management + /// service. + /// List of Certificates that need to be + /// installed in the API Management service. Max supported certificates + /// that can be installed is 10. /// The type of VPN in which API /// Managemet service needs to be configured in. None (Default Value) /// means the API Management service is not part of any Virtual @@ -86,8 +102,10 @@ public ApiManagementServiceResource() /// Internal means that API Management deployment is setup inside a /// Virtual Network having an Intranet Facing Endpoint only. Possible /// values include: 'None', 'External', 'Internal' + /// Managed service identity of the Api + /// Management service. /// ETag of the resource. - public ApiManagementServiceResource(string publisherEmail, string publisherName, ApiManagementServiceSkuProperties sku, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList staticIps = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), VirtualNetworkType? virtualNetworkType = default(VirtualNetworkType?), string etag = default(string)) + public ApiManagementServiceResource(string publisherEmail, string publisherName, ApiManagementServiceSkuProperties sku, string location, string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string gatewayRegionalUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList publicIPAddresses = default(IList), IList privateIPAddresses = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), IList certificates = default(IList), string virtualNetworkType = default(string), ApiManagementServiceIdentity identity = default(ApiManagementServiceIdentity), string etag = default(string)) : base(id, name, type, tags) { NotificationSenderEmail = notificationSenderEmail; @@ -95,18 +113,22 @@ public ApiManagementServiceResource() TargetProvisioningState = targetProvisioningState; CreatedAtUtc = createdAtUtc; GatewayUrl = gatewayUrl; + GatewayRegionalUrl = gatewayRegionalUrl; PortalUrl = portalUrl; ManagementApiUrl = managementApiUrl; ScmUrl = scmUrl; HostnameConfigurations = hostnameConfigurations; - StaticIps = staticIps; + PublicIPAddresses = publicIPAddresses; + PrivateIPAddresses = privateIPAddresses; VirtualNetworkConfiguration = virtualNetworkConfiguration; AdditionalLocations = additionalLocations; CustomProperties = customProperties; + Certificates = certificates; VirtualNetworkType = virtualNetworkType; PublisherEmail = publisherEmail; PublisherName = publisherName; Sku = sku; + Identity = identity; Location = location; Etag = etag; CustomInit(); @@ -153,6 +175,13 @@ public ApiManagementServiceResource() [JsonProperty(PropertyName = "properties.gatewayUrl")] public string GatewayUrl { get; private set; } + /// + /// Gets gateway URL of the API Management service in the Default + /// Region. + /// + [JsonProperty(PropertyName = "properties.gatewayRegionalUrl")] + public string GatewayRegionalUrl { get; private set; } + /// /// Gets publisher portal endpoint Url of the API Management service. /// @@ -179,11 +208,19 @@ public ApiManagementServiceResource() public IList HostnameConfigurations { get; set; } /// - /// Gets static IP addresses of the API Management service virtual - /// machines. Available only for Standard and Premium SKU. + /// Gets public Static Load Balanced IP addresses of the API Management + /// service. Available only for Basic, Standard and Premium SKU. /// - [JsonProperty(PropertyName = "properties.staticIps")] - public IList StaticIps { get; private set; } + [JsonProperty(PropertyName = "properties.publicIPAddresses")] + public IList PublicIPAddresses { get; private set; } + + /// + /// Gets private Static Load Balanced IP addresses of the API + /// Management service which is deployed in an Internal Virtual + /// Network. Available only for Basic, Standard and Premium SKU. + /// + [JsonProperty(PropertyName = "properties.privateIPAddresses")] + public IList PrivateIPAddresses { get; private set; } /// /// Gets or sets virtual network configuration of the API Management @@ -200,12 +237,27 @@ public ApiManagementServiceResource() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service, like - /// disabling TLS 1.0. + /// Gets or sets custom properties of the API Management service. + /// Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management service. /// [JsonProperty(PropertyName = "properties.customProperties")] public IDictionary CustomProperties { get; set; } + /// + /// Gets or sets list of Certificates that need to be installed in the + /// API Management service. Max supported certificates that can be + /// installed is 10. + /// + [JsonProperty(PropertyName = "properties.certificates")] + public IList Certificates { get; set; } + /// /// Gets or sets the type of VPN in which API Managemet service needs /// to be configured in. None (Default Value) means the API Management @@ -217,7 +269,7 @@ public ApiManagementServiceResource() /// 'Internal' /// [JsonProperty(PropertyName = "properties.virtualNetworkType")] - public VirtualNetworkType? VirtualNetworkType { get; set; } + public string VirtualNetworkType { get; set; } /// /// Gets or sets publisher email. @@ -237,6 +289,13 @@ public ApiManagementServiceResource() [JsonProperty(PropertyName = "sku")] public ApiManagementServiceSkuProperties Sku { get; set; } + /// + /// Gets or sets managed service identity of the Api Management + /// service. + /// + [JsonProperty(PropertyName = "identity")] + public ApiManagementServiceIdentity Identity { get; set; } + /// /// Gets or sets resource location. /// @@ -304,6 +363,16 @@ public virtual void Validate() } } } + if (Certificates != null) + { + foreach (var element2 in Certificates) + { + if (element2 != null) + { + element2.Validate(); + } + } + } if (PublisherEmail != null) { if (PublisherEmail.Length > 100) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs index 1ff6cea98e04..d5fa7f53dde8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,11 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; + using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +25,7 @@ public partial class ApiManagementServiceSkuProperties /// public ApiManagementServiceSkuProperties() { - CustomInit(); + CustomInit(); } /// @@ -33,10 +33,10 @@ public ApiManagementServiceSkuProperties() /// class. /// /// Name of the Sku. Possible values include: - /// 'Developer', 'Standard', 'Premium' + /// 'Developer', 'Standard', 'Premium', 'Basic' /// Capacity of the SKU (number of deployed /// units of the SKU). The default value is 1. - public ApiManagementServiceSkuProperties(SkuType name, int? capacity = default(int?)) + public ApiManagementServiceSkuProperties(string name, int? capacity = default(int?)) { Name = name; Capacity = capacity; @@ -50,10 +50,10 @@ public ApiManagementServiceSkuProperties() /// /// Gets or sets name of the Sku. Possible values include: 'Developer', - /// 'Standard', 'Premium' + /// 'Standard', 'Premium', 'Basic' /// [JsonProperty(PropertyName = "name")] - public SkuType Name { get; set; } + public string Name { get; set; } /// /// Gets or sets capacity of the SKU (number of deployed units of the @@ -65,11 +65,15 @@ public ApiManagementServiceSkuProperties() /// /// Validate the object. /// - /// + /// /// Thrown if validation fails /// public virtual void Validate() { + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } } } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateHostnameParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateHostnameParameters.cs new file mode 100644 index 000000000000..d9eb729d5698 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateHostnameParameters.cs @@ -0,0 +1,63 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Parameters supplied to the UpdateHostname operation. + /// + public partial class ApiManagementServiceUpdateHostnameParameters + { + /// + /// Initializes a new instance of the + /// ApiManagementServiceUpdateHostnameParameters class. + /// + public ApiManagementServiceUpdateHostnameParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ApiManagementServiceUpdateHostnameParameters class. + /// + /// Hostnames to create or update. + /// Hostnames types to delete. + public ApiManagementServiceUpdateHostnameParameters(IList update = default(IList), IList delete = default(IList)) + { + Update = update; + Delete = delete; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets hostnames to create or update. + /// + [JsonProperty(PropertyName = "update")] + public IList Update { get; set; } + + /// + /// Gets or sets hostnames types to delete. + /// + [JsonProperty(PropertyName = "delete")] + public IList Delete { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateParameters.cs index bbd9ef2dd767..e669c9df8161 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class ApiManagementServiceUpdateParameters : ApimResource /// public ApiManagementServiceUpdateParameters() { - CustomInit(); + CustomInit(); } /// @@ -56,6 +55,8 @@ public ApiManagementServiceUpdateParameters() /// standard. /// Gateway URL of the API Management /// service. + /// Gateway URL of the API Management + /// service in the Default Region. /// Publisher portal endpoint Url of the API /// Management service. /// Management API endpoint URL of the @@ -64,15 +65,30 @@ public ApiManagementServiceUpdateParameters() /// service. /// Custom hostname configuration /// of the API Management service. - /// Static IP addresses of the API Management - /// service virtual machines. Available only for Standard and Premium - /// SKU. + /// Public Static Load Balanced IP + /// addresses of the API Management service. Available only for Basic, + /// Standard and Premium SKU. + /// Private Static Load Balanced IP + /// addresses of the API Management service which is deployed in an + /// Internal Virtual Network. Available only for Basic, Standard and + /// Premium SKU. /// Virtual network /// configuration of the API Management service. /// Additional datacenter locations /// of the API Management service. /// Custom properties of the API - /// Management service, like disabling TLS 1.0. + /// Management service. Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management + /// service. + /// List of Certificates that need to be + /// installed in the API Management service. Max supported certificates + /// that can be installed is 10. /// The type of VPN in which API /// Managemet service needs to be configured in. None (Default Value) /// means the API Management service is not part of any Virtual @@ -85,8 +101,10 @@ public ApiManagementServiceUpdateParameters() /// Publisher name. /// SKU properties of the API Management /// service. + /// Managed service identity of the Api + /// Management service. /// ETag of the resource. - public ApiManagementServiceUpdateParameters(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList staticIps = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), VirtualNetworkType? virtualNetworkType = default(VirtualNetworkType?), string publisherEmail = default(string), string publisherName = default(string), ApiManagementServiceSkuProperties sku = default(ApiManagementServiceSkuProperties), string etag = default(string)) + public ApiManagementServiceUpdateParameters(string id = default(string), string name = default(string), string type = default(string), IDictionary tags = default(IDictionary), string notificationSenderEmail = default(string), string provisioningState = default(string), string targetProvisioningState = default(string), System.DateTime? createdAtUtc = default(System.DateTime?), string gatewayUrl = default(string), string gatewayRegionalUrl = default(string), string portalUrl = default(string), string managementApiUrl = default(string), string scmUrl = default(string), IList hostnameConfigurations = default(IList), IList publicIPAddresses = default(IList), IList privateIPAddresses = default(IList), VirtualNetworkConfiguration virtualNetworkConfiguration = default(VirtualNetworkConfiguration), IList additionalLocations = default(IList), IDictionary customProperties = default(IDictionary), IList certificates = default(IList), string virtualNetworkType = default(string), string publisherEmail = default(string), string publisherName = default(string), ApiManagementServiceSkuProperties sku = default(ApiManagementServiceSkuProperties), ApiManagementServiceIdentity identity = default(ApiManagementServiceIdentity), string etag = default(string)) : base(id, name, type, tags) { NotificationSenderEmail = notificationSenderEmail; @@ -94,18 +112,22 @@ public ApiManagementServiceUpdateParameters() TargetProvisioningState = targetProvisioningState; CreatedAtUtc = createdAtUtc; GatewayUrl = gatewayUrl; + GatewayRegionalUrl = gatewayRegionalUrl; PortalUrl = portalUrl; ManagementApiUrl = managementApiUrl; ScmUrl = scmUrl; HostnameConfigurations = hostnameConfigurations; - StaticIps = staticIps; + PublicIPAddresses = publicIPAddresses; + PrivateIPAddresses = privateIPAddresses; VirtualNetworkConfiguration = virtualNetworkConfiguration; AdditionalLocations = additionalLocations; CustomProperties = customProperties; + Certificates = certificates; VirtualNetworkType = virtualNetworkType; PublisherEmail = publisherEmail; PublisherName = publisherName; Sku = sku; + Identity = identity; Etag = etag; CustomInit(); } @@ -151,6 +173,13 @@ public ApiManagementServiceUpdateParameters() [JsonProperty(PropertyName = "properties.gatewayUrl")] public string GatewayUrl { get; private set; } + /// + /// Gets gateway URL of the API Management service in the Default + /// Region. + /// + [JsonProperty(PropertyName = "properties.gatewayRegionalUrl")] + public string GatewayRegionalUrl { get; private set; } + /// /// Gets publisher portal endpoint Url of the API Management service. /// @@ -177,11 +206,19 @@ public ApiManagementServiceUpdateParameters() public IList HostnameConfigurations { get; set; } /// - /// Gets static IP addresses of the API Management service virtual - /// machines. Available only for Standard and Premium SKU. + /// Gets public Static Load Balanced IP addresses of the API Management + /// service. Available only for Basic, Standard and Premium SKU. /// - [JsonProperty(PropertyName = "properties.staticIps")] - public IList StaticIps { get; private set; } + [JsonProperty(PropertyName = "properties.publicIPAddresses")] + public IList PublicIPAddresses { get; private set; } + + /// + /// Gets private Static Load Balanced IP addresses of the API + /// Management service which is deployed in an Internal Virtual + /// Network. Available only for Basic, Standard and Premium SKU. + /// + [JsonProperty(PropertyName = "properties.privateIPAddresses")] + public IList PrivateIPAddresses { get; private set; } /// /// Gets or sets virtual network configuration of the API Management @@ -198,12 +235,27 @@ public ApiManagementServiceUpdateParameters() public IList AdditionalLocations { get; set; } /// - /// Gets or sets custom properties of the API Management service, like - /// disabling TLS 1.0. + /// Gets or sets custom properties of the API Management service. + /// Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168` + /// will disable the cipher TLS_RSA_WITH_3DES_EDE_CBC_SHA for all + /// TLS(1.0, 1.1 and 1.2). Setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11` + /// can be used to disable just TLS 1.1 and setting + /// `Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10` + /// can be used to disable TLS 1.0 on an API Management service. /// [JsonProperty(PropertyName = "properties.customProperties")] public IDictionary CustomProperties { get; set; } + /// + /// Gets or sets list of Certificates that need to be installed in the + /// API Management service. Max supported certificates that can be + /// installed is 10. + /// + [JsonProperty(PropertyName = "properties.certificates")] + public IList Certificates { get; set; } + /// /// Gets or sets the type of VPN in which API Managemet service needs /// to be configured in. None (Default Value) means the API Management @@ -215,7 +267,7 @@ public ApiManagementServiceUpdateParameters() /// 'Internal' /// [JsonProperty(PropertyName = "properties.virtualNetworkType")] - public VirtualNetworkType? VirtualNetworkType { get; set; } + public string VirtualNetworkType { get; set; } /// /// Gets or sets publisher email. @@ -235,6 +287,13 @@ public ApiManagementServiceUpdateParameters() [JsonProperty(PropertyName = "sku")] public ApiManagementServiceSkuProperties Sku { get; set; } + /// + /// Gets or sets managed service identity of the Api Management + /// service. + /// + [JsonProperty(PropertyName = "identity")] + public ApiManagementServiceIdentity Identity { get; set; } + /// /// Gets eTag of the resource. /// @@ -280,6 +339,16 @@ public virtual void Validate() } } } + if (Certificates != null) + { + foreach (var element2 in Certificates) + { + if (element2 != null) + { + element2.Validate(); + } + } + } if (PublisherEmail != null) { if (PublisherEmail.Length > 100) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUploadCertificateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUploadCertificateParameters.cs new file mode 100644 index 000000000000..174e1c871e38 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceUploadCertificateParameters.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Parameters supplied to the Upload SSL certificate for an API Management + /// service operation. + /// + public partial class ApiManagementServiceUploadCertificateParameters + { + /// + /// Initializes a new instance of the + /// ApiManagementServiceUploadCertificateParameters class. + /// + public ApiManagementServiceUploadCertificateParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ApiManagementServiceUploadCertificateParameters class. + /// + /// Hostname type. Possible values include: 'Proxy', + /// 'Portal', 'Management', 'Scm' + /// Base64 Encoded certificate. + /// Certificate password. + public ApiManagementServiceUploadCertificateParameters(HostnameType type, string certificate, string certificatePassword) + { + Type = type; + Certificate = certificate; + CertificatePassword = certificatePassword; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets hostname type. Possible values include: 'Proxy', + /// 'Portal', 'Management', 'Scm' + /// + [JsonProperty(PropertyName = "type")] + public HostnameType Type { get; set; } + + /// + /// Gets or sets base64 Encoded certificate. + /// + [JsonProperty(PropertyName = "certificate")] + public string Certificate { get; set; } + + /// + /// Gets or sets certificate password. + /// + [JsonProperty(PropertyName = "certificate_password")] + public string CertificatePassword { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Certificate == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Certificate"); + } + if (CertificatePassword == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "CertificatePassword"); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetEntityTagHeaders.cs new file mode 100644 index 000000000000..3dc649742955 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiOperationGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiOperationGetEntityTagHeaders + /// class. + /// + public ApiOperationGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiOperationGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiOperationGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetHeaders.cs index 04276c7f70f1..f3fb56f838ea 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ApiOperationGetHeaders /// public ApiOperationGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetEntityTagHeaders.cs new file mode 100644 index 000000000000..3a06ce3d2968 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiOperationPolicyGetEntityTagHeaders + { + /// + /// Initializes a new instance of the + /// ApiOperationPolicyGetEntityTagHeaders class. + /// + public ApiOperationPolicyGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ApiOperationPolicyGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiOperationPolicyGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetHeaders.cs index 21ea06f73fd5..3b47aecebf54 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiOperationPolicyGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ApiOperationPolicyGetHeaders /// public ApiOperationPolicyGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetEntityTagHeaders.cs new file mode 100644 index 000000000000..6a6b95913d9a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiPolicyGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiPolicyGetEntityTagHeaders + /// class. + /// + public ApiPolicyGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiPolicyGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiPolicyGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetHeaders.cs index af9ae4a126c8..6cebe637d7c8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ApiPolicyGetHeaders /// public ApiPolicyGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyListByApiHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyListByApiHeaders.cs index 7b0f84431393..01f6a25116eb 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyListByApiHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiPolicyListByApiHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ApiPolicyListByApiHeaders /// public ApiPolicyListByApiHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseContract.cs new file mode 100644 index 000000000000..493d55bc6207 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseContract.cs @@ -0,0 +1,89 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Api Release details. + /// + [Rest.Serialization.JsonTransformation] + public partial class ApiReleaseContract : Resource + { + /// + /// Initializes a new instance of the ApiReleaseContract class. + /// + public ApiReleaseContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiReleaseContract class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Identifier of the API the release belongs + /// to. + /// The time the API was released. The + /// date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as + /// specified by the ISO 8601 standard. + /// The time the API release was + /// updated. + /// Release Notes + public ApiReleaseContract(string id = default(string), string name = default(string), string type = default(string), string apiId = default(string), System.DateTime? createdDateTime = default(System.DateTime?), System.DateTime? updatedDateTime = default(System.DateTime?), string notes = default(string)) + : base(id, name, type) + { + ApiId = apiId; + CreatedDateTime = createdDateTime; + UpdatedDateTime = updatedDateTime; + Notes = notes; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets identifier of the API the release belongs to. + /// + [JsonProperty(PropertyName = "properties.apiId")] + public string ApiId { get; set; } + + /// + /// Gets the time the API was released. The date conforms to the + /// following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 + /// standard. + /// + [JsonProperty(PropertyName = "properties.createdDateTime")] + public System.DateTime? CreatedDateTime { get; private set; } + + /// + /// Gets the time the API release was updated. + /// + [JsonProperty(PropertyName = "properties.updatedDateTime")] + public System.DateTime? UpdatedDateTime { get; private set; } + + /// + /// Gets or sets release Notes + /// + [JsonProperty(PropertyName = "properties.notes")] + public string Notes { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseGetEntityTagHeaders.cs new file mode 100644 index 000000000000..6c0ce08e22bf --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiReleaseGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiReleaseGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiReleaseGetEntityTagHeaders + /// class. + /// + public ApiReleaseGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiReleaseGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiReleaseGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionContract.cs new file mode 100644 index 000000000000..558e09cdf107 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionContract.cs @@ -0,0 +1,146 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Summary of revision metadata. + /// + public partial class ApiRevisionContract + { + /// + /// Initializes a new instance of the ApiRevisionContract class. + /// + public ApiRevisionContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiRevisionContract class. + /// + /// Identifier of the API Revision. + /// Revision number of API. + /// The time the API Revision was + /// created. The date conforms to the following format: + /// yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. + /// The time the API Revision were + /// updated. The date conforms to the following format: + /// yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard. + /// Description of the API Revision. + /// Gateway URL for accessing the non-current + /// API Revision. + /// Indicates if API revision is the current api + /// revision. + /// Indicates if API revision is accessible via + /// the gateway. + public ApiRevisionContract(string apiId = default(string), string apiRevision = default(string), System.DateTime? createdDateTime = default(System.DateTime?), System.DateTime? updatedDateTime = default(System.DateTime?), string description = default(string), string privateUrl = default(string), bool? isOnline = default(bool?), bool? isCurrent = default(bool?)) + { + ApiId = apiId; + ApiRevision = apiRevision; + CreatedDateTime = createdDateTime; + UpdatedDateTime = updatedDateTime; + Description = description; + PrivateUrl = privateUrl; + IsOnline = isOnline; + IsCurrent = isCurrent; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets identifier of the API Revision. + /// + [JsonProperty(PropertyName = "apiId")] + public string ApiId { get; private set; } + + /// + /// Gets revision number of API. + /// + [JsonProperty(PropertyName = "apiRevision")] + public string ApiRevision { get; private set; } + + /// + /// Gets the time the API Revision was created. The date conforms to + /// the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO + /// 8601 standard. + /// + [JsonProperty(PropertyName = "createdDateTime")] + public System.DateTime? CreatedDateTime { get; private set; } + + /// + /// Gets the time the API Revision were updated. The date conforms to + /// the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO + /// 8601 standard. + /// + [JsonProperty(PropertyName = "updatedDateTime")] + public System.DateTime? UpdatedDateTime { get; private set; } + + /// + /// Gets description of the API Revision. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; private set; } + + /// + /// Gets gateway URL for accessing the non-current API Revision. + /// + [JsonProperty(PropertyName = "privateUrl")] + public string PrivateUrl { get; private set; } + + /// + /// Gets indicates if API revision is the current api revision. + /// + [JsonProperty(PropertyName = "isOnline")] + public bool? IsOnline { get; private set; } + + /// + /// Gets indicates if API revision is accessible via the gateway. + /// + [JsonProperty(PropertyName = "isCurrent")] + public bool? IsCurrent { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ApiRevision != null) + { + if (ApiRevision.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiRevision", 100); + } + if (ApiRevision.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "ApiRevision", 1); + } + } + if (Description != null) + { + if (Description.Length > 256) + { + throw new ValidationException(ValidationRules.MaxLength, "Description", 256); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionInfoContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionInfoContract.cs new file mode 100644 index 000000000000..bdbb3c21c2d7 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiRevisionInfoContract.cs @@ -0,0 +1,104 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Object used to create an API Revision or Version based on an existing + /// API Revision + /// + public partial class ApiRevisionInfoContract + { + /// + /// Initializes a new instance of the ApiRevisionInfoContract class. + /// + public ApiRevisionInfoContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiRevisionInfoContract class. + /// + /// Resource identifier of API to be used to + /// create the revision from. + /// Version identifier for the new API + /// Version. + /// Description of new API + /// Revision. + /// Version set details + public ApiRevisionInfoContract(string sourceApiId = default(string), string apiVersionName = default(string), string apiRevisionDescription = default(string), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails)) + { + SourceApiId = sourceApiId; + ApiVersionName = apiVersionName; + ApiRevisionDescription = apiRevisionDescription; + ApiVersionSet = apiVersionSet; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets resource identifier of API to be used to create the + /// revision from. + /// + [JsonProperty(PropertyName = "sourceApiId")] + public string SourceApiId { get; set; } + + /// + /// Gets or sets version identifier for the new API Version. + /// + [JsonProperty(PropertyName = "apiVersionName")] + public string ApiVersionName { get; set; } + + /// + /// Gets or sets description of new API Revision. + /// + [JsonProperty(PropertyName = "apiRevisionDescription")] + public string ApiRevisionDescription { get; set; } + + /// + /// Gets or sets version set details + /// + [JsonProperty(PropertyName = "apiVersionSet")] + public ApiVersionSetContractDetails ApiVersionSet { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ApiVersionName != null) + { + if (ApiVersionName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiVersionName", 100); + } + } + if (ApiRevisionDescription != null) + { + if (ApiRevisionDescription.Length > 256) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiRevisionDescription", 256); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetEntityTagHeaders.cs new file mode 100644 index 000000000000..8ff60b29bbdc --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiSchemaGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiSchemaGetEntityTagHeaders + /// class. + /// + public ApiSchemaGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiSchemaGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiSchemaGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetHeaders.cs new file mode 100644 index 000000000000..da2b4867496a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class ApiSchemaGetHeaders + { + /// + /// Initializes a new instance of the ApiSchemaGetHeaders class. + /// + public ApiSchemaGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiSchemaGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiSchemaGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaListByApiHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaListByApiHeaders.cs new file mode 100644 index 000000000000..61de8984c651 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiSchemaListByApiHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for ListByApi operation. + /// + public partial class ApiSchemaListByApiHeaders + { + /// + /// Initializes a new instance of the ApiSchemaListByApiHeaders class. + /// + public ApiSchemaListByApiHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiSchemaListByApiHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiSchemaListByApiHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiTagResourceContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiTagResourceContractProperties.cs new file mode 100644 index 000000000000..1c98f4fba71f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiTagResourceContractProperties.cs @@ -0,0 +1,161 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// API contract properties for the Tag Resources. + /// + public partial class ApiTagResourceContractProperties : ApiEntityBaseContract + { + /// + /// Initializes a new instance of the ApiTagResourceContractProperties + /// class. + /// + public ApiTagResourceContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiTagResourceContractProperties + /// class. + /// + /// Description of the API. May include HTML + /// formatting tags. + /// Collection of authentication + /// settings included into this API. + /// Protocols over which + /// API is made available. + /// Type of API. Possible values include: 'http', + /// 'soap' + /// Describes the Revision of the Api. If no + /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned + /// Indicates if API revision is current api + /// revision. + /// Indicates if API revision is accessible via + /// the gateway. + /// A resource identifier for the related + /// ApiVersionSet. + /// API identifier in the form /apis/{apiId}. + /// API name. + /// Absolute URL of the backend service + /// implementing this API. + /// Relative URL uniquely identifying this API and + /// all of its resource paths within the API Management service + /// instance. It is appended to the API endpoint base URL specified + /// during the service instance creation to form a public URL for this + /// API. + /// Describes on which protocols the operations + /// in this API can be invoked. + public ApiTagResourceContractProperties(string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string), string id = default(string), string name = default(string), string serviceUrl = default(string), string path = default(string), IList protocols = default(IList)) + : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, apiVersion, isCurrent, isOnline, apiVersionSetId) + { + Id = id; + Name = name; + ServiceUrl = serviceUrl; + Path = path; + Protocols = protocols; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets API identifier in the form /apis/{apiId}. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets API name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Gets or sets absolute URL of the backend service implementing this + /// API. + /// + [JsonProperty(PropertyName = "serviceUrl")] + public string ServiceUrl { get; set; } + + /// + /// Gets or sets relative URL uniquely identifying this API and all of + /// its resource paths within the API Management service instance. It + /// is appended to the API endpoint base URL specified during the + /// service instance creation to form a public URL for this API. + /// + [JsonProperty(PropertyName = "path")] + public string Path { get; set; } + + /// + /// Gets or sets describes on which protocols the operations in this + /// API can be invoked. + /// + [JsonProperty(PropertyName = "protocols")] + public IList Protocols { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Name != null) + { + if (Name.Length > 300) + { + throw new ValidationException(ValidationRules.MaxLength, "Name", 300); + } + if (Name.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Name", 1); + } + } + if (ServiceUrl != null) + { + if (ServiceUrl.Length > 2000) + { + throw new ValidationException(ValidationRules.MaxLength, "ServiceUrl", 2000); + } + if (ServiceUrl.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "ServiceUrl", 1); + } + } + if (Path != null) + { + if (Path.Length > 400) + { + throw new ValidationException(ValidationRules.MaxLength, "Path", 400); + } + if (Path.Length < 0) + { + throw new ValidationException(ValidationRules.MinLength, "Path", 0); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiType.cs index 359e576937be..ec3f85b9d795 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; /// /// Defines values for ApiType. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiUpdateContract.cs index 856f6a4bfb77..431f266a8dd7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiUpdateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiUpdateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class ApiUpdateContract /// public ApiUpdateContract() { - CustomInit(); + CustomInit(); } /// @@ -45,10 +44,14 @@ public ApiUpdateContract() /// 'soap' /// Describes the Revision of the Api. If no /// value is provided, default revision 1 is created + /// Indicates the Version identifier of the + /// API if the API is versioned /// Indicates if API revision is current api /// revision. /// Indicates if API revision is accessible via /// the gateway. + /// A resource identifier for the related + /// ApiVersionSet. /// API name. /// Absolute URL of the backend service /// implementing this API. @@ -59,15 +62,17 @@ public ApiUpdateContract() /// API. /// Describes on which protocols the operations /// in this API can be invoked. - public ApiUpdateContract(string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string displayName = default(string), string serviceUrl = default(string), string path = default(string), IList protocols = default(IList)) + public ApiUpdateContract(string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool? isCurrent = default(bool?), bool? isOnline = default(bool?), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), string path = default(string), IList protocols = default(IList)) { Description = description; AuthenticationSettings = authenticationSettings; SubscriptionKeyParameterNames = subscriptionKeyParameterNames; ApiType = apiType; ApiRevision = apiRevision; + ApiVersion = apiVersion; IsCurrent = isCurrent; IsOnline = isOnline; + ApiVersionSetId = apiVersionSetId; DisplayName = displayName; ServiceUrl = serviceUrl; Path = path; @@ -114,17 +119,29 @@ public ApiUpdateContract() public string ApiRevision { get; set; } /// - /// Gets or sets indicates if API revision is current api revision. + /// Gets or sets indicates the Version identifier of the API if the API + /// is versioned + /// + [JsonProperty(PropertyName = "properties.apiVersion")] + public string ApiVersion { get; set; } + + /// + /// Gets indicates if API revision is current api revision. /// [JsonProperty(PropertyName = "properties.isCurrent")] - public bool? IsCurrent { get; set; } + public bool? IsCurrent { get; private set; } /// - /// Gets or sets indicates if API revision is accessible via the - /// gateway. + /// Gets indicates if API revision is accessible via the gateway. /// [JsonProperty(PropertyName = "properties.isOnline")] - public bool? IsOnline { get; set; } + public bool? IsOnline { get; private set; } + + /// + /// Gets or sets a resource identifier for the related ApiVersionSet. + /// + [JsonProperty(PropertyName = "properties.apiVersionSetId")] + public string ApiVersionSetId { get; set; } /// /// Gets or sets API name. @@ -174,6 +191,13 @@ public virtual void Validate() throw new ValidationException(ValidationRules.MinLength, "ApiRevision", 1); } } + if (ApiVersion != null) + { + if (ApiVersion.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "ApiVersion", 100); + } + } if (DisplayName != null) { if (DisplayName.Length > 300) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContract.cs new file mode 100644 index 000000000000..e541b2665f66 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContract.cs @@ -0,0 +1,151 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Api Version Set Contract details. + /// + [Rest.Serialization.JsonTransformation] + public partial class ApiVersionSetContract : Resource + { + /// + /// Initializes a new instance of the ApiVersionSetContract class. + /// + public ApiVersionSetContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetContract class. + /// + /// Name of API Version Set + /// An value that determines where the + /// API Version identifer will be located in a HTTP request. Possible + /// values include: 'Segment', 'Query', 'Header' + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Description of API Version Set. + /// Name of query parameter that + /// indicates the API Version if versioningScheme is set to + /// `query`. + /// Name of HTTP header parameter that + /// indicates the API Version if versioningScheme is set to + /// `header`. + public ApiVersionSetContract(string displayName, string versioningScheme, string id = default(string), string name = default(string), string type = default(string), string description = default(string), string versionQueryName = default(string), string versionHeaderName = default(string)) + : base(id, name, type) + { + Description = description; + VersionQueryName = versionQueryName; + VersionHeaderName = versionHeaderName; + DisplayName = displayName; + VersioningScheme = versioningScheme; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets description of API Version Set. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets name of query parameter that indicates the API Version + /// if versioningScheme is set to `query`. + /// + [JsonProperty(PropertyName = "properties.versionQueryName")] + public string VersionQueryName { get; set; } + + /// + /// Gets or sets name of HTTP header parameter that indicates the API + /// Version if versioningScheme is set to `header`. + /// + [JsonProperty(PropertyName = "properties.versionHeaderName")] + public string VersionHeaderName { get; set; } + + /// + /// Gets or sets name of API Version Set + /// + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets an value that determines where the API Version + /// identifer will be located in a HTTP request. Possible values + /// include: 'Segment', 'Query', 'Header' + /// + [JsonProperty(PropertyName = "properties.versioningScheme")] + public string VersioningScheme { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DisplayName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DisplayName"); + } + if (VersioningScheme == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "VersioningScheme"); + } + if (VersionQueryName != null) + { + if (VersionQueryName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionQueryName", 100); + } + if (VersionQueryName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionQueryName", 1); + } + } + if (VersionHeaderName != null) + { + if (VersionHeaderName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionHeaderName", 100); + } + if (VersionHeaderName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionHeaderName", 1); + } + } + if (DisplayName != null) + { + if (DisplayName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 100); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContractDetails.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContractDetails.cs new file mode 100644 index 000000000000..5f07c44b8ab4 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetContractDetails.cs @@ -0,0 +1,98 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// An API Version Set contains the common configuration for a set of API + /// Versions relating + /// + public partial class ApiVersionSetContractDetails + { + /// + /// Initializes a new instance of the ApiVersionSetContractDetails + /// class. + /// + public ApiVersionSetContractDetails() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetContractDetails + /// class. + /// + /// Identifier for existing API Version Set. Omit this + /// value to create a new Version Set. + /// Description of API Version Set. + /// An value that determines where the + /// API Version identifer will be located in a HTTP request. Possible + /// values include: 'Segment', 'Query', 'Header' + /// Name of query parameter that + /// indicates the API Version if versioningScheme is set to + /// `query`. + /// Name of HTTP header parameter that + /// indicates the API Version if versioningScheme is set to + /// `header`. + public ApiVersionSetContractDetails(string id = default(string), string description = default(string), string versioningScheme = default(string), string versionQueryName = default(string), string versionHeaderName = default(string)) + { + Id = id; + Description = description; + VersioningScheme = versioningScheme; + VersionQueryName = versionQueryName; + VersionHeaderName = versionHeaderName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets identifier for existing API Version Set. Omit this + /// value to create a new Version Set. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets description of API Version Set. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets an value that determines where the API Version + /// identifer will be located in a HTTP request. Possible values + /// include: 'Segment', 'Query', 'Header' + /// + [JsonProperty(PropertyName = "versioningScheme")] + public string VersioningScheme { get; set; } + + /// + /// Gets or sets name of query parameter that indicates the API Version + /// if versioningScheme is set to `query`. + /// + [JsonProperty(PropertyName = "versionQueryName")] + public string VersionQueryName { get; set; } + + /// + /// Gets or sets name of HTTP header parameter that indicates the API + /// Version if versioningScheme is set to `header`. + /// + [JsonProperty(PropertyName = "versionHeaderName")] + public string VersionHeaderName { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetEntityBase.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetEntityBase.cs new file mode 100644 index 000000000000..ae233adb00ad --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetEntityBase.cs @@ -0,0 +1,105 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Api Version set base parameters + /// + public partial class ApiVersionSetEntityBase + { + /// + /// Initializes a new instance of the ApiVersionSetEntityBase class. + /// + public ApiVersionSetEntityBase() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetEntityBase class. + /// + /// Description of API Version Set. + /// Name of query parameter that + /// indicates the API Version if versioningScheme is set to + /// `query`. + /// Name of HTTP header parameter that + /// indicates the API Version if versioningScheme is set to + /// `header`. + public ApiVersionSetEntityBase(string description = default(string), string versionQueryName = default(string), string versionHeaderName = default(string)) + { + Description = description; + VersionQueryName = versionQueryName; + VersionHeaderName = versionHeaderName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets description of API Version Set. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets or sets name of query parameter that indicates the API Version + /// if versioningScheme is set to `query`. + /// + [JsonProperty(PropertyName = "versionQueryName")] + public string VersionQueryName { get; set; } + + /// + /// Gets or sets name of HTTP header parameter that indicates the API + /// Version if versioningScheme is set to `header`. + /// + [JsonProperty(PropertyName = "versionHeaderName")] + public string VersionHeaderName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (VersionQueryName != null) + { + if (VersionQueryName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionQueryName", 100); + } + if (VersionQueryName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionQueryName", 1); + } + } + if (VersionHeaderName != null) + { + if (VersionHeaderName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionHeaderName", 100); + } + if (VersionHeaderName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionHeaderName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetEntityTagHeaders.cs new file mode 100644 index 000000000000..ff2c45c50941 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ApiVersionSetGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ApiVersionSetGetEntityTagHeaders + /// class. + /// + public ApiVersionSetGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiVersionSetGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetHeaders.cs new file mode 100644 index 000000000000..36a57c11b8a8 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class ApiVersionSetGetHeaders + { + /// + /// Initializes a new instance of the ApiVersionSetGetHeaders class. + /// + public ApiVersionSetGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ApiVersionSetGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetUpdateParameters.cs new file mode 100644 index 000000000000..46d670da090f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiVersionSetUpdateParameters.cs @@ -0,0 +1,140 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Parameters to update or create an Api Version Set Contract. + /// + [Rest.Serialization.JsonTransformation] + public partial class ApiVersionSetUpdateParameters + { + /// + /// Initializes a new instance of the ApiVersionSetUpdateParameters + /// class. + /// + public ApiVersionSetUpdateParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ApiVersionSetUpdateParameters + /// class. + /// + /// Description of API Version Set. + /// Name of query parameter that + /// indicates the API Version if versioningScheme is set to + /// `query`. + /// Name of HTTP header parameter that + /// indicates the API Version if versioningScheme is set to + /// `header`. + /// Name of API Version Set + /// An value that determines where the + /// API Version identifer will be located in a HTTP request. Possible + /// values include: 'Segment', 'Query', 'Header' + public ApiVersionSetUpdateParameters(string description = default(string), string versionQueryName = default(string), string versionHeaderName = default(string), string displayName = default(string), string versioningScheme = default(string)) + { + Description = description; + VersionQueryName = versionQueryName; + VersionHeaderName = versionHeaderName; + DisplayName = displayName; + VersioningScheme = versioningScheme; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets description of API Version Set. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets name of query parameter that indicates the API Version + /// if versioningScheme is set to `query`. + /// + [JsonProperty(PropertyName = "properties.versionQueryName")] + public string VersionQueryName { get; set; } + + /// + /// Gets or sets name of HTTP header parameter that indicates the API + /// Version if versioningScheme is set to `header`. + /// + [JsonProperty(PropertyName = "properties.versionHeaderName")] + public string VersionHeaderName { get; set; } + + /// + /// Gets or sets name of API Version Set + /// + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets an value that determines where the API Version + /// identifer will be located in a HTTP request. Possible values + /// include: 'Segment', 'Query', 'Header' + /// + [JsonProperty(PropertyName = "properties.versioningScheme")] + public string VersioningScheme { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (VersionQueryName != null) + { + if (VersionQueryName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionQueryName", 100); + } + if (VersionQueryName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionQueryName", 1); + } + } + if (VersionHeaderName != null) + { + if (VersionHeaderName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "VersionHeaderName", 100); + } + if (VersionHeaderName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "VersionHeaderName", 1); + } + } + if (DisplayName != null) + { + if (DisplayName.Length > 100) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 100); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApimResource.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApimResource.cs index 910158c6a3f7..f169f77eed03 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApimResource.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApimResource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class ApimResource : IResource /// public ApimResource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AsyncOperationStatus.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AsyncOperationStatus.cs index 4d07f3fe3f87..ffb2df3249df 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AsyncOperationStatus.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AsyncOperationStatus.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -33,8 +32,10 @@ public enum AsyncOperationStatus } internal static class AsyncOperationStatusEnumExtension { - internal static string ToSerializedValue(this AsyncOperationStatus? value) => - value == null ? null : ((AsyncOperationStatus)value).ToSerializedValue(); + internal static string ToSerializedValue(this AsyncOperationStatus? value) + { + return value == null ? null : ((AsyncOperationStatus)value).ToSerializedValue(); + } internal static string ToSerializedValue(this AsyncOperationStatus value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthenticationSettingsContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthenticationSettingsContract.cs index ba83c7a24217..d76ce5b38e02 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthenticationSettingsContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthenticationSettingsContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class AuthenticationSettingsContract /// public AuthenticationSettingsContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationMethod.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationMethod.cs index 63449e1714c1..13550c83e968 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationMethod.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationMethod.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -41,8 +40,10 @@ public enum AuthorizationMethod } internal static class AuthorizationMethodEnumExtension { - internal static string ToSerializedValue(this AuthorizationMethod? value) => - value == null ? null : ((AuthorizationMethod)value).ToSerializedValue(); + internal static string ToSerializedValue(this AuthorizationMethod? value) + { + return value == null ? null : ((AuthorizationMethod)value).ToSerializedValue(); + } internal static string ToSerializedValue(this AuthorizationMethod value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContract.cs index 3fe250cf0505..586432abdbbd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class AuthorizationServerContract : Resource /// public AuthorizationServerContract() { - CustomInit(); + CustomInit(); } /// @@ -88,7 +87,7 @@ public AuthorizationServerContract() /// Can be optionally specified /// when resource owner password grant type is supported by this /// authorization server. Default resource owner password. - public AuthorizationServerContract(string displayName, string clientRegistrationEndpoint, string authorizationEndpoint, IList grantTypes, string clientId, string id = default(string), string name = default(string), string type = default(string), string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string)) + public AuthorizationServerContract(string displayName, string clientRegistrationEndpoint, string authorizationEndpoint, IList grantTypes, string clientId, string id = default(string), string name = default(string), string type = default(string), string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string)) : base(id, name, type) { Description = description; @@ -137,7 +136,7 @@ public AuthorizationServerContract() /// application/x-www-form-urlencoded format. /// [JsonProperty(PropertyName = "properties.clientAuthenticationMethod")] - public IList ClientAuthenticationMethod { get; set; } + public IList ClientAuthenticationMethod { get; set; } /// /// Gets or sets additional parameters required by the token endpoint @@ -176,7 +175,7 @@ public AuthorizationServerContract() /// passed to the API. /// [JsonProperty(PropertyName = "properties.bearerTokenSendingMethods")] - public IList BearerTokenSendingMethods { get; set; } + public IList BearerTokenSendingMethods { get; set; } /// /// Gets or sets client or app secret registered with this @@ -227,7 +226,7 @@ public AuthorizationServerContract() /// to request the access token. /// [JsonProperty(PropertyName = "properties.grantTypes")] - public IList GrantTypes { get; set; } + public IList GrantTypes { get; set; } /// /// Gets or sets client or app id registered with this authorization diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContractBaseProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContractBaseProperties.cs index d38709f0ca68..b5fd7b6d54fa 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContractBaseProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerContractBaseProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -27,7 +26,7 @@ public partial class AuthorizationServerContractBaseProperties /// public AuthorizationServerContractBaseProperties() { - CustomInit(); + CustomInit(); } /// @@ -69,7 +68,7 @@ public AuthorizationServerContractBaseProperties() /// Can be optionally specified /// when resource owner password grant type is supported by this /// authorization server. Default resource owner password. - public AuthorizationServerContractBaseProperties(string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string)) + public AuthorizationServerContractBaseProperties(string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string)) { Description = description; AuthorizationMethods = authorizationMethods; @@ -112,7 +111,7 @@ public AuthorizationServerContractBaseProperties() /// application/x-www-form-urlencoded format. /// [JsonProperty(PropertyName = "clientAuthenticationMethod")] - public IList ClientAuthenticationMethod { get; set; } + public IList ClientAuthenticationMethod { get; set; } /// /// Gets or sets additional parameters required by the token endpoint @@ -151,7 +150,7 @@ public AuthorizationServerContractBaseProperties() /// passed to the API. /// [JsonProperty(PropertyName = "bearerTokenSendingMethods")] - public IList BearerTokenSendingMethods { get; set; } + public IList BearerTokenSendingMethods { get; set; } /// /// Gets or sets client or app secret registered with this diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetEntityTagHeaders.cs new file mode 100644 index 000000000000..b1bfcc460b0f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class AuthorizationServerGetEntityTagHeaders + { + /// + /// Initializes a new instance of the + /// AuthorizationServerGetEntityTagHeaders class. + /// + public AuthorizationServerGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// AuthorizationServerGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public AuthorizationServerGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetHeaders.cs index 35860143143e..051fe7b953c4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class AuthorizationServerGetHeaders /// public AuthorizationServerGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerUpdateContract.cs index 4333b839d1d7..0fb38379c3e8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerUpdateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/AuthorizationServerUpdateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class AuthorizationServerUpdateContract : Resource /// public AuthorizationServerUpdateContract() { - CustomInit(); + CustomInit(); } /// @@ -88,7 +87,7 @@ public AuthorizationServerUpdateContract() /// client uses to request the access token. /// Client or app id registered with this /// authorization server. - public AuthorizationServerUpdateContract(string id = default(string), string name = default(string), string type = default(string), string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string), string displayName = default(string), string clientRegistrationEndpoint = default(string), string authorizationEndpoint = default(string), IList grantTypes = default(IList), string clientId = default(string)) + public AuthorizationServerUpdateContract(string id = default(string), string name = default(string), string type = default(string), string description = default(string), IList authorizationMethods = default(IList), IList clientAuthenticationMethod = default(IList), IList tokenBodyParameters = default(IList), string tokenEndpoint = default(string), bool? supportState = default(bool?), string defaultScope = default(string), IList bearerTokenSendingMethods = default(IList), string clientSecret = default(string), string resourceOwnerUsername = default(string), string resourceOwnerPassword = default(string), string displayName = default(string), string clientRegistrationEndpoint = default(string), string authorizationEndpoint = default(string), IList grantTypes = default(IList), string clientId = default(string)) : base(id, name, type) { Description = description; @@ -137,7 +136,7 @@ public AuthorizationServerUpdateContract() /// application/x-www-form-urlencoded format. /// [JsonProperty(PropertyName = "properties.clientAuthenticationMethod")] - public IList ClientAuthenticationMethod { get; set; } + public IList ClientAuthenticationMethod { get; set; } /// /// Gets or sets additional parameters required by the token endpoint @@ -176,7 +175,7 @@ public AuthorizationServerUpdateContract() /// passed to the API. /// [JsonProperty(PropertyName = "properties.bearerTokenSendingMethods")] - public IList BearerTokenSendingMethods { get; set; } + public IList BearerTokenSendingMethods { get; set; } /// /// Gets or sets client or app secret registered with this @@ -227,7 +226,7 @@ public AuthorizationServerUpdateContract() /// to request the access token. /// [JsonProperty(PropertyName = "properties.grantTypes")] - public IList GrantTypes { get; set; } + public IList GrantTypes { get; set; } /// /// Gets or sets client or app id registered with this authorization diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendAuthorizationHeaderCredentials.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendAuthorizationHeaderCredentials.cs index 2a5876e6dd5e..0d3e88976f83 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendAuthorizationHeaderCredentials.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendAuthorizationHeaderCredentials.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class BackendAuthorizationHeaderCredentials /// public BackendAuthorizationHeaderCredentials() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendBaseParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendBaseParameters.cs index 0acbe3ce990c..d10de360a431 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendBaseParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendBaseParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class BackendBaseParameters /// public BackendBaseParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendContract.cs index e9d81915fe55..3662dbc92827 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class BackendContract : Resource /// public BackendContract() { - CustomInit(); + CustomInit(); } /// @@ -50,7 +49,7 @@ public BackendContract() /// Properties /// Backend Proxy Contract Properties /// Backend TLS Properties - public BackendContract(string url, BackendProtocol protocol, string id = default(string), string name = default(string), string type = default(string), string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties)) + public BackendContract(string url, string protocol, string id = default(string), string name = default(string), string type = default(string), string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties)) : base(id, name, type) { Title = title; @@ -125,7 +124,7 @@ public BackendContract() /// include: 'http', 'soap' /// [JsonProperty(PropertyName = "properties.protocol")] - public BackendProtocol Protocol { get; set; } + public string Protocol { get; set; } /// /// Validate the object. @@ -139,6 +138,10 @@ public virtual void Validate() { throw new ValidationException(ValidationRules.CannotBeNull, "Url"); } + if (Protocol == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Protocol"); + } if (Title != null) { if (Title.Length > 300) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendCredentialsContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendCredentialsContract.cs index 6ffa734f74c6..30fcc6bf3c06 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendCredentialsContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendCredentialsContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class BackendCredentialsContract /// public BackendCredentialsContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetEntityTagHeaders.cs new file mode 100644 index 000000000000..7c7547fe11a8 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class BackendGetEntityTagHeaders + { + /// + /// Initializes a new instance of the BackendGetEntityTagHeaders class. + /// + public BackendGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the BackendGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public BackendGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetHeaders.cs index aa602b2d04bf..1743665a43ba 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class BackendGetHeaders /// public BackendGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProperties.cs index a8ef97bfa039..82ad469a375a 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class BackendProperties /// public BackendProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProtocol.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProtocol.cs index 67b9a180cfc9..3f46aac25210 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProtocol.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProtocol.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,55 +6,23 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for BackendProtocol. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum BackendProtocol + public static class BackendProtocol { - [EnumMember(Value = "http")] - Http, - [EnumMember(Value = "soap")] - Soap - } - internal static class BackendProtocolEnumExtension - { - internal static string ToSerializedValue(this BackendProtocol? value) => - value == null ? null : ((BackendProtocol)value).ToSerializedValue(); - - internal static string ToSerializedValue(this BackendProtocol value) - { - switch( value ) - { - case BackendProtocol.Http: - return "http"; - case BackendProtocol.Soap: - return "soap"; - } - return null; - } - - internal static BackendProtocol? ParseBackendProtocol(this string value) - { - switch( value ) - { - case "http": - return BackendProtocol.Http; - case "soap": - return BackendProtocol.Soap; - } - return null; - } + /// + /// The Backend is a RESTful service. + /// + public const string Http = "http"; + /// + /// The Backend is a SOAP service. + /// + public const string Soap = "soap"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProxyContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProxyContract.cs index fc59b66c0eff..13338776d03e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProxyContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendProxyContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -18,7 +17,9 @@ namespace Microsoft.Azure.Management.ApiManagement.Models /// /// Details of the Backend WebProxy Server to use in the Request to /// Backend. - /// + /// /// public partial class BackendProxyContract { @@ -27,7 +28,7 @@ public partial class BackendProxyContract /// public BackendProxyContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendReconnectContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendReconnectContract.cs new file mode 100644 index 000000000000..2e9f531d1fd7 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendReconnectContract.cs @@ -0,0 +1,62 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Reconnect request parameters. + /// + [Rest.Serialization.JsonTransformation] + public partial class BackendReconnectContract : Resource + { + /// + /// Initializes a new instance of the BackendReconnectContract class. + /// + public BackendReconnectContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the BackendReconnectContract class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Duration in ISO8601 format after which + /// reconnect will be initiated. Minimum duration of the Reconect is + /// PT2M. + public BackendReconnectContract(string id = default(string), string name = default(string), string type = default(string), System.TimeSpan? after = default(System.TimeSpan?)) + : base(id, name, type) + { + After = after; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets duration in ISO8601 format after which reconnect will + /// be initiated. Minimum duration of the Reconect is PT2M. + /// + [JsonProperty(PropertyName = "properties.after")] + public System.TimeSpan? After { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendServiceFabricClusterProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendServiceFabricClusterProperties.cs index 6bebd1c2733b..2a3825bf4a40 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendServiceFabricClusterProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendServiceFabricClusterProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class BackendServiceFabricClusterProperties /// public BackendServiceFabricClusterProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendTlsProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendTlsProperties.cs index 3338bdec6f6d..c86abbe415ce 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendTlsProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendTlsProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class BackendTlsProperties /// public BackendTlsProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendUpdateParameters.cs index 5b490633354c..10414d288d8b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BackendUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,27 +6,27 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; + using Microsoft.Rest.Serialization; using Newtonsoft.Json; using System.Linq; /// - /// Parameters supplied to the Update Backend operation. + /// Backend update parameters. /// - public partial class BackendUpdateParameters : BackendBaseParameters + [Rest.Serialization.JsonTransformation] + public partial class BackendUpdateParameters { /// /// Initializes a new instance of the BackendUpdateParameters class. /// public BackendUpdateParameters() { - CustomInit(); + CustomInit(); } /// @@ -44,9 +45,15 @@ public BackendUpdateParameters() /// Runtime Url of the Backend. /// Backend communication protocol. Possible /// values include: 'http', 'soap' - public BackendUpdateParameters(string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties), string url = default(string), BackendProtocol? protocol = default(BackendProtocol?)) - : base(title, description, resourceId, properties, credentials, proxy, tls) + public BackendUpdateParameters(string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties), string url = default(string), string protocol = default(string)) { + Title = title; + Description = description; + ResourceId = resourceId; + Properties = properties; + Credentials = credentials; + Proxy = proxy; + Tls = tls; Url = url; Protocol = protocol; CustomInit(); @@ -57,18 +64,62 @@ public BackendUpdateParameters() /// partial void CustomInit(); + /// + /// Gets or sets backend Title. + /// + [JsonProperty(PropertyName = "properties.title")] + public string Title { get; set; } + + /// + /// Gets or sets backend Description. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets management Uri of the Resource in External System. + /// This url can be the Arm Resource Id of Logic Apps, Function Apps or + /// Api Apps. + /// + [JsonProperty(PropertyName = "properties.resourceId")] + public string ResourceId { get; set; } + + /// + /// Gets or sets backend Properties contract + /// + [JsonProperty(PropertyName = "properties.properties")] + public BackendProperties Properties { get; set; } + + /// + /// Gets or sets backend Credentials Contract Properties + /// + [JsonProperty(PropertyName = "properties.credentials")] + public BackendCredentialsContract Credentials { get; set; } + + /// + /// Gets or sets backend Proxy Contract Properties + /// + [JsonProperty(PropertyName = "properties.proxy")] + public BackendProxyContract Proxy { get; set; } + + /// + /// Gets or sets backend TLS Properties + /// + [JsonProperty(PropertyName = "properties.tls")] + public BackendTlsProperties Tls { get; set; } + /// /// Gets or sets runtime Url of the Backend. /// - [JsonProperty(PropertyName = "url")] + [JsonProperty(PropertyName = "properties.url")] public string Url { get; set; } /// /// Gets or sets backend communication protocol. Possible values /// include: 'http', 'soap' /// - [JsonProperty(PropertyName = "protocol")] - public BackendProtocol? Protocol { get; set; } + [JsonProperty(PropertyName = "properties.protocol")] + public string Protocol { get; set; } /// /// Validate the object. @@ -76,9 +127,53 @@ public BackendUpdateParameters() /// /// Thrown if validation fails /// - public override void Validate() + public virtual void Validate() { - base.Validate(); + if (Title != null) + { + if (Title.Length > 300) + { + throw new ValidationException(ValidationRules.MaxLength, "Title", 300); + } + if (Title.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Title", 1); + } + } + if (Description != null) + { + if (Description.Length > 2000) + { + throw new ValidationException(ValidationRules.MaxLength, "Description", 2000); + } + if (Description.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Description", 1); + } + } + if (ResourceId != null) + { + if (ResourceId.Length > 2000) + { + throw new ValidationException(ValidationRules.MaxLength, "ResourceId", 2000); + } + if (ResourceId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "ResourceId", 1); + } + } + if (Properties != null) + { + Properties.Validate(); + } + if (Credentials != null) + { + Credentials.Validate(); + } + if (Proxy != null) + { + Proxy.Validate(); + } if (Url != null) { if (Url.Length > 2000) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BearerTokenSendingMethod.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BearerTokenSendingMethod.cs index 3b8ddaf4348b..ed17c9a2f536 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BearerTokenSendingMethod.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/BearerTokenSendingMethod.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,55 +6,17 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for BearerTokenSendingMethod. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum BearerTokenSendingMethod + public static class BearerTokenSendingMethod { - [EnumMember(Value = "authorizationHeader")] - AuthorizationHeader, - [EnumMember(Value = "query")] - Query - } - internal static class BearerTokenSendingMethodEnumExtension - { - internal static string ToSerializedValue(this BearerTokenSendingMethod? value) => - value == null ? null : ((BearerTokenSendingMethod)value).ToSerializedValue(); - - internal static string ToSerializedValue(this BearerTokenSendingMethod value) - { - switch( value ) - { - case BearerTokenSendingMethod.AuthorizationHeader: - return "authorizationHeader"; - case BearerTokenSendingMethod.Query: - return "query"; - } - return null; - } - - internal static BearerTokenSendingMethod? ParseBearerTokenSendingMethod(this string value) - { - switch( value ) - { - case "authorizationHeader": - return BearerTokenSendingMethod.AuthorizationHeader; - case "query": - return BearerTokenSendingMethod.Query; - } - return null; - } + public const string AuthorizationHeader = "authorizationHeader"; + public const string Query = "query"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateConfiguration.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateConfiguration.cs new file mode 100644 index 000000000000..1ff5342123d4 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateConfiguration.cs @@ -0,0 +1,102 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Certificate configuration which consist of non-trusted intermediates + /// and root certificates. + /// + public partial class CertificateConfiguration + { + /// + /// Initializes a new instance of the CertificateConfiguration class. + /// + public CertificateConfiguration() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CertificateConfiguration class. + /// + /// The + /// System.Security.Cryptography.x509certificates.Storename certificate + /// store location. Only Root and CertificateAuthority are valid + /// locations. Possible values include: 'CertificateAuthority', + /// 'Root' + /// Base64 Encoded + /// certificate. + /// Certificate Password. + /// Certificate information. + public CertificateConfiguration(string storeName, string encodedCertificate = default(string), string certificatePassword = default(string), CertificateInformation certificate = default(CertificateInformation)) + { + EncodedCertificate = encodedCertificate; + CertificatePassword = certificatePassword; + StoreName = storeName; + Certificate = certificate; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets base64 Encoded certificate. + /// + [JsonProperty(PropertyName = "encodedCertificate")] + public string EncodedCertificate { get; set; } + + /// + /// Gets or sets certificate Password. + /// + [JsonProperty(PropertyName = "certificatePassword")] + public string CertificatePassword { get; set; } + + /// + /// Gets or sets the + /// System.Security.Cryptography.x509certificates.Storename certificate + /// store location. Only Root and CertificateAuthority are valid + /// locations. Possible values include: 'CertificateAuthority', 'Root' + /// + [JsonProperty(PropertyName = "storeName")] + public string StoreName { get; set; } + + /// + /// Gets certificate information. + /// + [JsonProperty(PropertyName = "certificate")] + public CertificateInformation Certificate { get; private set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (StoreName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "StoreName"); + } + if (Certificate != null) + { + Certificate.Validate(); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateContract.cs index 345954dbaf96..979632bc6ee8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class CertificateContract : Resource /// public CertificateContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateCreateOrUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateCreateOrUpdateParameters.cs index 49a87b4190ef..5d98108a6484 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateCreateOrUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateCreateOrUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class CertificateCreateOrUpdateParameters /// public CertificateCreateOrUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetEntityTagHeaders.cs new file mode 100644 index 000000000000..6f7ed46c87a4 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class CertificateGetEntityTagHeaders + { + /// + /// Initializes a new instance of the CertificateGetEntityTagHeaders + /// class. + /// + public CertificateGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the CertificateGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public CertificateGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetHeaders.cs index 1cd70769bbc5..9643630b4e8e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class CertificateGetHeaders /// public CertificateGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateInformation.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateInformation.cs index 3bfbc913b701..44bb6d9aeeb2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateInformation.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/CertificateInformation.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class CertificateInformation /// public CertificateInformation() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ClientAuthenticationMethod.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ClientAuthenticationMethod.cs index b800c3420cd5..e1fa0d1d87ea 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ClientAuthenticationMethod.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ClientAuthenticationMethod.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,55 +6,23 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for ClientAuthenticationMethod. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum ClientAuthenticationMethod + public static class ClientAuthenticationMethod { - [EnumMember(Value = "Basic")] - Basic, - [EnumMember(Value = "Body")] - Body - } - internal static class ClientAuthenticationMethodEnumExtension - { - internal static string ToSerializedValue(this ClientAuthenticationMethod? value) => - value == null ? null : ((ClientAuthenticationMethod)value).ToSerializedValue(); - - internal static string ToSerializedValue(this ClientAuthenticationMethod value) - { - switch( value ) - { - case ClientAuthenticationMethod.Basic: - return "Basic"; - case ClientAuthenticationMethod.Body: - return "Body"; - } - return null; - } - - internal static ClientAuthenticationMethod? ParseClientAuthenticationMethod(this string value) - { - switch( value ) - { - case "Basic": - return ClientAuthenticationMethod.Basic; - case "Body": - return ClientAuthenticationMethod.Body; - } - return null; - } + /// + /// Basic Client Authentication method. + /// + public const string Basic = "Basic"; + /// + /// Body based Authentication method. + /// + public const string Body = "Body"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Confirmation.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Confirmation.cs new file mode 100644 index 000000000000..4ea0d9b0826b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Confirmation.cs @@ -0,0 +1,30 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for Confirmation. + /// + public static class Confirmation + { + /// + /// Send an e-mail to the user confirming they have successfully signed + /// up. + /// + public const string Signup = "signup"; + /// + /// Send an e-mail inviting the user to sign-up and complete + /// registration. + /// + public const string Invite = "invite"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusContract.cs index e2086e7b0344..eeeca7a189e9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ConnectivityStatusContract /// public ConnectivityStatusContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusType.cs index 6b1648d1c788..e805b5986683 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ConnectivityStatusType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; /// /// Defines values for ConnectivityStatusType. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ContentFormat.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ContentFormat.cs index 3b45ccdd56a2..9610f5808635 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ContentFormat.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ContentFormat.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,79 +6,42 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for ContentFormat. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum ContentFormat + public static class ContentFormat { - [EnumMember(Value = "wadl-xml")] - WadlXml, - [EnumMember(Value = "wadl-link-json")] - WadlLinkJson, - [EnumMember(Value = "swagger-json")] - SwaggerJson, - [EnumMember(Value = "swagger-link-json")] - SwaggerLinkJson, - [EnumMember(Value = "wsdl")] - Wsdl, - [EnumMember(Value = "wsdl-link")] - WsdlLink - } - internal static class ContentFormatEnumExtension - { - internal static string ToSerializedValue(this ContentFormat? value) => - value == null ? null : ((ContentFormat)value).ToSerializedValue(); - - internal static string ToSerializedValue(this ContentFormat value) - { - switch( value ) - { - case ContentFormat.WadlXml: - return "wadl-xml"; - case ContentFormat.WadlLinkJson: - return "wadl-link-json"; - case ContentFormat.SwaggerJson: - return "swagger-json"; - case ContentFormat.SwaggerLinkJson: - return "swagger-link-json"; - case ContentFormat.Wsdl: - return "wsdl"; - case ContentFormat.WsdlLink: - return "wsdl-link"; - } - return null; - } - - internal static ContentFormat? ParseContentFormat(this string value) - { - switch( value ) - { - case "wadl-xml": - return ContentFormat.WadlXml; - case "wadl-link-json": - return ContentFormat.WadlLinkJson; - case "swagger-json": - return ContentFormat.SwaggerJson; - case "swagger-link-json": - return ContentFormat.SwaggerLinkJson; - case "wsdl": - return ContentFormat.Wsdl; - case "wsdl-link": - return ContentFormat.WsdlLink; - } - return null; - } + /// + /// The contents are inline and Content type is a WADL document. + /// + public const string WadlXml = "wadl-xml"; + /// + /// The WADL document is hosted on a publicly accessible internet + /// address. + /// + public const string WadlLinkJson = "wadl-link-json"; + /// + /// The contents are inline and Content Type is a OpenApi 2.0 Document. + /// + public const string SwaggerJson = "swagger-json"; + /// + /// The Open Api 2.0 document is hosted on a publicly accessible + /// internet address. + /// + public const string SwaggerLinkJson = "swagger-link-json"; + /// + /// The contents are inline and the document is a WSDL/Soap document. + /// + public const string Wsdl = "wsdl"; + /// + /// The WSDL document is hosted on a publicly accessible internet + /// address. + /// + public const string WsdlLink = "wsdl-link"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetEntityTagHeaders.cs new file mode 100644 index 000000000000..aeacc849ecc7 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class DelegationSettingsGetEntityTagHeaders + { + /// + /// Initializes a new instance of the + /// DelegationSettingsGetEntityTagHeaders class. + /// + public DelegationSettingsGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// DelegationSettingsGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public DelegationSettingsGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetHeaders.cs new file mode 100644 index 000000000000..1c0074356343 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DelegationSettingsGetHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class DelegationSettingsGetHeaders + { + /// + /// Initializes a new instance of the DelegationSettingsGetHeaders + /// class. + /// + public DelegationSettingsGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DelegationSettingsGetHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public DelegationSettingsGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DeployConfigurationParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DeployConfigurationParameters.cs index a023a6dc3d30..ef4460c6617e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DeployConfigurationParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DeployConfigurationParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class DeployConfigurationParameters /// public DeployConfigurationParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticContract.cs new file mode 100644 index 000000000000..e18dc7176900 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticContract.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Diagnostic details. + /// + [Rest.Serialization.JsonTransformation] + public partial class DiagnosticContract : Resource + { + /// + /// Initializes a new instance of the DiagnosticContract class. + /// + public DiagnosticContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DiagnosticContract class. + /// + /// Indicates whether a diagnostic should receive + /// data or not. + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + public DiagnosticContract(bool enabled, string id = default(string), string name = default(string), string type = default(string)) + : base(id, name, type) + { + Enabled = enabled; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets indicates whether a diagnostic should receive data or + /// not. + /// + [JsonProperty(PropertyName = "properties.enabled")] + public bool Enabled { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + //Nothing to validate + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetEntityTagHeaders.cs new file mode 100644 index 000000000000..d57e83b5f34b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class DiagnosticGetEntityTagHeaders + { + /// + /// Initializes a new instance of the DiagnosticGetEntityTagHeaders + /// class. + /// + public DiagnosticGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DiagnosticGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public DiagnosticGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetHeaders.cs new file mode 100644 index 000000000000..5dd938aaab02 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/DiagnosticGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class DiagnosticGetHeaders + { + /// + /// Initializes a new instance of the DiagnosticGetHeaders class. + /// + public DiagnosticGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the DiagnosticGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public DiagnosticGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateContract.cs index 0cc1255a11f5..6ba6bb8c0a51 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class EmailTemplateContract : Resource /// public EmailTemplateContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetEntityTagHeaders.cs new file mode 100644 index 000000000000..529f1eebfc0c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class EmailTemplateGetEntityTagHeaders + { + /// + /// Initializes a new instance of the EmailTemplateGetEntityTagHeaders + /// class. + /// + public EmailTemplateGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EmailTemplateGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public EmailTemplateGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetHeaders.cs index 47f27ffd092a..ca4f813d5b20 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class EmailTemplateGetHeaders /// public EmailTemplateGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateParametersContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateParametersContractProperties.cs index 6465fb5fe040..c306d22bcb58 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateParametersContractProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateParametersContractProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class EmailTemplateParametersContractProperties /// public EmailTemplateParametersContractProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateUpdateParameters.cs index 170084c4f402..f9c6390994ef 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/EmailTemplateUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class EmailTemplateUpdateParameters /// public EmailTemplateUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorFieldContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorFieldContract.cs index 9b12af9897f9..2970a42cbdea 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorFieldContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorFieldContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ErrorFieldContract /// public ErrorFieldContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponse.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponse.cs index 34c55c82ccce..be8e8110cea2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponse.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponse.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class ErrorResponse /// public ErrorResponse() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponseException.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponseException.cs index be658cb5873a..a55af9db2cac 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponseException.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ErrorResponseException.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,19 +6,17 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; /// /// Exception thrown for an invalid response with ErrorResponse /// information. /// - public class ErrorResponseException : RestException + public partial class ErrorResponseException : RestException { /// /// Gets information about the associated HTTP request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ExportFormat.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ExportFormat.cs new file mode 100644 index 000000000000..103977b89966 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ExportFormat.cs @@ -0,0 +1,34 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for ExportFormat. + /// + public static class ExportFormat + { + /// + /// Export the Api Definition in OpenApi Specification 2.0 format to + /// the Storage Blob. + /// + public const string Swagger = "swagger-link"; + /// + /// Export the Api Definition in WSDL Schema to Storage Blob. This is + /// only supported for APIs of Type `soap` + /// + public const string Wsdl = "wsdl-link"; + /// + /// Export the Api Definition in WADL Schema to Storage Blob. + /// + public const string Wadl = "wadl-link"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GenerateSsoUrlResult.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GenerateSsoUrlResult.cs index 8598e1d87298..56285b46b4f1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GenerateSsoUrlResult.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GenerateSsoUrlResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class GenerateSsoUrlResult /// public GenerateSsoUrlResult() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GrantType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GrantType.cs index 4d4d37ceb4d7..b152713de588 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GrantType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GrantType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,67 +6,35 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for GrantType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum GrantType + public static class GrantType { - [EnumMember(Value = "authorizationCode")] - AuthorizationCode, - [EnumMember(Value = "implicit")] - Implicit, - [EnumMember(Value = "resourceOwnerPassword")] - ResourceOwnerPassword, - [EnumMember(Value = "clientCredentials")] - ClientCredentials - } - internal static class GrantTypeEnumExtension - { - internal static string ToSerializedValue(this GrantType? value) => - value == null ? null : ((GrantType)value).ToSerializedValue(); - - internal static string ToSerializedValue(this GrantType value) - { - switch( value ) - { - case GrantType.AuthorizationCode: - return "authorizationCode"; - case GrantType.Implicit: - return "implicit"; - case GrantType.ResourceOwnerPassword: - return "resourceOwnerPassword"; - case GrantType.ClientCredentials: - return "clientCredentials"; - } - return null; - } - - internal static GrantType? ParseGrantType(this string value) - { - switch( value ) - { - case "authorizationCode": - return GrantType.AuthorizationCode; - case "implicit": - return GrantType.Implicit; - case "resourceOwnerPassword": - return GrantType.ResourceOwnerPassword; - case "clientCredentials": - return GrantType.ClientCredentials; - } - return null; - } + /// + /// Authorization Code Grant flow as described + /// https://tools.ietf.org/html/rfc6749#section-4.1. + /// + public const string AuthorizationCode = "authorizationCode"; + /// + /// Implicit Code Grant flow as described + /// https://tools.ietf.org/html/rfc6749#section-4.2. + /// + public const string Implicit = "implicit"; + /// + /// Resource Owner Password Grant flow as described + /// https://tools.ietf.org/html/rfc6749#section-4.3. + /// + public const string ResourceOwnerPassword = "resourceOwnerPassword"; + /// + /// Client Credentials Grant flow as described + /// https://tools.ietf.org/html/rfc6749#section-4.4. + /// + public const string ClientCredentials = "clientCredentials"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContract.cs index ca1b5e3cb0bf..a11cca9d8b1d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class GroupContract : Resource /// public GroupContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContractProperties.cs new file mode 100644 index 000000000000..4345de152d30 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupContractProperties.cs @@ -0,0 +1,129 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Group contract Properties. + /// + public partial class GroupContractProperties + { + /// + /// Initializes a new instance of the GroupContractProperties class. + /// + public GroupContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupContractProperties class. + /// + /// Group name. + /// Group description. Can contain HTML + /// formatting tags. + /// true if the group is one of the three system + /// groups (Administrators, Developers, or Guests); otherwise + /// false. + /// Group type. Possible values include: 'custom', + /// 'system', 'external' + /// For external groups, this property + /// contains the id of the group from the external identity provider, + /// e.g. for Azure Active Directory + /// aad://<tenant>.onmicrosoft.com/groups/<group object + /// id>; otherwise the value is null. + public GroupContractProperties(string displayName, string description = default(string), bool? builtIn = default(bool?), GroupType? type = default(GroupType?), string externalId = default(string)) + { + DisplayName = displayName; + Description = description; + BuiltIn = builtIn; + Type = type; + ExternalId = externalId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets group name. + /// + [JsonProperty(PropertyName = "displayName")] + public string DisplayName { get; set; } + + /// + /// Gets or sets group description. Can contain HTML formatting tags. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; set; } + + /// + /// Gets true if the group is one of the three system groups + /// (Administrators, Developers, or Guests); otherwise false. + /// + [JsonProperty(PropertyName = "builtIn")] + public bool? BuiltIn { get; private set; } + + /// + /// Gets or sets group type. Possible values include: 'custom', + /// 'system', 'external' + /// + [JsonProperty(PropertyName = "type")] + public GroupType? Type { get; set; } + + /// + /// Gets or sets for external groups, this property contains the id of + /// the group from the external identity provider, e.g. for Azure + /// Active Directory + /// aad://&lt;tenant&gt;.onmicrosoft.com/groups/&lt;group + /// object id&gt;; otherwise the value is null. + /// + [JsonProperty(PropertyName = "externalId")] + public string ExternalId { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DisplayName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DisplayName"); + } + if (DisplayName != null) + { + if (DisplayName.Length > 300) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 300); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + if (Description != null) + { + if (Description.Length > 1000) + { + throw new ValidationException(ValidationRules.MaxLength, "Description", 1000); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupCreateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupCreateParameters.cs index 40be70006540..97e2bf0b8ee9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupCreateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupCreateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class GroupCreateParameters /// public GroupCreateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetEntityTagHeaders.cs new file mode 100644 index 000000000000..7edefcea947d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class GroupGetEntityTagHeaders + { + /// + /// Initializes a new instance of the GroupGetEntityTagHeaders class. + /// + public GroupGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the GroupGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public GroupGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetHeaders.cs index 924341b1b740..8db99402a6f3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class GroupGetHeaders /// public GroupGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupType.cs index f5d6446401ae..7c4e28283188 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -31,8 +30,10 @@ public enum GroupType } internal static class GroupTypeEnumExtension { - internal static string ToSerializedValue(this GroupType? value) => - value == null ? null : ((GroupType)value).ToSerializedValue(); + internal static string ToSerializedValue(this GroupType? value) + { + return value == null ? null : ((GroupType)value).ToSerializedValue(); + } internal static string ToSerializedValue(this GroupType value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupUpdateParameters.cs index 9bfac592e925..f65c93a72c01 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/GroupUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class GroupUpdateParameters /// public GroupUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfiguration.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfiguration.cs index f711a1f0c461..76435452d27c 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfiguration.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfiguration.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class HostnameConfiguration /// public HostnameConfiguration() { - CustomInit(); + CustomInit(); } /// @@ -35,19 +34,33 @@ public HostnameConfiguration() /// 'Portal', 'Management', 'Scm' /// Hostname to configure on the Api Management /// service. + /// Url to the KeyVault Secret containing the + /// Ssl Certificate. If absolute Url containing version is provided, + /// auto-update of ssl certificate will not work. This requires Api + /// Management service to be configured with MSI. The secret should be + /// of type *application/x-pkcs12* /// Base64 Encoded /// certificate. /// Certificate Password. + /// Specify true to setup the + /// certificate associated with this Hostname as the Default SSL + /// Certificate. If a client does not send the SNI header, then this + /// will be the certificate that will be challenged. The property is + /// useful if a service has multiple custom hostname enabled and it + /// needs to decide on the default ssl certificate. The setting only + /// applied to Proxy Hostname Type. /// Specify true to always /// negotiate client certificate on the hostname. Default Value is /// false. /// Certificate information. - public HostnameConfiguration(HostnameType type, string hostName, string encodedCertificate = default(string), string certificatePassword = default(string), bool? negotiateClientCertificate = default(bool?), CertificateInformation certificate = default(CertificateInformation)) + public HostnameConfiguration(HostnameType type, string hostName, string keyVaultId = default(string), string encodedCertificate = default(string), string certificatePassword = default(string), bool? defaultSslBinding = default(bool?), bool? negotiateClientCertificate = default(bool?), CertificateInformation certificate = default(CertificateInformation)) { Type = type; HostName = hostName; + KeyVaultId = keyVaultId; EncodedCertificate = encodedCertificate; CertificatePassword = certificatePassword; + DefaultSslBinding = defaultSslBinding; NegotiateClientCertificate = negotiateClientCertificate; Certificate = certificate; CustomInit(); @@ -71,6 +84,16 @@ public HostnameConfiguration() [JsonProperty(PropertyName = "hostName")] public string HostName { get; set; } + /// + /// Gets or sets url to the KeyVault Secret containing the Ssl + /// Certificate. If absolute Url containing version is provided, + /// auto-update of ssl certificate will not work. This requires Api + /// Management service to be configured with MSI. The secret should be + /// of type *application/x-pkcs12* + /// + [JsonProperty(PropertyName = "keyVaultId")] + public string KeyVaultId { get; set; } + /// /// Gets or sets base64 Encoded certificate. /// @@ -83,6 +106,17 @@ public HostnameConfiguration() [JsonProperty(PropertyName = "certificatePassword")] public string CertificatePassword { get; set; } + /// + /// Gets or sets specify true to setup the certificate associated with + /// this Hostname as the Default SSL Certificate. If a client does not + /// send the SNI header, then this will be the certificate that will be + /// challenged. The property is useful if a service has multiple custom + /// hostname enabled and it needs to decide on the default ssl + /// certificate. The setting only applied to Proxy Hostname Type. + /// + [JsonProperty(PropertyName = "defaultSslBinding")] + public bool? DefaultSslBinding { get; set; } + /// /// Gets or sets specify true to always negotiate client certificate on /// the hostname. Default Value is false. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfigurationOld.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfigurationOld.cs new file mode 100644 index 000000000000..911c30c8c86b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameConfigurationOld.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Custom hostname configuration. + /// + public partial class HostnameConfigurationOld + { + /// + /// Initializes a new instance of the HostnameConfigurationOld class. + /// + public HostnameConfigurationOld() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the HostnameConfigurationOld class. + /// + /// Hostname type. Possible values include: 'Proxy', + /// 'Portal', 'Management', 'Scm' + /// Hostname to configure. + /// Certificate information. + public HostnameConfigurationOld(HostnameType type, string hostname, CertificateInformation certificate) + { + Type = type; + Hostname = hostname; + Certificate = certificate; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets hostname type. Possible values include: 'Proxy', + /// 'Portal', 'Management', 'Scm' + /// + [JsonProperty(PropertyName = "type")] + public HostnameType Type { get; set; } + + /// + /// Gets or sets hostname to configure. + /// + [JsonProperty(PropertyName = "hostname")] + public string Hostname { get; set; } + + /// + /// Gets or sets certificate information. + /// + [JsonProperty(PropertyName = "certificate")] + public CertificateInformation Certificate { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Hostname == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Hostname"); + } + if (Certificate == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Certificate"); + } + if (Certificate != null) + { + Certificate.Validate(); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameType.cs index 8da3aa034d28..be79442e129a 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/HostnameType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -33,8 +32,10 @@ public enum HostnameType } internal static class HostnameTypeEnumExtension { - internal static string ToSerializedValue(this HostnameType? value) => - value == null ? null : ((HostnameType)value).ToSerializedValue(); + internal static string ToSerializedValue(this HostnameType? value) + { + return value == null ? null : ((HostnameType)value).ToSerializedValue(); + } internal static string ToSerializedValue(this HostnameType value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderBaseParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderBaseParameters.cs index e53bb3eb63eb..7423c348c1fd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderBaseParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderBaseParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class IdentityProviderBaseParameters /// public IdentityProviderBaseParameters() { - CustomInit(); + CustomInit(); } /// @@ -48,7 +47,7 @@ public IdentityProviderBaseParameters() /// Only applies to AAD B2C Identity Provider. /// Password Reset Policy Name. /// Only applies to AAD B2C Identity Provider. - public IdentityProviderBaseParameters(IdentityProviderType? type = default(IdentityProviderType?), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string)) + public IdentityProviderBaseParameters(string type = default(string), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string)) { Type = type; AllowedTenants = allowedTenants; @@ -70,7 +69,7 @@ public IdentityProviderBaseParameters() /// 'aadB2C' /// [JsonProperty(PropertyName = "type")] - public IdentityProviderType? Type { get; set; } + public string Type { get; set; } /// /// Gets or sets list of Allowed Tenants when configuring Azure Active diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderContract.cs index 28e16add3e4a..6e75dcc02106 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class IdentityProviderContract : Resource /// public IdentityProviderContract() { - CustomInit(); + CustomInit(); } /// @@ -59,7 +58,7 @@ public IdentityProviderContract() /// Only applies to AAD B2C Identity Provider. /// Password Reset Policy Name. /// Only applies to AAD B2C Identity Provider. - public IdentityProviderContract(string clientId, string clientSecret, string id = default(string), string name = default(string), string type = default(string), IdentityProviderType? identityProviderContractType = default(IdentityProviderType?), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string)) + public IdentityProviderContract(string clientId, string clientSecret, string id = default(string), string name = default(string), string type = default(string), string identityProviderContractType = default(string), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string)) : base(id, name, type) { IdentityProviderContractType = identityProviderContractType; @@ -84,7 +83,7 @@ public IdentityProviderContract() /// 'aadB2C' /// [JsonProperty(PropertyName = "properties.type")] - public IdentityProviderType? IdentityProviderContractType { get; set; } + public string IdentityProviderContractType { get; set; } /// /// Gets or sets list of Allowed Tenants when configuring Azure Active diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetEntityTagHeaders.cs new file mode 100644 index 000000000000..5b17deae5dee --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class IdentityProviderGetEntityTagHeaders + { + /// + /// Initializes a new instance of the + /// IdentityProviderGetEntityTagHeaders class. + /// + public IdentityProviderGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// IdentityProviderGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public IdentityProviderGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetHeaders.cs index 971058a9e83d..2bdd6f42df06 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class IdentityProviderGetHeaders /// public IdentityProviderGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderType.cs index 1e681363ef34..2e6694519f7d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,79 +6,39 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for IdentityProviderType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum IdentityProviderType + public static class IdentityProviderType { - [EnumMember(Value = "facebook")] - Facebook, - [EnumMember(Value = "google")] - Google, - [EnumMember(Value = "microsoft")] - Microsoft, - [EnumMember(Value = "twitter")] - Twitter, - [EnumMember(Value = "aad")] - Aad, - [EnumMember(Value = "aadB2C")] - AadB2C - } - internal static class IdentityProviderTypeEnumExtension - { - internal static string ToSerializedValue(this IdentityProviderType? value) => - value == null ? null : ((IdentityProviderType)value).ToSerializedValue(); - - internal static string ToSerializedValue(this IdentityProviderType value) - { - switch( value ) - { - case IdentityProviderType.Facebook: - return "facebook"; - case IdentityProviderType.Google: - return "google"; - case IdentityProviderType.Microsoft: - return "microsoft"; - case IdentityProviderType.Twitter: - return "twitter"; - case IdentityProviderType.Aad: - return "aad"; - case IdentityProviderType.AadB2C: - return "aadB2C"; - } - return null; - } - - internal static IdentityProviderType? ParseIdentityProviderType(this string value) - { - switch( value ) - { - case "facebook": - return IdentityProviderType.Facebook; - case "google": - return IdentityProviderType.Google; - case "microsoft": - return IdentityProviderType.Microsoft; - case "twitter": - return IdentityProviderType.Twitter; - case "aad": - return IdentityProviderType.Aad; - case "aadB2C": - return IdentityProviderType.AadB2C; - } - return null; - } + /// + /// Facebook as Identity provider. + /// + public const string Facebook = "facebook"; + /// + /// Google as Identity provider. + /// + public const string Google = "google"; + /// + /// Microsoft Live as Identity provider. + /// + public const string Microsoft = "microsoft"; + /// + /// Twitter as Identity provider. + /// + public const string Twitter = "twitter"; + /// + /// Azure Active Directory as Identity provider. + /// + public const string Aad = "aad"; + /// + /// Azure Active Directory B2C as Identity provider. + /// + public const string AadB2C = "aadB2C"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderUpdateParameters.cs index 6d16555e6688..8967d5016e1c 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -30,7 +29,7 @@ public partial class IdentityProviderUpdateParameters /// public IdentityProviderUpdateParameters() { - CustomInit(); + CustomInit(); } /// @@ -57,7 +56,7 @@ public IdentityProviderUpdateParameters() /// external Identity Provider, used to authenticate login request. For /// example, it is App Secret for Facebook login, API Key for Google /// login, Public Key for Microsoft. - public IdentityProviderUpdateParameters(IdentityProviderType? type = default(IdentityProviderType?), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string), string clientId = default(string), string clientSecret = default(string)) + public IdentityProviderUpdateParameters(string type = default(string), IList allowedTenants = default(IList), string signupPolicyName = default(string), string signinPolicyName = default(string), string profileEditingPolicyName = default(string), string passwordResetPolicyName = default(string), string clientId = default(string), string clientSecret = default(string)) { Type = type; AllowedTenants = allowedTenants; @@ -81,7 +80,7 @@ public IdentityProviderUpdateParameters() /// 'aadB2C' /// [JsonProperty(PropertyName = "properties.type")] - public IdentityProviderType? Type { get; set; } + public string Type { get; set; } /// /// Gets or sets list of Allowed Tenants when configuring Azure Active diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/KeyType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/KeyType.cs index dc3951d58997..4950d8a73d67 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/KeyType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/KeyType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -29,8 +28,10 @@ public enum KeyType } internal static class KeyTypeEnumExtension { - internal static string ToSerializedValue(this KeyType? value) => - value == null ? null : ((KeyType)value).ToSerializedValue(); + internal static string ToSerializedValue(this KeyType? value) + { + return value == null ? null : ((KeyType)value).ToSerializedValue(); + } internal static string ToSerializedValue(this KeyType value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerContract.cs index 2456e61e03a4..3ed644651523 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,14 +28,17 @@ public partial class LoggerContract : Resource /// public LoggerContract() { - CustomInit(); + CustomInit(); } /// /// Initializes a new instance of the LoggerContract class. /// + /// Logger type. Possible values include: + /// 'azureEventHub', 'applicationInsights' /// The name and SendRule connection string - /// of the event hub. + /// of the event hub for azureEventHub logger. + /// Instrumentation key for applicationInsights logger. /// Resource ID. /// Resource name. /// Resource type for API Management @@ -44,27 +46,28 @@ public LoggerContract() /// Logger description. /// Whether records are buffered in the logger /// before publishing. Default is assumed to be true. - public LoggerContract(IDictionary credentials, string id = default(string), string name = default(string), string type = default(string), string description = default(string), bool? isBuffered = default(bool?)) + public LoggerContract(string loggerType, IDictionary credentials, string id = default(string), string name = default(string), string type = default(string), string description = default(string), bool? isBuffered = default(bool?)) : base(id, name, type) { + LoggerType = loggerType; Description = description; Credentials = credentials; IsBuffered = isBuffered; CustomInit(); } - /// - /// Static constructor for LoggerContract class. - /// - static LoggerContract() - { - LoggerType = "azureEventHub"; - } /// /// An initialization method that performs custom operations like setting defaults /// partial void CustomInit(); + /// + /// Gets or sets logger type. Possible values include: 'azureEventHub', + /// 'applicationInsights' + /// + [JsonProperty(PropertyName = "properties.loggerType")] + public string LoggerType { get; set; } + /// /// Gets or sets logger description. /// @@ -73,7 +76,8 @@ static LoggerContract() /// /// Gets or sets the name and SendRule connection string of the event - /// hub. + /// hub for azureEventHub logger. + /// Instrumentation key for applicationInsights logger. /// [JsonProperty(PropertyName = "properties.credentials")] public IDictionary Credentials { get; set; } @@ -85,12 +89,6 @@ static LoggerContract() [JsonProperty(PropertyName = "properties.isBuffered")] public bool? IsBuffered { get; set; } - /// - /// Logger type. - /// - [JsonProperty(PropertyName = "properties.loggerType")] - public static string LoggerType { get; private set; } - /// /// Validate the object. /// @@ -99,6 +97,10 @@ static LoggerContract() /// public virtual void Validate() { + if (LoggerType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "LoggerType"); + } if (Credentials == null) { throw new ValidationException(ValidationRules.CannotBeNull, "Credentials"); diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetEntityTagHeaders.cs new file mode 100644 index 000000000000..205140eded29 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class LoggerGetEntityTagHeaders + { + /// + /// Initializes a new instance of the LoggerGetEntityTagHeaders class. + /// + public LoggerGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the LoggerGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public LoggerGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetHeaders.cs index 72d9689546d9..e769b9c6c92d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class LoggerGetHeaders /// public LoggerGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerType.cs index 7e59bddd5652..9208818ea38e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,49 +6,23 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for LoggerType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum LoggerType + public static class LoggerType { - [EnumMember(Value = "azureEventHub")] - AzureEventHub - } - internal static class LoggerTypeEnumExtension - { - internal static string ToSerializedValue(this LoggerType? value) => - value == null ? null : ((LoggerType)value).ToSerializedValue(); - - internal static string ToSerializedValue(this LoggerType value) - { - switch( value ) - { - case LoggerType.AzureEventHub: - return "azureEventHub"; - } - return null; - } - - internal static LoggerType? ParseLoggerType(this string value) - { - switch( value ) - { - case "azureEventHub": - return LoggerType.AzureEventHub; - } - return null; - } + /// + /// Azure Event Hub as log destination. + /// + public const string AzureEventHub = "azureEventHub"; + /// + /// Azure Application Insights as log destination. + /// + public const string ApplicationInsights = "applicationInsights"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerUpdateContract.cs index 24f463969968..0d8246e2e176 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerUpdateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/LoggerUpdateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,19 +28,19 @@ public partial class LoggerUpdateContract /// public LoggerUpdateContract() { - CustomInit(); + CustomInit(); } /// /// Initializes a new instance of the LoggerUpdateContract class. /// /// Logger type. Possible values include: - /// 'azureEventHub' + /// 'azureEventHub', 'applicationInsights' /// Logger description. /// Logger credentials. /// Whether records are buffered in the logger /// before publishing. Default is assumed to be true. - public LoggerUpdateContract(LoggerType? loggerType = default(LoggerType?), string description = default(string), IDictionary credentials = default(IDictionary), bool? isBuffered = default(bool?)) + public LoggerUpdateContract(string loggerType = default(string), string description = default(string), IDictionary credentials = default(IDictionary), bool? isBuffered = default(bool?)) { LoggerType = loggerType; Description = description; @@ -56,10 +55,11 @@ public LoggerUpdateContract() partial void CustomInit(); /// - /// Gets or sets logger type. Possible values include: 'azureEventHub' + /// Gets or sets logger type. Possible values include: 'azureEventHub', + /// 'applicationInsights' /// [JsonProperty(PropertyName = "properties.loggerType")] - public LoggerType? LoggerType { get; set; } + public string LoggerType { get; set; } /// /// Gets or sets logger description. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NameAvailabilityReason.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NameAvailabilityReason.cs index 23709a97e2da..063345aeafab 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NameAvailabilityReason.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NameAvailabilityReason.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -31,8 +30,10 @@ public enum NameAvailabilityReason } internal static class NameAvailabilityReasonEnumExtension { - internal static string ToSerializedValue(this NameAvailabilityReason? value) => - value == null ? null : ((NameAvailabilityReason)value).ToSerializedValue(); + internal static string ToSerializedValue(this NameAvailabilityReason? value) + { + return value == null ? null : ((NameAvailabilityReason)value).ToSerializedValue(); + } internal static string ToSerializedValue(this NameAvailabilityReason value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContract.cs index d3cce8ae55fe..3df7b2786ff0 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class NetworkStatusContract /// public NetworkStatusContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContractByLocation.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContractByLocation.cs new file mode 100644 index 000000000000..5608b9e6de5a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NetworkStatusContractByLocation.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Network Status in the Location + /// + public partial class NetworkStatusContractByLocation + { + /// + /// Initializes a new instance of the NetworkStatusContractByLocation + /// class. + /// + public NetworkStatusContractByLocation() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NetworkStatusContractByLocation + /// class. + /// + /// Location of service + /// Network status in Location + public NetworkStatusContractByLocation(string location = default(string), NetworkStatusContract networkStatus = default(NetworkStatusContract)) + { + Location = location; + NetworkStatus = networkStatus; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets location of service + /// + [JsonProperty(PropertyName = "location")] + public string Location { get; set; } + + /// + /// Gets or sets network status in Location + /// + [JsonProperty(PropertyName = "networkStatus")] + public NetworkStatusContract NetworkStatus { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Location != null) + { + if (Location.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Location", 1); + } + } + if (NetworkStatus != null) + { + NetworkStatus.Validate(); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationContract.cs new file mode 100644 index 000000000000..49a6d346fe0f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationContract.cs @@ -0,0 +1,99 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Notification details. + /// + [Rest.Serialization.JsonTransformation] + public partial class NotificationContract : Resource + { + /// + /// Initializes a new instance of the NotificationContract class. + /// + public NotificationContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the NotificationContract class. + /// + /// Title of the Notification. + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Description of the Notification. + /// Recipient Parameter values. + public NotificationContract(string title, string id = default(string), string name = default(string), string type = default(string), string description = default(string), RecipientsContractProperties recipients = default(RecipientsContractProperties)) + : base(id, name, type) + { + Title = title; + Description = description; + Recipients = recipients; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets title of the Notification. + /// + [JsonProperty(PropertyName = "properties.title")] + public string Title { get; set; } + + /// + /// Gets or sets description of the Notification. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets recipient Parameter values. + /// + [JsonProperty(PropertyName = "properties.recipients")] + public RecipientsContractProperties Recipients { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Title == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Title"); + } + if (Title != null) + { + if (Title.Length > 1000) + { + throw new ValidationException(ValidationRules.MaxLength, "Title", 1000); + } + if (Title.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Title", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationName.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationName.cs new file mode 100644 index 000000000000..915717505c5c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/NotificationName.cs @@ -0,0 +1,58 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for NotificationName. + /// + public static class NotificationName + { + /// + /// The following email recipients and users will receive email + /// notifications about subscription requests for API products + /// requiring approval. + /// + public const string RequestPublisherNotificationMessage = "RequestPublisherNotificationMessage"; + /// + /// The following email recipients and users will receive email + /// notifications about new API product subscriptions. + /// + public const string PurchasePublisherNotificationMessage = "PurchasePublisherNotificationMessage"; + /// + /// The following email recipients and users will receive email + /// notifications when new applications are submitted to the + /// application gallery. + /// + public const string NewApplicationNotificationMessage = "NewApplicationNotificationMessage"; + /// + /// The following recipients will receive blind carbon copies of all + /// emails sent to developers. + /// + public const string BCC = "BCC"; + /// + /// The following email recipients and users will receive email + /// notifications when a new issue or comment is submitted on the + /// developer portal. + /// + public const string NewIssuePublisherNotificationMessage = "NewIssuePublisherNotificationMessage"; + /// + /// The following email recipients and users will receive email + /// notifications when developer closes his account. + /// + public const string AccountClosedPublisher = "AccountClosedPublisher"; + /// + /// The following email recipients and users will receive email + /// notifications when subscription usage gets close to usage quota. + /// + public const string QuotaLimitApproachingPublisherNotificationMessage = "QuotaLimitApproachingPublisherNotificationMessage"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OAuth2AuthenticationSettingsContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OAuth2AuthenticationSettingsContract.cs index a3dab5dada76..904a81ee8757 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OAuth2AuthenticationSettingsContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OAuth2AuthenticationSettingsContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class OAuth2AuthenticationSettingsContract /// public OAuth2AuthenticationSettingsContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetEntityTagHeaders.cs new file mode 100644 index 000000000000..c6ea47f72a6e --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class OpenIdConnectProviderGetEntityTagHeaders + { + /// + /// Initializes a new instance of the + /// OpenIdConnectProviderGetEntityTagHeaders class. + /// + public OpenIdConnectProviderGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// OpenIdConnectProviderGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public OpenIdConnectProviderGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetHeaders.cs index fb4af5ce95ec..bb3034d727a8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenIdConnectProviderGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class OpenIdConnectProviderGetHeaders /// public OpenIdConnectProviderGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderContract.cs index ab4f6a24b8d0..968d453142bc 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class OpenidConnectProviderContract : Resource /// public OpenidConnectProviderContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderUpdateContract.cs index 4e4cfa51753e..a9f72234fb39 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderUpdateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OpenidConnectProviderUpdateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class OpenidConnectProviderUpdateContract /// public OpenidConnectProviderUpdateContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Operation.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Operation.cs index a77ae8c60bee..31b5cfef5235 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Operation.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Operation.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class Operation /// public Operation() { - CustomInit(); + CustomInit(); } /// @@ -34,10 +33,14 @@ public Operation() /// {provider}/{resource}/{operation} /// The object that describes the /// operation. - public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay)) + /// The operation origin. + /// The operation properties. + public Operation(string name = default(string), OperationDisplay display = default(OperationDisplay), string origin = default(string), object properties = default(object)) { Name = name; Display = display; + Origin = origin; + Properties = properties; CustomInit(); } @@ -58,5 +61,17 @@ public Operation() [JsonProperty(PropertyName = "display")] public OperationDisplay Display { get; set; } + /// + /// Gets or sets the operation origin. + /// + [JsonProperty(PropertyName = "origin")] + public string Origin { get; set; } + + /// + /// Gets or sets the operation properties. + /// + [JsonProperty(PropertyName = "properties")] + public object Properties { get; set; } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationContract.cs index 96dea028e7b6..0855e59a3755 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class OperationContract : Resource /// public OperationContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationDisplay.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationDisplay.cs index 3eb358ceb3ed..f54a5fc966c9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationDisplay.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationDisplay.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class OperationDisplay /// public OperationDisplay() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationEntityBaseContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationEntityBaseContract.cs index 2067617887e6..ab95926fea77 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationEntityBaseContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationEntityBaseContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class OperationEntityBaseContract /// public OperationEntityBaseContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultContract.cs index f886ae8e6b1e..080f891e7bbd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,13 +6,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; using System.Linq; /// @@ -24,7 +25,7 @@ public partial class OperationResultContract /// public OperationResultContract() { - CustomInit(); + CustomInit(); } /// @@ -43,7 +44,11 @@ public OperationResultContract() /// /// Optional result info. /// Error Body Contract - public OperationResultContract(string id = default(string), AsyncOperationStatus? status = default(AsyncOperationStatus?), System.DateTime? started = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), string resultInfo = default(string), ErrorResponse error = default(ErrorResponse)) + /// This property if only provided as part of + /// the TenantConfiguration_Validate operation. It contains the log the + /// entities which will be updated/created/deleted as part of the + /// TenantConfiguration_Deploy operation. + public OperationResultContract(string id = default(string), AsyncOperationStatus? status = default(AsyncOperationStatus?), System.DateTime? started = default(System.DateTime?), System.DateTime? updated = default(System.DateTime?), string resultInfo = default(string), ErrorResponse error = default(ErrorResponse), IList actionLog = default(IList)) { Id = id; Status = status; @@ -51,6 +56,7 @@ public OperationResultContract() Updated = updated; ResultInfo = resultInfo; Error = error; + ActionLog = actionLog; CustomInit(); } @@ -102,5 +108,14 @@ public OperationResultContract() [JsonProperty(PropertyName = "error")] public ErrorResponse Error { get; set; } + /// + /// Gets this property if only provided as part of the + /// TenantConfiguration_Validate operation. It contains the log the + /// entities which will be updated/created/deleted as part of the + /// TenantConfiguration_Deploy operation. + /// + [JsonProperty(PropertyName = "actionLog")] + public IList ActionLog { get; private set; } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultLogItemContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultLogItemContract.cs new file mode 100644 index 000000000000..8facd4528586 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationResultLogItemContract.cs @@ -0,0 +1,71 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Log of the entity being created, updated or deleted. + /// + public partial class OperationResultLogItemContract + { + /// + /// Initializes a new instance of the OperationResultLogItemContract + /// class. + /// + public OperationResultLogItemContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the OperationResultLogItemContract + /// class. + /// + /// The type of entity contract. + /// Action like create/update/delete. + /// Identifier of the entity being + /// created/updated/deleted. + public OperationResultLogItemContract(string objectType = default(string), string action = default(string), string objectKey = default(string)) + { + ObjectType = objectType; + Action = action; + ObjectKey = objectKey; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the type of entity contract. + /// + [JsonProperty(PropertyName = "objectType")] + public string ObjectType { get; set; } + + /// + /// Gets or sets action like create/update/delete. + /// + [JsonProperty(PropertyName = "action")] + public string Action { get; set; } + + /// + /// Gets or sets identifier of the entity being + /// created/updated/deleted. + /// + [JsonProperty(PropertyName = "objectKey")] + public string ObjectKey { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationTagResourceContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationTagResourceContractProperties.cs new file mode 100644 index 000000000000..b056dedafdfe --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationTagResourceContractProperties.cs @@ -0,0 +1,117 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Operation Entity contract Properties. + /// + public partial class OperationTagResourceContractProperties + { + /// + /// Initializes a new instance of the + /// OperationTagResourceContractProperties class. + /// + public OperationTagResourceContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// OperationTagResourceContractProperties class. + /// + /// Identifier of the operation in form + /// /operations/{operationId}. + /// Operation name. + /// Api Name. + /// Api Revision. + /// Api Version. + /// Operation Description. + /// A Valid HTTP Operation Method. Typical Http + /// Methods like GET, PUT, POST but not limited by only them. + /// Relative URL template identifying the + /// target resource for this operation. May include parameters. + /// Example: /customers/{cid}/orders/{oid}/?date={date} + public OperationTagResourceContractProperties(string id = default(string), string name = default(string), string apiName = default(string), string apiRevision = default(string), string apiVersion = default(string), string description = default(string), string method = default(string), string urlTemplate = default(string)) + { + Id = id; + Name = name; + ApiName = apiName; + ApiRevision = apiRevision; + ApiVersion = apiVersion; + Description = description; + Method = method; + UrlTemplate = urlTemplate; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets identifier of the operation in form + /// /operations/{operationId}. + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets operation name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; private set; } + + /// + /// Gets api Name. + /// + [JsonProperty(PropertyName = "apiName")] + public string ApiName { get; private set; } + + /// + /// Gets api Revision. + /// + [JsonProperty(PropertyName = "apiRevision")] + public string ApiRevision { get; private set; } + + /// + /// Gets api Version. + /// + [JsonProperty(PropertyName = "apiVersion")] + public string ApiVersion { get; private set; } + + /// + /// Gets operation Description. + /// + [JsonProperty(PropertyName = "description")] + public string Description { get; private set; } + + /// + /// Gets a Valid HTTP Operation Method. Typical Http Methods like GET, + /// PUT, POST but not limited by only them. + /// + [JsonProperty(PropertyName = "method")] + public string Method { get; private set; } + + /// + /// Gets relative URL template identifying the target resource for this + /// operation. May include parameters. Example: + /// /customers/{cid}/orders/{oid}/?date={date} + /// + [JsonProperty(PropertyName = "urlTemplate")] + public string UrlTemplate { get; private set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationUpdateContract.cs index fb4d2865fe45..36308b97b2a8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationUpdateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/OperationUpdateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class OperationUpdateContract /// public OperationUpdateContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page.cs index 3db7ae164529..5351b13886d3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public class Page : IPage /// /// Gets the link to the next page. /// - [JsonProperty("")] + [JsonProperty("nextLink")] public string NextPageLink { get; private set; } [JsonProperty("value")] diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page1.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page1.cs index 818b9a584894..aecca41233f3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page1.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page1.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public class Page1 : IPage /// /// Gets the link to the next page. /// - [JsonProperty("nextLink")] + [JsonProperty("")] public string NextPageLink { get; private set; } [JsonProperty("value")] diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page2.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page2.cs deleted file mode 100644 index 6e3cf5af96a5..000000000000 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Page2.cs +++ /dev/null @@ -1,54 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for -// license information. -// -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is -// regenerated. - -namespace Microsoft.Azure.Management.ApiManagement.Models -{ - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Microsoft.Rest; - using Microsoft.Rest.Azure; - using Newtonsoft.Json; - using System.Collections; - using System.Collections.Generic; - - /// - /// Defines a page in Azure responses. - /// - /// Type of the page content items - [JsonObject] - public class Page2 : IPage - { - /// - /// Gets the link to the next page. - /// - [JsonProperty("")] - public string NextPageLink { get; private set; } - - [JsonProperty("value")] - private IList Items{ get; set; } - - /// - /// Returns an enumerator that iterates through the collection. - /// - /// A an enumerator that can be used to iterate through the collection. - public IEnumerator GetEnumerator() - { - return Items == null ? System.Linq.Enumerable.Empty().GetEnumerator() : Items.GetEnumerator(); - } - - /// - /// Returns an enumerator that iterates through the collection. - /// - /// A an enumerator that can be used to iterate through the collection. - IEnumerator IEnumerable.GetEnumerator() - { - return GetEnumerator(); - } - } -} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ParameterContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ParameterContract.cs index a56d6418e5f4..d362f2537c77 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ParameterContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ParameterContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class ParameterContract /// public ParameterContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyCollection.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyCollection.cs index f2562e58ec7b..e06dd4a26038 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyCollection.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyCollection.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class PolicyCollection /// public PolicyCollection() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContentFormat.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContentFormat.cs new file mode 100644 index 000000000000..5fe0576b4bbe --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContentFormat.cs @@ -0,0 +1,29 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for PolicyContentFormat. + /// + public static class PolicyContentFormat + { + /// + /// The contents are inline and Content type is an XML document. + /// + public const string Xml = "xml"; + /// + /// The policy XML document is hosted on a http endpoint accessible + /// from the API Management service. + /// + public const string XmlLink = "xml-link"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContract.cs index 4dfc58689119..6218f2a913e7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,22 +26,25 @@ public partial class PolicyContract : Resource /// public PolicyContract() { - CustomInit(); + CustomInit(); } /// /// Initializes a new instance of the PolicyContract class. /// - /// Xml Encoded contents of the - /// Policy. + /// Json escaped Xml Encoded contents of + /// the Policy. /// Resource ID. /// Resource name. /// Resource type for API Management /// resource. - public PolicyContract(string policyContent, string id = default(string), string name = default(string), string type = default(string)) + /// Format of the policyContent. Possible + /// values include: 'xml', 'xml-link' + public PolicyContract(string policyContent, string id = default(string), string name = default(string), string type = default(string), string contentFormat = default(string)) : base(id, name, type) { PolicyContent = policyContent; + ContentFormat = contentFormat; CustomInit(); } @@ -52,11 +54,18 @@ public PolicyContract() partial void CustomInit(); /// - /// Gets or sets xml Encoded contents of the Policy. + /// Gets or sets json escaped Xml Encoded contents of the Policy. /// [JsonProperty(PropertyName = "properties.policyContent")] public string PolicyContent { get; set; } + /// + /// Gets or sets format of the policyContent. Possible values include: + /// 'xml', 'xml-link' + /// + [JsonProperty(PropertyName = "properties.contentFormat")] + public string ContentFormat { get; set; } + /// /// Validate the object. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetEntityTagHeaders.cs new file mode 100644 index 000000000000..623a550131b3 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class PolicyGetEntityTagHeaders + { + /// + /// Initializes a new instance of the PolicyGetEntityTagHeaders class. + /// + public PolicyGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PolicyGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public PolicyGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetHeaders.cs index eadbf2245b5c..d0525fd835fa 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class PolicyGetHeaders /// public PolicyGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyScopeContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyScopeContract.cs index 168c526d73e1..ab0184ecf5e6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyScopeContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicyScopeContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -35,8 +34,10 @@ public enum PolicyScopeContract } internal static class PolicyScopeContractEnumExtension { - internal static string ToSerializedValue(this PolicyScopeContract? value) => - value == null ? null : ((PolicyScopeContract)value).ToSerializedValue(); + internal static string ToSerializedValue(this PolicyScopeContract? value) + { + return value == null ? null : ((PolicyScopeContract)value).ToSerializedValue(); + } internal static string ToSerializedValue(this PolicyScopeContract value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetContract.cs index 2942d2a6b98c..369efa2d1c2b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class PolicySnippetContract /// public PolicySnippetContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetsCollection.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetsCollection.cs index 45a8aaf9a9ff..a5aa6b46c8d0 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetsCollection.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PolicySnippetsCollection.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class PolicySnippetsCollection /// public PolicySnippetsCollection() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalDelegationSettings.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalDelegationSettings.cs new file mode 100644 index 000000000000..1325ef745661 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalDelegationSettings.cs @@ -0,0 +1,88 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Delegation settings for a developer portal. + /// + [Rest.Serialization.JsonTransformation] + public partial class PortalDelegationSettings : Resource + { + /// + /// Initializes a new instance of the PortalDelegationSettings class. + /// + public PortalDelegationSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PortalDelegationSettings class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// A delegation Url. + /// A base64-encoded validation key to + /// validate, that a request is coming from Azure API + /// Management. + /// Subscriptions delegation + /// settings. + /// User registration delegation + /// settings. + public PortalDelegationSettings(string id = default(string), string name = default(string), string type = default(string), string url = default(string), string validationKey = default(string), SubscriptionsDelegationSettingsProperties subscriptions = default(SubscriptionsDelegationSettingsProperties), RegistrationDelegationSettingsProperties userRegistration = default(RegistrationDelegationSettingsProperties)) + : base(id, name, type) + { + Url = url; + ValidationKey = validationKey; + Subscriptions = subscriptions; + UserRegistration = userRegistration; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a delegation Url. + /// + [JsonProperty(PropertyName = "properties.url")] + public string Url { get; set; } + + /// + /// Gets or sets a base64-encoded validation key to validate, that a + /// request is coming from Azure API Management. + /// + [JsonProperty(PropertyName = "properties.validationKey")] + public string ValidationKey { get; set; } + + /// + /// Gets or sets subscriptions delegation settings. + /// + [JsonProperty(PropertyName = "properties.subscriptions")] + public SubscriptionsDelegationSettingsProperties Subscriptions { get; set; } + + /// + /// Gets or sets user registration delegation settings. + /// + [JsonProperty(PropertyName = "properties.userRegistration")] + public RegistrationDelegationSettingsProperties UserRegistration { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSigninSettings.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSigninSettings.cs new file mode 100644 index 000000000000..5a9a3a802063 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSigninSettings.cs @@ -0,0 +1,60 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Sign-In settings for the Developer Portal. + /// + [Rest.Serialization.JsonTransformation] + public partial class PortalSigninSettings : Resource + { + /// + /// Initializes a new instance of the PortalSigninSettings class. + /// + public PortalSigninSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PortalSigninSettings class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Redirect Anonymous users to the Sign-In + /// page. + public PortalSigninSettings(string id = default(string), string name = default(string), string type = default(string), bool? enabled = default(bool?)) + : base(id, name, type) + { + Enabled = enabled; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets redirect Anonymous users to the Sign-In page. + /// + [JsonProperty(PropertyName = "properties.enabled")] + public bool? Enabled { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSignupSettings.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSignupSettings.cs new file mode 100644 index 000000000000..fdda3b3c5339 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PortalSignupSettings.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Sign-Up settings for a developer portal. + /// + [Rest.Serialization.JsonTransformation] + public partial class PortalSignupSettings : Resource + { + /// + /// Initializes a new instance of the PortalSignupSettings class. + /// + public PortalSignupSettings() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PortalSignupSettings class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Allow users to sign up on a developer + /// portal. + /// Terms of service contract + /// properties. + public PortalSignupSettings(string id = default(string), string name = default(string), string type = default(string), bool? enabled = default(bool?), TermsOfServiceProperties termsOfService = default(TermsOfServiceProperties)) + : base(id, name, type) + { + Enabled = enabled; + TermsOfService = termsOfService; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets allow users to sign up on a developer portal. + /// + [JsonProperty(PropertyName = "properties.enabled")] + public bool? Enabled { get; set; } + + /// + /// Gets or sets terms of service contract properties. + /// + [JsonProperty(PropertyName = "properties.termsOfService")] + public TermsOfServiceProperties TermsOfService { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductContract.cs index 644b836fc0ce..e397d90e4356 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class ProductContract : Resource /// public ProductContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductEntityBaseParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductEntityBaseParameters.cs index 17138298b66d..601a1d23b609 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductEntityBaseParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductEntityBaseParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -26,7 +25,7 @@ public partial class ProductEntityBaseParameters /// public ProductEntityBaseParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetEntityTagHeaders.cs new file mode 100644 index 000000000000..3d65e0d6d8ee --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ProductGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ProductGetEntityTagHeaders class. + /// + public ProductGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ProductGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ProductGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetHeaders.cs index 077453f5f0d2..720956b07d95 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ProductGetHeaders /// public ProductGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetEntityTagHeaders.cs new file mode 100644 index 000000000000..ad98965efb7d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class ProductPolicyGetEntityTagHeaders + { + /// + /// Initializes a new instance of the ProductPolicyGetEntityTagHeaders + /// class. + /// + public ProductPolicyGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the ProductPolicyGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public ProductPolicyGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetHeaders.cs index b9f208807d53..63ee9748789f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ProductPolicyGetHeaders /// public ProductPolicyGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyListByProductHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyListByProductHeaders.cs index d11e01e3700d..8973b626b15f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyListByProductHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductPolicyListByProductHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class ProductPolicyListByProductHeaders /// public ProductPolicyListByProductHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductState.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductState.cs index f626801f74dc..cff60ce55174 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductState.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductState.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -29,8 +28,10 @@ public enum ProductState } internal static class ProductStateEnumExtension { - internal static string ToSerializedValue(this ProductState? value) => - value == null ? null : ((ProductState)value).ToSerializedValue(); + internal static string ToSerializedValue(this ProductState? value) + { + return value == null ? null : ((ProductState)value).ToSerializedValue(); + } internal static string ToSerializedValue(this ProductState value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductTagResourceContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductTagResourceContractProperties.cs new file mode 100644 index 000000000000..0f7a81728b09 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductTagResourceContractProperties.cs @@ -0,0 +1,121 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Product profile. + /// + public partial class ProductTagResourceContractProperties : ProductEntityBaseParameters + { + /// + /// Initializes a new instance of the + /// ProductTagResourceContractProperties class. + /// + public ProductTagResourceContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// ProductTagResourceContractProperties class. + /// + /// Product name. + /// Product description. May include HTML + /// formatting tags. + /// Product terms of use. Developers trying to + /// subscribe to the product will be presented and required to accept + /// these terms before they can complete the subscription + /// process. + /// Whether a product subscription + /// is required for accessing APIs included in this product. If true, + /// the product is referred to as "protected" and a valid subscription + /// key is required for a request to an API included in the product to + /// succeed. If false, the product is referred to as "open" and + /// requests to an API included in the product can be made without a + /// subscription key. If property is omitted when creating a new + /// product it's value is assumed to be true. + /// whether subscription approval is + /// required. If false, new subscriptions will be approved + /// automatically enabling developers to call the product’s APIs + /// immediately after subscribing. If true, administrators must + /// manually approve the subscription before the developer can any of + /// the product’s APIs. Can be present only if subscriptionRequired + /// property is present and has a value of false. + /// Whether the number of + /// subscriptions a user can have to this product at the same time. Set + /// to null or omit to allow unlimited per user subscriptions. Can be + /// present only if subscriptionRequired property is present and has a + /// value of false. + /// whether product is published or not. Published + /// products are discoverable by users of developer portal. Non + /// published products are visible only to administrators. Default + /// state of Product is notPublished. Possible values include: + /// 'notPublished', 'published' + /// Identifier of the product in the form of + /// /products/{productId} + public ProductTagResourceContractProperties(string name, string description = default(string), string terms = default(string), bool? subscriptionRequired = default(bool?), bool? approvalRequired = default(bool?), int? subscriptionsLimit = default(int?), ProductState? state = default(ProductState?), string id = default(string)) + : base(description, terms, subscriptionRequired, approvalRequired, subscriptionsLimit, state) + { + Id = id; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets identifier of the product in the form of + /// /products/{productId} + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets product name. + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public override void Validate() + { + base.Validate(); + if (Name == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Name"); + } + if (Name != null) + { + if (Name.Length > 300) + { + throw new ValidationException(ValidationRules.MaxLength, "Name", 300); + } + if (Name.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Name", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductUpdateParameters.cs index ad504bb2d537..0971b62a2bda 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ProductUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class ProductUpdateParameters /// public ProductUpdateParameters() { - CustomInit(); + CustomInit(); } /// @@ -64,8 +63,8 @@ public ProductUpdateParameters() /// published products are visible only to administrators. Default /// state of Product is notPublished. Possible values include: /// 'notPublished', 'published' - /// Product name. - public ProductUpdateParameters(string description = default(string), string terms = default(string), bool? subscriptionRequired = default(bool?), bool? approvalRequired = default(bool?), int? subscriptionsLimit = default(int?), ProductState? state = default(ProductState?), string name = default(string)) + /// Product name. + public ProductUpdateParameters(string description = default(string), string terms = default(string), bool? subscriptionRequired = default(bool?), bool? approvalRequired = default(bool?), int? subscriptionsLimit = default(int?), ProductState? state = default(ProductState?), string displayName = default(string)) { Description = description; Terms = terms; @@ -73,7 +72,7 @@ public ProductUpdateParameters() ApprovalRequired = approvalRequired; SubscriptionsLimit = subscriptionsLimit; State = state; - Name = name; + DisplayName = displayName; CustomInit(); } @@ -143,8 +142,8 @@ public ProductUpdateParameters() /// /// Gets or sets product name. /// - [JsonProperty(PropertyName = "properties.name")] - public string Name { get; set; } + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } /// /// Validate the object. @@ -165,15 +164,15 @@ public virtual void Validate() throw new ValidationException(ValidationRules.MinLength, "Description", 1); } } - if (Name != null) + if (DisplayName != null) { - if (Name.Length > 300) + if (DisplayName.Length > 300) { - throw new ValidationException(ValidationRules.MaxLength, "Name", 300); + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 300); } - if (Name.Length < 1) + if (DisplayName.Length < 1) { - throw new ValidationException(ValidationRules.MinLength, "Name", 1); + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); } } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyContract.cs index a6af111609cd..3ccb9ea06aa4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class PropertyContract : Resource /// public PropertyContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyEntityBaseParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyEntityBaseParameters.cs index 7dae63f7b050..5838df920928 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyEntityBaseParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyEntityBaseParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -28,7 +27,7 @@ public partial class PropertyEntityBaseParameters /// public PropertyEntityBaseParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetEntityTagHeaders.cs new file mode 100644 index 000000000000..7f01a17d3e50 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class PropertyGetEntityTagHeaders + { + /// + /// Initializes a new instance of the PropertyGetEntityTagHeaders + /// class. + /// + public PropertyGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the PropertyGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public PropertyGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetHeaders.cs index 24203ca68870..6de1635a3057 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class PropertyGetHeaders /// public PropertyGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyUpdateParameters.cs index 5d67de5236c6..e1467d2634b6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/PropertyUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class PropertyUpdateParameters /// public PropertyUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Protocol.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Protocol.cs index d7050561d934..839a9c2e139b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Protocol.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Protocol.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -29,8 +28,10 @@ public enum Protocol } internal static class ProtocolEnumExtension { - internal static string ToSerializedValue(this Protocol? value) => - value == null ? null : ((Protocol)value).ToSerializedValue(); + internal static string ToSerializedValue(this Protocol? value) + { + return value == null ? null : ((Protocol)value).ToSerializedValue(); + } internal static string ToSerializedValue(this Protocol value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterCollection.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterCollection.cs index 6b394c728768..85db4a98f544 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterCollection.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterCollection.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class QuotaCounterCollection /// public QuotaCounterCollection() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterContract.cs index 01fa2135f6ea..a71b0049525e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class QuotaCounterContract /// public QuotaCounterContract() { - CustomInit(); + CustomInit(); } /// @@ -93,7 +92,7 @@ public QuotaCounterContract() /// /// Gets or sets quota Value Properties /// - [JsonProperty(PropertyName = "Value")] + [JsonProperty(PropertyName = "value")] public QuotaCounterValueContractProperties Value { get; set; } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContract.cs index 4dd3feb03c46..b2163e6e5393 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class QuotaCounterValueContract /// public QuotaCounterValueContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContractProperties.cs index f087e3343f64..0a52aab8a4ec 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContractProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/QuotaCounterValueContractProperties.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class QuotaCounterValueContractProperties /// public QuotaCounterValueContractProperties() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderList.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailCollection.cs similarity index 62% rename from src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderList.cs rename to src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailCollection.cs index 9632ed2610e8..27051a4dc1e2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/IdentityProviderList.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailCollection.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,36 +6,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// - /// List of all the Identity Providers configured on the service instance. + /// Paged Recipient User list representation. /// - public partial class IdentityProviderList + public partial class RecipientEmailCollection { /// - /// Initializes a new instance of the IdentityProviderList class. + /// Initializes a new instance of the RecipientEmailCollection class. /// - public IdentityProviderList() + public RecipientEmailCollection() { - CustomInit(); + CustomInit(); } /// - /// Initializes a new instance of the IdentityProviderList class. + /// Initializes a new instance of the RecipientEmailCollection class. /// - /// Identity Provider configuration values. + /// Page values. /// Next page link if any. - public IdentityProviderList(IList value = default(IList), string nextLink = default(string)) + public RecipientEmailCollection(IList value = default(IList), string nextLink = default(string)) { Value = value; NextLink = nextLink; @@ -47,10 +46,10 @@ public IdentityProviderList() partial void CustomInit(); /// - /// Gets or sets identity Provider configuration values. + /// Gets or sets page values. /// [JsonProperty(PropertyName = "value")] - public IList Value { get; set; } + public IList Value { get; set; } /// /// Gets or sets next page link if any. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailContract.cs new file mode 100644 index 000000000000..61bc6382f4fb --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientEmailContract.cs @@ -0,0 +1,59 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Recipient Email details. + /// + [Rest.Serialization.JsonTransformation] + public partial class RecipientEmailContract : Resource + { + /// + /// Initializes a new instance of the RecipientEmailContract class. + /// + public RecipientEmailContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RecipientEmailContract class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// User Email subscribed to notification. + public RecipientEmailContract(string id = default(string), string name = default(string), string type = default(string), string email = default(string)) + : base(id, name, type) + { + Email = email; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets user Email subscribed to notification. + /// + [JsonProperty(PropertyName = "properties.email")] + public string Email { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityCollection.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserCollection.cs similarity index 53% rename from src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityCollection.cs rename to src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserCollection.cs index 77fb6f0d8886..1b5910598584 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityCollection.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserCollection.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,41 +6,36 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; using System.Linq; /// - /// List of Users Identity list representation. + /// Paged Recipient User list representation. /// - public partial class UserIdentityCollection + public partial class RecipientUserCollection { /// - /// Initializes a new instance of the UserIdentityCollection class. + /// Initializes a new instance of the RecipientUserCollection class. /// - public UserIdentityCollection() + public RecipientUserCollection() { - CustomInit(); + CustomInit(); } /// - /// Initializes a new instance of the UserIdentityCollection class. + /// Initializes a new instance of the RecipientUserCollection class. /// - /// User Identity values. - /// Total record count number across all - /// pages. + /// Page values. /// Next page link if any. - public UserIdentityCollection(IList value = default(IList), long? count = default(long?), string nextLink = default(string)) + public RecipientUserCollection(IList value = default(IList), string nextLink = default(string)) { Value = value; - Count = count; NextLink = nextLink; CustomInit(); } @@ -50,16 +46,10 @@ public UserIdentityCollection() partial void CustomInit(); /// - /// Gets or sets user Identity values. + /// Gets or sets page values. /// [JsonProperty(PropertyName = "value")] - public IList Value { get; set; } - - /// - /// Gets or sets total record count number across all pages. - /// - [JsonProperty(PropertyName = "count")] - public long? Count { get; set; } + public IList Value { get; set; } /// /// Gets or sets next page link if any. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserContract.cs new file mode 100644 index 000000000000..421f59520cb0 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientUserContract.cs @@ -0,0 +1,60 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Recipient User details. + /// + [Rest.Serialization.JsonTransformation] + public partial class RecipientUserContract : Resource + { + /// + /// Initializes a new instance of the RecipientUserContract class. + /// + public RecipientUserContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RecipientUserContract class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// API Management UserId subscribed to + /// notification. + public RecipientUserContract(string id = default(string), string name = default(string), string type = default(string), string userId = default(string)) + : base(id, name, type) + { + UserId = userId; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets API Management UserId subscribed to notification. + /// + [JsonProperty(PropertyName = "properties.userId")] + public string UserId { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientsContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientsContractProperties.cs new file mode 100644 index 000000000000..48cf0c94ef6e --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RecipientsContractProperties.cs @@ -0,0 +1,65 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// Notification Parameter contract. + /// + public partial class RecipientsContractProperties + { + /// + /// Initializes a new instance of the RecipientsContractProperties + /// class. + /// + public RecipientsContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the RecipientsContractProperties + /// class. + /// + /// List of Emails subscribed for the + /// notification. + /// List of Users subscribed for the + /// notification. + public RecipientsContractProperties(IList emails = default(IList), IList users = default(IList)) + { + Emails = emails; + Users = users; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of Emails subscribed for the notification. + /// + [JsonProperty(PropertyName = "emails")] + public IList Emails { get; set; } + + /// + /// Gets or sets list of Users subscribed for the notification. + /// + [JsonProperty(PropertyName = "users")] + public IList Users { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegionContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegionContract.cs index b0a6f3aa15df..13dcaf2668d2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegionContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegionContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class RegionContract /// public RegionContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegistrationDelegationSettingsProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegistrationDelegationSettingsProperties.cs new file mode 100644 index 000000000000..817a800550be --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RegistrationDelegationSettingsProperties.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// User registration delegation settings properties. + /// + public partial class RegistrationDelegationSettingsProperties + { + /// + /// Initializes a new instance of the + /// RegistrationDelegationSettingsProperties class. + /// + public RegistrationDelegationSettingsProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// RegistrationDelegationSettingsProperties class. + /// + /// Enable or disable delegation for user + /// registration. + public RegistrationDelegationSettingsProperties(bool? enabled = default(bool?)) + { + Enabled = enabled; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets enable or disable delegation for user registration. + /// + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ReportRecordContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ReportRecordContract.cs index 4cb5d16017ad..61827ffbda2d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ReportRecordContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ReportRecordContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class ReportRecordContract /// public ReportRecordContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RepresentationContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RepresentationContract.cs index 80cd776e9c49..961be5f272b1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RepresentationContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RepresentationContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Collections; @@ -27,7 +26,7 @@ public partial class RepresentationContract /// public RepresentationContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestContract.cs index 3f2979114e52..bf2d2fa2f860 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class RequestContract /// public RequestContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestReportRecordContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestReportRecordContract.cs index a52c45f9407d..2c5979ad8872 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestReportRecordContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/RequestReportRecordContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class RequestReportRecordContract /// public RequestReportRecordContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Resource.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Resource.cs index 69fd4891c2d7..19d8d911bdef 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Resource.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/Resource.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Azure; using Newtonsoft.Json; @@ -26,7 +25,7 @@ public partial class Resource : IResource /// public Resource() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ResponseContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ResponseContract.cs index 5900141f4af5..052a0c08fb0f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ResponseContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ResponseContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class ResponseContract /// public ResponseContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SaveConfigurationParameter.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SaveConfigurationParameter.cs index 4c88728353b0..25f16ac56ff2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SaveConfigurationParameter.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SaveConfigurationParameter.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class SaveConfigurationParameter /// public SaveConfigurationParameter() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs new file mode 100644 index 000000000000..8e312adacaec --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs @@ -0,0 +1,86 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Schema Contract details. + /// + [Rest.Serialization.JsonTransformation] + public partial class SchemaContract : Resource + { + /// + /// Initializes a new instance of the SchemaContract class. + /// + public SchemaContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SchemaContract class. + /// + /// Must be a valid a media type used in a + /// Content-Type header as defined in the RFC 2616. Media type of the + /// schema document (e.g. application/json, application/xml). + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Json escaped string defining the document + /// representing the Schema. + public SchemaContract(string contentType, string id = default(string), string name = default(string), string type = default(string), string value = default(string)) + : base(id, name, type) + { + ContentType = contentType; + Value = value; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets must be a valid a media type used in a Content-Type + /// header as defined in the RFC 2616. Media type of the schema + /// document (e.g. application/json, application/xml). + /// + [JsonProperty(PropertyName = "properties.contentType")] + public string ContentType { get; set; } + + /// + /// Gets or sets json escaped string defining the document representing + /// the Schema. + /// + [JsonProperty(PropertyName = "properties.document.value")] + public string Value { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ContentType == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ContentType"); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetEntityTagHeaders.cs new file mode 100644 index 000000000000..9d70fc8fc9a5 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class SignInSettingsGetEntityTagHeaders + { + /// + /// Initializes a new instance of the SignInSettingsGetEntityTagHeaders + /// class. + /// + public SignInSettingsGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SignInSettingsGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public SignInSettingsGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetHeaders.cs new file mode 100644 index 000000000000..070a80d9f8f4 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignInSettingsGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class SignInSettingsGetHeaders + { + /// + /// Initializes a new instance of the SignInSettingsGetHeaders class. + /// + public SignInSettingsGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SignInSettingsGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public SignInSettingsGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetEntityTagHeaders.cs new file mode 100644 index 000000000000..339c97e24bdf --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class SignUpSettingsGetEntityTagHeaders + { + /// + /// Initializes a new instance of the SignUpSettingsGetEntityTagHeaders + /// class. + /// + public SignUpSettingsGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SignUpSettingsGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public SignUpSettingsGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetHeaders.cs new file mode 100644 index 000000000000..2866a700697f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SignUpSettingsGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class SignUpSettingsGetHeaders + { + /// + /// Initializes a new instance of the SignUpSettingsGetHeaders class. + /// + public SignUpSettingsGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SignUpSettingsGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public SignUpSettingsGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SkuType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SkuType.cs index eb8a006549a4..17b2f46cd412 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SkuType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SkuType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,61 +6,31 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for SkuType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum SkuType + public static class SkuType { - [EnumMember(Value = "Developer")] - Developer, - [EnumMember(Value = "Standard")] - Standard, - [EnumMember(Value = "Premium")] - Premium - } - internal static class SkuTypeEnumExtension - { - internal static string ToSerializedValue(this SkuType? value) => - value == null ? null : ((SkuType)value).ToSerializedValue(); - - internal static string ToSerializedValue(this SkuType value) - { - switch( value ) - { - case SkuType.Developer: - return "Developer"; - case SkuType.Standard: - return "Standard"; - case SkuType.Premium: - return "Premium"; - } - return null; - } - - internal static SkuType? ParseSkuType(this string value) - { - switch( value ) - { - case "Developer": - return SkuType.Developer; - case "Standard": - return SkuType.Standard; - case "Premium": - return SkuType.Premium; - } - return null; - } + /// + /// Developer SKU of Api Management. + /// + public const string Developer = "Developer"; + /// + /// Standard SKU of Api Management. + /// + public const string Standard = "Standard"; + /// + /// Premium SKU of Api Management. + /// + public const string Premium = "Premium"; + /// + /// Basic SKU of Api Management. + /// + public const string Basic = "Basic"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SoapApiType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SoapApiType.cs new file mode 100644 index 000000000000..0ec20d0ce901 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SoapApiType.cs @@ -0,0 +1,22 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for SoapApiType. + /// + public static class SoapApiType + { + public const string Http = "http"; + public const string Soap = "soap"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionContract.cs index 6186093cb416..7c940db72264 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -27,7 +26,7 @@ public partial class SubscriptionContract : Resource /// public SubscriptionContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionCreateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionCreateParameters.cs index af3b89083410..2a61102bfec1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionCreateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionCreateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class SubscriptionCreateParameters /// public SubscriptionCreateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetEntityTagHeaders.cs new file mode 100644 index 000000000000..33e2a7f2001c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetEntityTagHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class SubscriptionGetEntityTagHeaders + { + /// + /// Initializes a new instance of the SubscriptionGetEntityTagHeaders + /// class. + /// + public SubscriptionGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SubscriptionGetEntityTagHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public SubscriptionGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetHeaders.cs index 95ca4234b1d5..f63b132d87b1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class SubscriptionGetHeaders /// public SubscriptionGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionKeyParameterNamesContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionKeyParameterNamesContract.cs index 7af9b469495c..24d96264c0d4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionKeyParameterNamesContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionKeyParameterNamesContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class SubscriptionKeyParameterNamesContract /// public SubscriptionKeyParameterNamesContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionState.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionState.cs index afbc0f97bd5a..d1a5630eda0e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionState.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionState.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using System.Runtime; @@ -37,8 +36,10 @@ public enum SubscriptionState } internal static class SubscriptionStateEnumExtension { - internal static string ToSerializedValue(this SubscriptionState? value) => - value == null ? null : ((SubscriptionState)value).ToSerializedValue(); + internal static string ToSerializedValue(this SubscriptionState? value) + { + return value == null ? null : ((SubscriptionState)value).ToSerializedValue(); + } internal static string ToSerializedValue(this SubscriptionState value) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionUpdateParameters.cs index 0eaa18c39d99..3b28039ea7e1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -28,7 +27,7 @@ public partial class SubscriptionUpdateParameters /// public SubscriptionUpdateParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionsDelegationSettingsProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionsDelegationSettingsProperties.cs new file mode 100644 index 000000000000..923db369e76f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SubscriptionsDelegationSettingsProperties.cs @@ -0,0 +1,54 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Subscriptions delegation settings properties. + /// + public partial class SubscriptionsDelegationSettingsProperties + { + /// + /// Initializes a new instance of the + /// SubscriptionsDelegationSettingsProperties class. + /// + public SubscriptionsDelegationSettingsProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// SubscriptionsDelegationSettingsProperties class. + /// + /// Enable or disable delegation for + /// subscriptions. + public SubscriptionsDelegationSettingsProperties(bool? enabled = default(bool?)) + { + Enabled = enabled; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets enable or disable delegation for subscriptions. + /// + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagContract.cs new file mode 100644 index 000000000000..a1b2a33496e2 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagContract.cs @@ -0,0 +1,83 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Tag Contract details. + /// + [Rest.Serialization.JsonTransformation] + public partial class TagContract : Resource + { + /// + /// Initializes a new instance of the TagContract class. + /// + public TagContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagContract class. + /// + /// Tag name. + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + public TagContract(string displayName, string id = default(string), string name = default(string), string type = default(string)) + : base(id, name, type) + { + DisplayName = displayName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets tag name. + /// + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DisplayName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DisplayName"); + } + if (DisplayName != null) + { + if (DisplayName.Length > 160) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 160); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagCreateUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagCreateUpdateParameters.cs new file mode 100644 index 000000000000..6bf21e536e8b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagCreateUpdateParameters.cs @@ -0,0 +1,78 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Parameters supplied to Create/Update Tag operations. + /// + [Rest.Serialization.JsonTransformation] + public partial class TagCreateUpdateParameters + { + /// + /// Initializes a new instance of the TagCreateUpdateParameters class. + /// + public TagCreateUpdateParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagCreateUpdateParameters class. + /// + /// Tag name. + public TagCreateUpdateParameters(string displayName) + { + DisplayName = displayName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets tag name. + /// + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (DisplayName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "DisplayName"); + } + if (DisplayName != null) + { + if (DisplayName.Length > 160) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 160); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionContract.cs new file mode 100644 index 000000000000..c2304af9d949 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionContract.cs @@ -0,0 +1,113 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contract details. + /// + [Rest.Serialization.JsonTransformation] + public partial class TagDescriptionContract : Resource + { + /// + /// Initializes a new instance of the TagDescriptionContract class. + /// + public TagDescriptionContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagDescriptionContract class. + /// + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Description of the Tag. + /// Absolute URL of external resources + /// describing the tag. + /// Description of the external + /// resources describing the tag. + /// Tag name. + public TagDescriptionContract(string id = default(string), string name = default(string), string type = default(string), string description = default(string), string externalDocsUrl = default(string), string externalDocsDescription = default(string), string displayName = default(string)) + : base(id, name, type) + { + Description = description; + ExternalDocsUrl = externalDocsUrl; + ExternalDocsDescription = externalDocsDescription; + DisplayName = displayName; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets description of the Tag. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets absolute URL of external resources describing the tag. + /// + [JsonProperty(PropertyName = "properties.externalDocsUrl")] + public string ExternalDocsUrl { get; set; } + + /// + /// Gets or sets description of the external resources describing the + /// tag. + /// + [JsonProperty(PropertyName = "properties.externalDocsDescription")] + public string ExternalDocsDescription { get; set; } + + /// + /// Gets or sets tag name. + /// + [JsonProperty(PropertyName = "properties.displayName")] + public string DisplayName { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ExternalDocsUrl != null) + { + if (ExternalDocsUrl.Length > 2000) + { + throw new ValidationException(ValidationRules.MaxLength, "ExternalDocsUrl", 2000); + } + } + if (DisplayName != null) + { + if (DisplayName.Length > 160) + { + throw new ValidationException(ValidationRules.MaxLength, "DisplayName", 160); + } + if (DisplayName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "DisplayName", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionCreateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionCreateParameters.cs new file mode 100644 index 000000000000..c40b4d65ab8c --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionCreateParameters.cs @@ -0,0 +1,91 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Parameters supplied to the Create TagDescription operation. + /// + [Rest.Serialization.JsonTransformation] + public partial class TagDescriptionCreateParameters + { + /// + /// Initializes a new instance of the TagDescriptionCreateParameters + /// class. + /// + public TagDescriptionCreateParameters() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagDescriptionCreateParameters + /// class. + /// + /// Description of the Tag. + /// Absolute URL of external resources + /// describing the tag. + /// Description of the external + /// resources describing the tag. + public TagDescriptionCreateParameters(string description = default(string), string externalDocsUrl = default(string), string externalDocsDescription = default(string)) + { + Description = description; + ExternalDocsUrl = externalDocsUrl; + ExternalDocsDescription = externalDocsDescription; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets description of the Tag. + /// + [JsonProperty(PropertyName = "properties.description")] + public string Description { get; set; } + + /// + /// Gets or sets absolute URL of external resources describing the tag. + /// + [JsonProperty(PropertyName = "properties.externalDocsUrl")] + public string ExternalDocsUrl { get; set; } + + /// + /// Gets or sets description of the external resources describing the + /// tag. + /// + [JsonProperty(PropertyName = "properties.externalDocsDescription")] + public string ExternalDocsDescription { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (ExternalDocsUrl != null) + { + if (ExternalDocsUrl.Length > 2000) + { + throw new ValidationException(ValidationRules.MaxLength, "ExternalDocsUrl", 2000); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetEntityStateHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetEntityStateHeaders.cs new file mode 100644 index 000000000000..88da060d56d7 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetEntityStateHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityState operation. + /// + public partial class TagDescriptionGetEntityStateHeaders + { + /// + /// Initializes a new instance of the + /// TagDescriptionGetEntityStateHeaders class. + /// + public TagDescriptionGetEntityStateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// TagDescriptionGetEntityStateHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagDescriptionGetEntityStateHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetHeaders.cs new file mode 100644 index 000000000000..6b4f43d29e20 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagDescriptionGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class TagDescriptionGetHeaders + { + /// + /// Initializes a new instance of the TagDescriptionGetHeaders class. + /// + public TagDescriptionGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagDescriptionGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagDescriptionGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByApiHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByApiHeaders.cs new file mode 100644 index 000000000000..23b0a5ea8aa9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByApiHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetByApi operation. + /// + public partial class TagGetByApiHeaders + { + /// + /// Initializes a new instance of the TagGetByApiHeaders class. + /// + public TagGetByApiHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetByApiHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetByApiHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByOperationHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByOperationHeaders.cs new file mode 100644 index 000000000000..6ddfe87a1a8d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByOperationHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetByOperation operation. + /// + public partial class TagGetByOperationHeaders + { + /// + /// Initializes a new instance of the TagGetByOperationHeaders class. + /// + public TagGetByOperationHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetByOperationHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetByOperationHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByProductHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByProductHeaders.cs new file mode 100644 index 000000000000..f098e21a9051 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetByProductHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetByProduct operation. + /// + public partial class TagGetByProductHeaders + { + /// + /// Initializes a new instance of the TagGetByProductHeaders class. + /// + public TagGetByProductHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetByProductHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetByProductHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByApiHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByApiHeaders.cs new file mode 100644 index 000000000000..2521323bdb29 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByApiHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityStateByApi operation. + /// + public partial class TagGetEntityStateByApiHeaders + { + /// + /// Initializes a new instance of the TagGetEntityStateByApiHeaders + /// class. + /// + public TagGetEntityStateByApiHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetEntityStateByApiHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetEntityStateByApiHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByOperationHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByOperationHeaders.cs new file mode 100644 index 000000000000..d1a86ce2271d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByOperationHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityStateByOperation operation. + /// + public partial class TagGetEntityStateByOperationHeaders + { + /// + /// Initializes a new instance of the + /// TagGetEntityStateByOperationHeaders class. + /// + public TagGetEntityStateByOperationHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the + /// TagGetEntityStateByOperationHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetEntityStateByOperationHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByProductHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByProductHeaders.cs new file mode 100644 index 000000000000..84306f38f09f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateByProductHeaders.cs @@ -0,0 +1,55 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityStateByProduct operation. + /// + public partial class TagGetEntityStateByProductHeaders + { + /// + /// Initializes a new instance of the TagGetEntityStateByProductHeaders + /// class. + /// + public TagGetEntityStateByProductHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetEntityStateByProductHeaders + /// class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetEntityStateByProductHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateHeaders.cs new file mode 100644 index 000000000000..7f0b7125e288 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetEntityStateHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityState operation. + /// + public partial class TagGetEntityStateHeaders + { + /// + /// Initializes a new instance of the TagGetEntityStateHeaders class. + /// + public TagGetEntityStateHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetEntityStateHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetEntityStateHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetHeaders.cs new file mode 100644 index 000000000000..39d123fd1f56 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagGetHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for Get operation. + /// + public partial class TagGetHeaders + { + /// + /// Initializes a new instance of the TagGetHeaders class. + /// + public TagGetHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagGetHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public TagGetHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagResourceContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagResourceContract.cs new file mode 100644 index 000000000000..ccfdb809b4fc --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagResourceContract.cs @@ -0,0 +1,101 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// TagResource contract properties. + /// + public partial class TagResourceContract + { + /// + /// Initializes a new instance of the TagResourceContract class. + /// + public TagResourceContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagResourceContract class. + /// + /// Tag associated with the resource. + /// Api associated with the tag. + /// Operation associated with the tag. + /// Product associated with the tag. + public TagResourceContract(TagTagResourceContractProperties tag, ApiTagResourceContractProperties api = default(ApiTagResourceContractProperties), OperationTagResourceContractProperties operation = default(OperationTagResourceContractProperties), ProductTagResourceContractProperties product = default(ProductTagResourceContractProperties)) + { + Tag = tag; + Api = api; + Operation = operation; + Product = product; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets tag associated with the resource. + /// + [JsonProperty(PropertyName = "tag")] + public TagTagResourceContractProperties Tag { get; set; } + + /// + /// Gets or sets api associated with the tag. + /// + [JsonProperty(PropertyName = "api")] + public ApiTagResourceContractProperties Api { get; set; } + + /// + /// Gets or sets operation associated with the tag. + /// + [JsonProperty(PropertyName = "operation")] + public OperationTagResourceContractProperties Operation { get; set; } + + /// + /// Gets or sets product associated with the tag. + /// + [JsonProperty(PropertyName = "product")] + public ProductTagResourceContractProperties Product { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Tag == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "Tag"); + } + if (Tag != null) + { + Tag.Validate(); + } + if (Api != null) + { + Api.Validate(); + } + if (Product != null) + { + Product.Validate(); + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagTagResourceContractProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagTagResourceContractProperties.cs new file mode 100644 index 000000000000..a0c8b4332eb9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TagTagResourceContractProperties.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Microsoft.Rest; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Contract defining the Tag property in the Tag Resource Contract + /// + public partial class TagTagResourceContractProperties + { + /// + /// Initializes a new instance of the TagTagResourceContractProperties + /// class. + /// + public TagTagResourceContractProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TagTagResourceContractProperties + /// class. + /// + /// Tag identifier + /// Tag Name + public TagTagResourceContractProperties(string id = default(string), string name = default(string)) + { + Id = id; + Name = name; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets tag identifier + /// + [JsonProperty(PropertyName = "id")] + public string Id { get; set; } + + /// + /// Gets or sets tag Name + /// + [JsonProperty(PropertyName = "name")] + public string Name { get; set; } + + /// + /// Validate the object. + /// + /// + /// Thrown if validation fails + /// + public virtual void Validate() + { + if (Name != null) + { + if (Name.Length > 160) + { + throw new ValidationException(ValidationRules.MaxLength, "Name", 160); + } + if (Name.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "Name", 1); + } + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TemplateName.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TemplateName.cs index 46a6feb5487c..2a12fa33fcee 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TemplateName.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TemplateName.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; /// /// Defines values for TemplateName. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGetHeaders.cs index 778bed9943de..ceb9c8657660 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class TenantAccessGetHeaders /// public TenantAccessGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGitGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGitGetHeaders.cs index 74e001201c8a..ba195019d71d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGitGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantAccessGitGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class TenantAccessGitGetHeaders /// public TenantAccessGitGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantConfigurationSyncStateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantConfigurationSyncStateContract.cs index fa9a8df65a60..8a19eb0504b2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantConfigurationSyncStateContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TenantConfigurationSyncStateContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class TenantConfigurationSyncStateContract /// public TenantConfigurationSyncStateContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TermsOfServiceProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TermsOfServiceProperties.cs new file mode 100644 index 000000000000..34e0b35e76e5 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TermsOfServiceProperties.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. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Terms of service contract properties. + /// + public partial class TermsOfServiceProperties + { + /// + /// Initializes a new instance of the TermsOfServiceProperties class. + /// + public TermsOfServiceProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the TermsOfServiceProperties class. + /// + /// A terms of service text. + /// Display terms of service during a sign-up + /// process. + /// Ask user for consent to the terms of + /// service. + public TermsOfServiceProperties(string text = default(string), bool? enabled = default(bool?), bool? consentRequired = default(bool?)) + { + Text = text; + Enabled = enabled; + ConsentRequired = consentRequired; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets a terms of service text. + /// + [JsonProperty(PropertyName = "text")] + public string Text { get; set; } + + /// + /// Gets or sets display terms of service during a sign-up process. + /// + [JsonProperty(PropertyName = "enabled")] + public bool? Enabled { get; set; } + + /// + /// Gets or sets ask user for consent to the terms of service. + /// + [JsonProperty(PropertyName = "consentRequired")] + public bool? ConsentRequired { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TokenBodyParameterContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TokenBodyParameterContract.cs index 60a1f275d066..a4a5685cfdc6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TokenBodyParameterContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/TokenBodyParameterContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -25,7 +24,7 @@ public partial class TokenBodyParameterContract /// public TokenBodyParameterContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserContract.cs index 3963f4b9212e..67bb1c34847f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class UserContract : Resource /// public UserContract() { - CustomInit(); + CustomInit(); } /// @@ -42,7 +41,8 @@ public UserContract() /// Account state. Specifies whether the user is /// active or not. Blocked users are unable to sign into the developer /// portal or call any APIs of subscribed products. Default state is - /// Active. Possible values include: 'active', 'blocked' + /// Active. Possible values include: 'active', 'blocked', 'pending', + /// 'deleted' /// Optional note about a user set by the /// administrator. /// Collection of user identities. @@ -54,7 +54,7 @@ public UserContract() /// specified by the ISO 8601 standard. /// /// Collection of groups user is part of. - public UserContract(string id = default(string), string name = default(string), string type = default(string), UserState? state = default(UserState?), string note = default(string), IList identities = default(IList), string firstName = default(string), string lastName = default(string), string email = default(string), System.DateTime? registrationDate = default(System.DateTime?), IList groups = default(IList)) + public UserContract(string id = default(string), string name = default(string), string type = default(string), string state = default(string), string note = default(string), IList identities = default(IList), string firstName = default(string), string lastName = default(string), string email = default(string), System.DateTime? registrationDate = default(System.DateTime?), IList groups = default(IList)) : base(id, name, type) { State = state; @@ -77,10 +77,10 @@ public UserContract() /// Gets or sets account state. Specifies whether the user is active or /// not. Blocked users are unable to sign into the developer portal or /// call any APIs of subscribed products. Default state is Active. - /// Possible values include: 'active', 'blocked' + /// Possible values include: 'active', 'blocked', 'pending', 'deleted' /// [JsonProperty(PropertyName = "properties.state")] - public UserState? State { get; set; } + public string State { get; set; } /// /// Gets or sets optional note about a user set by the administrator. @@ -125,7 +125,7 @@ public UserContract() /// Gets collection of groups user is part of. /// [JsonProperty(PropertyName = "properties.groups")] - public IList Groups { get; private set; } + public IList Groups { get; private set; } } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserCreateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserCreateParameters.cs index aa9d3e46b370..647895867a0f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserCreateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserCreateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class UserCreateParameters /// public UserCreateParameters() { - CustomInit(); + CustomInit(); } /// @@ -42,13 +41,17 @@ public UserCreateParameters() /// Account state. Specifies whether the user is /// active or not. Blocked users are unable to sign into the developer /// portal or call any APIs of subscribed products. Default state is - /// Active. Possible values include: 'active', 'blocked' + /// Active. Possible values include: 'active', 'blocked', 'pending', + /// 'deleted' /// Optional note about a user set by the /// administrator. /// Collection of user identities. /// User Password. If no value is provided, a /// default password is generated. - public UserCreateParameters(string email, string firstName, string lastName, UserState? state = default(UserState?), string note = default(string), IList identities = default(IList), string password = default(string)) + /// Determines the type of confirmation + /// e-mail that will be sent to the newly created user. Possible values + /// include: 'signup', 'invite' + public UserCreateParameters(string email, string firstName, string lastName, string state = default(string), string note = default(string), IList identities = default(IList), string password = default(string), string confirmation = default(string)) { State = state; Note = note; @@ -57,6 +60,7 @@ public UserCreateParameters() FirstName = firstName; LastName = lastName; Password = password; + Confirmation = confirmation; CustomInit(); } @@ -69,10 +73,10 @@ public UserCreateParameters() /// Gets or sets account state. Specifies whether the user is active or /// not. Blocked users are unable to sign into the developer portal or /// call any APIs of subscribed products. Default state is Active. - /// Possible values include: 'active', 'blocked' + /// Possible values include: 'active', 'blocked', 'pending', 'deleted' /// [JsonProperty(PropertyName = "properties.state")] - public UserState? State { get; set; } + public string State { get; set; } /// /// Gets or sets optional note about a user set by the administrator. @@ -112,6 +116,14 @@ public UserCreateParameters() [JsonProperty(PropertyName = "properties.password")] public string Password { get; set; } + /// + /// Gets or sets determines the type of confirmation e-mail that will + /// be sent to the newly created user. Possible values include: + /// 'signup', 'invite' + /// + [JsonProperty(PropertyName = "properties.confirmation")] + public string Confirmation { get; set; } + /// /// Validate the object. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserEntityBaseParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserEntityBaseParameters.cs index ae4d930ef285..e22c96cceec4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserEntityBaseParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserEntityBaseParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Collections; using System.Collections.Generic; @@ -26,7 +25,7 @@ public partial class UserEntityBaseParameters /// public UserEntityBaseParameters() { - CustomInit(); + CustomInit(); } /// @@ -35,11 +34,12 @@ public UserEntityBaseParameters() /// Account state. Specifies whether the user is /// active or not. Blocked users are unable to sign into the developer /// portal or call any APIs of subscribed products. Default state is - /// Active. Possible values include: 'active', 'blocked' + /// Active. Possible values include: 'active', 'blocked', 'pending', + /// 'deleted' /// Optional note about a user set by the /// administrator. /// Collection of user identities. - public UserEntityBaseParameters(UserState? state = default(UserState?), string note = default(string), IList identities = default(IList)) + public UserEntityBaseParameters(string state = default(string), string note = default(string), IList identities = default(IList)) { State = state; Note = note; @@ -56,10 +56,10 @@ public UserEntityBaseParameters() /// Gets or sets account state. Specifies whether the user is active or /// not. Blocked users are unable to sign into the developer portal or /// call any APIs of subscribed products. Default state is Active. - /// Possible values include: 'active', 'blocked' + /// Possible values include: 'active', 'blocked', 'pending', 'deleted' /// [JsonProperty(PropertyName = "state")] - public UserState? State { get; set; } + public string State { get; set; } /// /// Gets or sets optional note about a user set by the administrator. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetEntityTagHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetEntityTagHeaders.cs new file mode 100644 index 000000000000..169a3d0d3dce --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetEntityTagHeaders.cs @@ -0,0 +1,53 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// Defines headers for GetEntityTag operation. + /// + public partial class UserGetEntityTagHeaders + { + /// + /// Initializes a new instance of the UserGetEntityTagHeaders class. + /// + public UserGetEntityTagHeaders() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the UserGetEntityTagHeaders class. + /// + /// Current entity state version. Should be treated + /// as opaque and used to make conditional HTTP requests. + public UserGetEntityTagHeaders(string eTag = default(string)) + { + ETag = eTag; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets current entity state version. Should be treated as + /// opaque and used to make conditional HTTP requests. + /// + [JsonProperty(PropertyName = "ETag")] + public string ETag { get; set; } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetHeaders.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetHeaders.cs index a00ac7775e58..2bf60c2e64c9 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetHeaders.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserGetHeaders.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class UserGetHeaders /// public UserGetHeaders() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityContract.cs index 07753b07c2bb..243cd94774c6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserIdentityContract.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class UserIdentityContract /// public UserIdentityContract() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserState.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserState.cs index 740bb24b0ae1..e08e7aef57fc 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserState.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserState.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,55 +6,34 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for UserState. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum UserState + public static class UserState { - [EnumMember(Value = "active")] - Active, - [EnumMember(Value = "blocked")] - Blocked - } - internal static class UserStateEnumExtension - { - internal static string ToSerializedValue(this UserState? value) => - value == null ? null : ((UserState)value).ToSerializedValue(); - - internal static string ToSerializedValue(this UserState value) - { - switch( value ) - { - case UserState.Active: - return "active"; - case UserState.Blocked: - return "blocked"; - } - return null; - } - - internal static UserState? ParseUserState(this string value) - { - switch( value ) - { - case "active": - return UserState.Active; - case "blocked": - return UserState.Blocked; - } - return null; - } + /// + /// User state is active. + /// + public const string Active = "active"; + /// + /// User is blocked. Blocked users cannot authenticate at developer + /// portal or call API. + /// + public const string Blocked = "blocked"; + /// + /// User account is pending. Requires identity confirmation before it + /// can be made active. + /// + public const string Pending = "pending"; + /// + /// User account is closed. All identities and related entities are + /// removed. + /// + public const string Deleted = "deleted"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenParameters.cs index e07de26ffa4f..93a2a31a1826 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class UserTokenParameters /// public UserTokenParameters() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenResult.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenResult.cs index 778b118cb722..46ad7a08286b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenResult.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserTokenResult.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; @@ -24,7 +23,7 @@ public partial class UserTokenResult /// public UserTokenResult() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserUpdateParameters.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserUpdateParameters.cs index 6a687400e415..0a3043d37eb0 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserUpdateParameters.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/UserUpdateParameters.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Microsoft.Rest.Serialization; using Newtonsoft.Json; @@ -29,7 +28,7 @@ public partial class UserUpdateParameters /// public UserUpdateParameters() { - CustomInit(); + CustomInit(); } /// @@ -38,7 +37,8 @@ public UserUpdateParameters() /// Account state. Specifies whether the user is /// active or not. Blocked users are unable to sign into the developer /// portal or call any APIs of subscribed products. Default state is - /// Active. Possible values include: 'active', 'blocked' + /// Active. Possible values include: 'active', 'blocked', 'pending', + /// 'deleted' /// Optional note about a user set by the /// administrator. /// Collection of user identities. @@ -47,7 +47,7 @@ public UserUpdateParameters() /// User Password. /// First name. /// Last name. - public UserUpdateParameters(UserState? state = default(UserState?), string note = default(string), IList identities = default(IList), string email = default(string), string password = default(string), string firstName = default(string), string lastName = default(string)) + public UserUpdateParameters(string state = default(string), string note = default(string), IList identities = default(IList), string email = default(string), string password = default(string), string firstName = default(string), string lastName = default(string)) { State = state; Note = note; @@ -68,10 +68,10 @@ public UserUpdateParameters() /// Gets or sets account state. Specifies whether the user is active or /// not. Blocked users are unable to sign into the developer portal or /// call any APIs of subscribed products. Default state is Active. - /// Possible values include: 'active', 'blocked' + /// Possible values include: 'active', 'blocked', 'pending', 'deleted' /// [JsonProperty(PropertyName = "properties.state")] - public UserState? State { get; set; } + public string State { get; set; } /// /// Gets or sets optional note about a user set by the administrator. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VersioningScheme.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VersioningScheme.cs new file mode 100644 index 000000000000..2e9536533172 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VersioningScheme.cs @@ -0,0 +1,32 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement.Models +{ + + /// + /// Defines values for VersioningScheme. + /// + public static class VersioningScheme + { + /// + /// The API Version is passed in a path segment. + /// + public const string Segment = "Segment"; + /// + /// The API Version is passed in a query parameter. + /// + public const string Query = "Query"; + /// + /// The API Version is passed in a HTTP header. + /// + public const string Header = "Header"; + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkConfiguration.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkConfiguration.cs index 1a74549b482a..dbbf9d18810b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkConfiguration.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkConfiguration.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,12 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Microsoft.Rest; using Newtonsoft.Json; using System.Linq; @@ -27,7 +26,7 @@ public partial class VirtualNetworkConfiguration /// public VirtualNetworkConfiguration() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkType.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkType.cs index 26f9a118b70d..8a6d3dec3b51 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkType.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/VirtualNetworkType.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,61 +6,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; - using Newtonsoft.Json; - using Newtonsoft.Json.Converters; - using System.Runtime; - using System.Runtime.Serialization; /// /// Defines values for VirtualNetworkType. /// - [JsonConverter(typeof(StringEnumConverter))] - public enum VirtualNetworkType + public static class VirtualNetworkType { - [EnumMember(Value = "None")] - None, - [EnumMember(Value = "External")] - External, - [EnumMember(Value = "Internal")] - Internal - } - internal static class VirtualNetworkTypeEnumExtension - { - internal static string ToSerializedValue(this VirtualNetworkType? value) => - value == null ? null : ((VirtualNetworkType)value).ToSerializedValue(); - - internal static string ToSerializedValue(this VirtualNetworkType value) - { - switch( value ) - { - case VirtualNetworkType.None: - return "None"; - case VirtualNetworkType.External: - return "External"; - case VirtualNetworkType.Internal: - return "Internal"; - } - return null; - } - - internal static VirtualNetworkType? ParseVirtualNetworkType(this string value) - { - switch( value ) - { - case "None": - return VirtualNetworkType.None; - case "External": - return VirtualNetworkType.External; - case "Internal": - return VirtualNetworkType.Internal; - } - return null; - } + /// + /// The service is not part of any Virtual Network. + /// + public const string None = "None"; + /// + /// The service is part of Virtual Network and it is accessible from + /// Internet. + /// + public const string External = "External"; + /// + /// The service is part of Virtual Network and it is only accessible + /// from within the virtual network. + /// + public const string Internal = "Internal"; } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/X509CertificateName.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/X509CertificateName.cs index 8d2648dda97d..108fa024e66b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/X509CertificateName.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/X509CertificateName.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,18 +6,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement.Models { - using Microsoft.Azure; - using Microsoft.Azure.Management; - using Microsoft.Azure.Management.ApiManagement; using Newtonsoft.Json; using System.Linq; /// /// Properties of server X509Names. - /// + /// /// public partial class X509CertificateName { @@ -25,7 +26,7 @@ public partial class X509CertificateName /// public X509CertificateName() { - CustomInit(); + CustomInit(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperations.cs index ce12cf8670a7..2536b3e729a6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -82,7 +82,7 @@ internal NetworkStatusOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (Client.SubscriptionId == null) { @@ -226,7 +226,7 @@ internal NetworkStatusOperations(ApiManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -239,7 +239,7 @@ internal NetworkStatusOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperationsExtensions.cs index 3fd2848619c1..665b331e50f6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NetworkStatusOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,14 +6,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; + using System.Collections; + using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -35,7 +37,7 @@ public static partial class NetworkStatusOperationsExtensions /// /// The name of the API Management service. /// - public static NetworkStatusContract ListByService(this INetworkStatusOperations operations, string resourceGroupName, string serviceName) + public static IList ListByService(this INetworkStatusOperations operations, string resourceGroupName, string serviceName) { return operations.ListByServiceAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); } @@ -57,7 +59,7 @@ public static NetworkStatusContract ListByService(this INetworkStatusOperations /// /// The cancellation token. /// - public static async Task ListByServiceAsync(this INetworkStatusOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByServiceAsync(this INetworkStatusOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperations.cs new file mode 100644 index 000000000000..f6a207a7b6a9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperations.cs @@ -0,0 +1,915 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationOperations operations. + /// + internal partial class NotificationOperations : IServiceOperations, INotificationOperations + { + /// + /// Initializes a new instance of the NotificationOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NotificationOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Number of records to return. + /// + /// + /// Number of records to skip. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, int? top = default(int?), int? skip = default(int?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (top < 1) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "top", 1); + } + if (skip < 0) + { + throw new ValidationException(ValidationRules.InclusiveMinimum, "skip", 0); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("top", top); + tracingParameters.Add("skip", skip); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (top != null) + { + _queryParameters.Add(string.Format("$top={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(top, Client.SerializationSettings).Trim('"')))); + } + if (skip != null) + { + _queryParameters.Add(string.Format("$skip={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(skip, Client.SerializationSettings).Trim('"')))); + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the Notification specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates an Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperationsExtensions.cs new file mode 100644 index 000000000000..d9500f08fa5b --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationOperationsExtensions.cs @@ -0,0 +1,231 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for NotificationOperations. + /// + public static partial class NotificationOperationsExtensions + { + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Number of records to return. + /// + /// + /// Number of records to skip. + /// + public static IPage ListByService(this INotificationOperations operations, string resourceGroupName, string serviceName, int? top = default(int?), int? skip = default(int?)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, top, skip).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Number of records to return. + /// + /// + /// Number of records to skip. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this INotificationOperations operations, string resourceGroupName, string serviceName, int? top = default(int?), int? skip = default(int?), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, top, skip, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the details of the Notification specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + public static NotificationContract Get(this INotificationOperations operations, string resourceGroupName, string serviceName, string notificationName) + { + return operations.GetAsync(resourceGroupName, serviceName, notificationName).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the Notification specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this INotificationOperations operations, string resourceGroupName, string serviceName, string notificationName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates an Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static NotificationContract CreateOrUpdate(this INotificationOperations operations, string resourceGroupName, string serviceName, string notificationName, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, notificationName, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates an Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this INotificationOperations operations, string resourceGroupName, string serviceName, string notificationName, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this INotificationOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of properties defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this INotificationOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperations.cs new file mode 100644 index 000000000000..2d332f8ef319 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperations.cs @@ -0,0 +1,939 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationRecipientEmailOperations operations. + /// + internal partial class NotificationRecipientEmailOperations : IServiceOperations, INotificationRecipientEmailOperations + { + /// + /// Initializes a new instance of the NotificationRecipientEmailOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NotificationRecipientEmailOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the list of the Notification Recipient Emails subscribed to a + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListByNotificationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByNotification", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Determine if Notification Recipient Email subscribed to the notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (email == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "email"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("email", email); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{email}", System.Uri.EscapeDataString(email)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Adds the Email address to the list of Recipients for the Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (email == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "email"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("email", email); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{email}", System.Uri.EscapeDataString(email)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Removes the email from the list of Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string email, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (email == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "email"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("email", email); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientEmails/{email}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{email}", System.Uri.EscapeDataString(email)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperationsExtensions.cs new file mode 100644 index 000000000000..6c527c34b097 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientEmailOperationsExtensions.cs @@ -0,0 +1,266 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for NotificationRecipientEmailOperations. + /// + public static partial class NotificationRecipientEmailOperationsExtensions + { + /// + /// Gets the list of the Notification Recipient Emails subscribed to a + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + public static RecipientEmailCollection ListByNotification(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName) + { + return operations.ListByNotificationAsync(resourceGroupName, serviceName, notificationName).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of the Notification Recipient Emails subscribed to a + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The cancellation token. + /// + public static async Task ListByNotificationAsync(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByNotificationWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Determine if Notification Recipient Email subscribed to the notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + public static bool CheckEntityExists(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, notificationName, email).GetAwaiter().GetResult(); + } + + /// + /// Determine if Notification Recipient Email subscribed to the notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, email, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Adds the Email address to the list of Recipients for the Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + public static RecipientEmailContract CreateOrUpdate(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, notificationName, email).GetAwaiter().GetResult(); + } + + /// + /// Adds the Email address to the list of Recipients for the Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, email, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Removes the email from the list of Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + public static void Delete(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email) + { + operations.DeleteAsync(resourceGroupName, serviceName, notificationName, email).GetAwaiter().GetResult(); + } + + /// + /// Removes the email from the list of Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Email identifier. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this INotificationRecipientEmailOperations operations, string resourceGroupName, string serviceName, string notificationName, string email, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, email, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperations.cs new file mode 100644 index 000000000000..eb359c0b493e --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperations.cs @@ -0,0 +1,989 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// NotificationRecipientUserOperations operations. + /// + internal partial class NotificationRecipientUserOperations : IServiceOperations, INotificationRecipientUserOperations + { + /// + /// Initializes a new instance of the NotificationRecipientUserOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal NotificationRecipientUserOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the list of the Notification Recipient User subscribed to the + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> ListByNotificationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByNotification", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Determine if the Notification Recipient User is subscribed to the + /// notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (uid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "uid"); + } + if (uid != null) + { + if (uid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); + } + if (uid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "uid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("uid", uid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{uid}", System.Uri.EscapeDataString(uid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Adds the API Management User to the list of Recipients for the + /// Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (uid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "uid"); + } + if (uid != null) + { + if (uid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); + } + if (uid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "uid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("uid", uid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{uid}", System.Uri.EscapeDataString(uid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Removes the API Management user from the list of Notification. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string notificationName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (notificationName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "notificationName"); + } + if (uid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "uid"); + } + if (uid != null) + { + if (uid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); + } + if (uid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "uid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("notificationName", notificationName); + tracingParameters.Add("uid", uid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/notifications/{notificationName}/recipientUsers/{uid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{notificationName}", System.Uri.EscapeDataString(notificationName)); + _url = _url.Replace("{uid}", System.Uri.EscapeDataString(uid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperationsExtensions.cs new file mode 100644 index 000000000000..7e9fcb6bffe1 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/NotificationRecipientUserOperationsExtensions.cs @@ -0,0 +1,276 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for NotificationRecipientUserOperations. + /// + public static partial class NotificationRecipientUserOperationsExtensions + { + /// + /// Gets the list of the Notification Recipient User subscribed to the + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + public static RecipientUserCollection ListByNotification(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName) + { + return operations.ListByNotificationAsync(resourceGroupName, serviceName, notificationName).GetAwaiter().GetResult(); + } + + /// + /// Gets the list of the Notification Recipient User subscribed to the + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// The cancellation token. + /// + public static async Task ListByNotificationAsync(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByNotificationWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Determine if the Notification Recipient User is subscribed to the + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + public static bool CheckEntityExists(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, notificationName, uid).GetAwaiter().GetResult(); + } + + /// + /// Determine if the Notification Recipient User is subscribed to the + /// notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, uid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Adds the API Management User to the list of Recipients for the + /// Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + public static RecipientUserContract CreateOrUpdate(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, notificationName, uid).GetAwaiter().GetResult(); + } + + /// + /// Adds the API Management User to the list of Recipients for the + /// Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, uid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Removes the API Management user from the list of Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + public static void Delete(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid) + { + operations.DeleteAsync(resourceGroupName, serviceName, notificationName, uid).GetAwaiter().GetResult(); + } + + /// + /// Removes the API Management user from the list of Notification. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Notification Name Identifier. Possible values include: + /// 'RequestPublisherNotificationMessage', + /// 'PurchasePublisherNotificationMessage', + /// 'NewApplicationNotificationMessage', 'BCC', + /// 'NewIssuePublisherNotificationMessage', 'AccountClosedPublisher', + /// 'QuotaLimitApproachingPublisherNotificationMessage' + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this INotificationRecipientUserOperations operations, string resourceGroupName, string serviceName, string notificationName, string uid, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, notificationName, uid, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperations.cs index 689a552c1b91..4edcbfeca178 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -255,7 +255,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -274,6 +274,225 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the openIdConnectProvider specified + /// by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the OpenID Connect Provider. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (opid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "opid"); + } + if (opid != null) + { + if (opid.Length > 256) + { + throw new ValidationException(ValidationRules.MaxLength, "opid", 256); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(opid, "^[^*#&+:<>?]+$")) + { + throw new ValidationException(ValidationRules.Pattern, "opid", "^[^*#&+:<>?]+$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("opid", opid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/openidConnectProviders/{opid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{opid}", System.Uri.EscapeDataString(opid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets specific OpenID Connect Provider. /// @@ -528,6 +747,10 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -549,7 +772,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -616,6 +839,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("opid", opid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -645,6 +869,14 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -695,7 +927,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -733,7 +965,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -751,7 +983,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -791,9 +1023,9 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1026,9 +1258,9 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) /// Identifier of the OpenID Connect Provider. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1192,7 +1424,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1390,7 +1622,7 @@ internal OpenIdConnectProviderOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperationsExtensions.cs index 162e32e125d9..92b699d1c468 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OpenIdConnectProviderOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -39,7 +39,7 @@ public static partial class OpenIdConnectProviderOperationsExtensions /// public static IPage ListByService(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IOpenIdConnectProviderOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -68,6 +68,54 @@ public static partial class OpenIdConnectProviderOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the openIdConnectProvider specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the OpenID Connect Provider. + /// + public static OpenIdConnectProviderGetEntityTagHeaders GetEntityTag(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, opid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the openIdConnectProvider specified + /// by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the OpenID Connect Provider. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, opid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets specific OpenID Connect Provider. /// @@ -132,9 +180,13 @@ public static OpenidConnectProviderContract Get(this IOpenIdConnectProviderOpera /// /// Create parameters. /// - public static OpenidConnectProviderContract CreateOrUpdate(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static OpenidConnectProviderContract CreateOrUpdate(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, opid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, opid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -155,12 +207,16 @@ public static OpenidConnectProviderContract CreateOrUpdate(this IOpenIdConnectPr /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, OpenidConnectProviderContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, opid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, opid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -185,9 +241,9 @@ public static OpenidConnectProviderContract CreateOrUpdate(this IOpenIdConnectPr /// Update parameters. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, OpenidConnectProviderUpdateContract parameters, string ifMatch) { @@ -213,9 +269,9 @@ public static void Update(this IOpenIdConnectProviderOperations operations, stri /// Update parameters. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to update. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -242,9 +298,9 @@ public static void Update(this IOpenIdConnectProviderOperations operations, stri /// Identifier of the OpenID Connect Provider. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IOpenIdConnectProviderOperations operations, string resourceGroupName, string serviceName, string opid, string ifMatch) { @@ -268,9 +324,9 @@ public static void Delete(this IOpenIdConnectProviderOperations operations, stri /// Identifier of the OpenID Connect Provider. /// /// - /// The entity state (Etag) version of the OpenID Connect Provider to delete. A - /// value of "*" can be used for If-Match to unconditionally apply the - /// operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperations.cs new file mode 100644 index 000000000000..5ce7fbd17c30 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperations.cs @@ -0,0 +1,476 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// OperationOperations operations. + /// + internal partial class OperationOperations : IServiceOperations, IOperationOperations + { + /// + /// Initializes a new instance of the OperationOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal OperationOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByTagsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByTags", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operationsByTags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByTagsNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByTagsNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperationsExtensions.cs new file mode 100644 index 000000000000..a39aff416519 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/OperationOperationsExtensions.cs @@ -0,0 +1,114 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for OperationOperations. + /// + public static partial class OperationOperationsExtensions + { + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByTags(this IOperationOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByTagsAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByTagsAsync(this IOperationOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByTagsWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByTagsNext(this IOperationOperations operations, string nextPageLink) + { + return operations.ListByTagsNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of operations associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByTagsNextAsync(this IOperationOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByTagsNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperations.cs index d27e7ad75e24..d45110078235 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -270,6 +270,208 @@ internal PolicyOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the Global policy definition in the + /// Api Management service. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + string policyId = "policy"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("policyId", policyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{policyId}", System.Uri.EscapeDataString(policyId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Get the Global policy definition of the Api Management service. /// @@ -658,7 +860,7 @@ internal PolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -696,7 +898,7 @@ internal PolicyOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -714,7 +916,7 @@ internal PolicyOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -748,8 +950,9 @@ internal PolicyOperations(ApiManagementClient client) /// The name of the API Management service. /// /// - /// The entity state (Etag) version of the policy to be deleted. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -899,7 +1102,7 @@ internal PolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperationsExtensions.cs index bb47686b7ed6..d5d73009ca18 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicyOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -69,6 +69,48 @@ public static partial class PolicyOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the Global policy definition in the + /// Api Management service. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static PolicyGetEntityTagHeaders GetEntityTag(this IPolicyOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the Global policy definition in the + /// Api Management service. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IPolicyOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Get the Global policy definition of the Api Management service. /// @@ -170,8 +212,9 @@ public static PolicyContract CreateOrUpdate(this IPolicyOperations operations, s /// The name of the API Management service. /// /// - /// The entity state (Etag) version of the policy to be deleted. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IPolicyOperations operations, string resourceGroupName, string serviceName, string ifMatch) { @@ -191,8 +234,9 @@ public static void Delete(this IPolicyOperations operations, string resourceGrou /// The name of the API Management service. /// /// - /// The entity state (Etag) version of the policy to be deleted. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperations.cs index 280912825e42..768542a43758 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperationsExtensions.cs index 7093daa618a3..3eb36f32bace 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PolicySnippetsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperations.cs index fe42030a5e8d..909cdc8dabfd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -119,17 +119,17 @@ internal ProductApiOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -275,7 +275,7 @@ internal ProductApiOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -294,6 +294,243 @@ internal ProductApiOperations(ApiManagementClient client) return _result; } + /// + /// Checks that API entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string apiId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/apis/{apiId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Adds an API to the specified product. /// @@ -363,17 +600,17 @@ internal ProductApiOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (apiId == null) @@ -382,17 +619,17 @@ internal ProductApiOperations(ApiManagementClient client) } if (apiId != null) { - if (apiId.Length > 256) + if (apiId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); } if (apiId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -488,7 +725,7 @@ internal ProductApiOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -526,7 +763,7 @@ internal ProductApiOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -544,7 +781,7 @@ internal ProductApiOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -634,17 +871,17 @@ internal ProductApiOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (apiId == null) @@ -653,17 +890,17 @@ internal ProductApiOperations(ApiManagementClient client) } if (apiId != null) { - if (apiId.Length > 256) + if (apiId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "apiId", 256); + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); } if (apiId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "apiId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "apiId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -759,7 +996,7 @@ internal ProductApiOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -952,7 +1189,7 @@ internal ProductApiOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperationsExtensions.cs index 1d9ede23ed7d..d00574872150 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductApiOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -43,7 +43,7 @@ public static partial class ProductApiOperationsExtensions /// public static IPage ListByProduct(this IProductApiOperations operations, string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery)) { - return ((IProductApiOperations)operations).ListByProductAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); + return operations.ListByProductAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); } /// @@ -76,6 +76,64 @@ public static partial class ProductApiOperationsExtensions } } + /// + /// Checks that API entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + public static bool CheckEntityExists(this IProductApiOperations operations, string resourceGroupName, string serviceName, string productId, string apiId) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, productId, apiId).GetAwaiter().GetResult(); + } + + /// + /// Checks that API entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this IProductApiOperations operations, string resourceGroupName, string serviceName, string productId, string apiId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, productId, apiId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Adds an API to the specified product. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperations.cs index 9e056933ec7d..580a6e752fe8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -120,17 +120,17 @@ internal ProductGroupOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -276,7 +276,7 @@ internal ProductGroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -295,6 +295,243 @@ internal ProductGroupOperations(ApiManagementClient client) return _result; } + /// + /// Checks that Group entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CheckEntityExistsWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string groupId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (groupId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "groupId"); + } + if (groupId != null) + { + if (groupId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); + } + if (groupId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "groupId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("groupId", groupId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CheckEntityExists", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/groups/{groupId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{groupId}", System.Uri.EscapeDataString(groupId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204 && (int)_statusCode != 404) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + _result.Body = _statusCode == System.Net.HttpStatusCode.NoContent; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Adds the association between the specified developer group with the /// specified product. @@ -365,17 +602,17 @@ internal ProductGroupOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (groupId == null) @@ -384,17 +621,17 @@ internal ProductGroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -490,7 +727,7 @@ internal ProductGroupOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -528,7 +765,7 @@ internal ProductGroupOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -546,7 +783,7 @@ internal ProductGroupOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -636,17 +873,17 @@ internal ProductGroupOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (groupId == null) @@ -655,17 +892,17 @@ internal ProductGroupOperations(ApiManagementClient client) } if (groupId != null) { - if (groupId.Length > 256) + if (groupId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "groupId", 256); + throw new ValidationException(ValidationRules.MaxLength, "groupId", 80); } if (groupId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "groupId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(groupId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "groupId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "groupId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -761,7 +998,7 @@ internal ProductGroupOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -955,7 +1192,7 @@ internal ProductGroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperationsExtensions.cs index ce343ab92c12..c2d3e8d646c2 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductGroupOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -44,7 +44,7 @@ public static partial class ProductGroupOperationsExtensions /// public static IPage ListByProduct(this IProductGroupOperations operations, string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery)) { - return ((IProductGroupOperations)operations).ListByProductAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); + return operations.ListByProductAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); } /// @@ -78,6 +78,64 @@ public static partial class ProductGroupOperationsExtensions } } + /// + /// Checks that Group entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + public static bool CheckEntityExists(this IProductGroupOperations operations, string resourceGroupName, string serviceName, string productId, string groupId) + { + return operations.CheckEntityExistsAsync(resourceGroupName, serviceName, productId, groupId).GetAwaiter().GetResult(); + } + + /// + /// Checks that Group entity specified by identifier is associated with the + /// Product entity. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Group identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task CheckEntityExistsAsync(this IProductGroupOperations operations, string resourceGroupName, string serviceName, string productId, string groupId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CheckEntityExistsWithHttpMessagesAsync(resourceGroupName, serviceName, productId, groupId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + /// /// Adds the association between the specified developer group with the /// specified product. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperations.cs index 91177c33b8b0..61c6a329f116 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -259,7 +259,7 @@ internal ProductOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -278,6 +278,230 @@ internal ProductOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the product specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the product specified by its identifier. /// @@ -343,17 +567,17 @@ internal ProductOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -538,6 +762,10 @@ internal ProductOperations(ApiManagementClient client) /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -559,7 +787,7 @@ internal ProductOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ProductContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ProductContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -590,17 +818,17 @@ internal ProductOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -630,6 +858,7 @@ internal ProductOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("productId", productId); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -659,6 +888,14 @@ internal ProductOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -709,7 +946,7 @@ internal ProductOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -747,7 +984,7 @@ internal ProductOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -765,7 +1002,7 @@ internal ProductOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -806,8 +1043,8 @@ internal ProductOperations(ApiManagementClient client) /// Update parameters. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// @@ -859,17 +1096,17 @@ internal ProductOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1045,12 +1282,12 @@ internal ProductOperations(ApiManagementClient client) /// instance. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// - /// Delete existing subscriptions to the product or not. + /// Delete existing subscriptions associated with the product or not. /// /// /// Headers that will be added to request. @@ -1101,17 +1338,17 @@ internal ProductOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1223,7 +1460,7 @@ internal ProductOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1416,7 +1653,7 @@ internal ProductOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperationsExtensions.cs index b63e82b952b8..7e76c51b689b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -43,7 +43,7 @@ public static partial class ProductOperationsExtensions /// public static IPage ListByService(this IProductOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), bool? expandGroups = default(bool?)) { - return ((IProductOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery, expandGroups).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery, expandGroups).GetAwaiter().GetResult(); } /// @@ -76,6 +76,56 @@ public static partial class ProductOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the product specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + public static ProductGetEntityTagHeaders GetEntityTag(this IProductOperations operations, string resourceGroupName, string serviceName, string productId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, productId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the product specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, productId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the product specified by its identifier. /// @@ -143,9 +193,13 @@ public static ProductContract Get(this IProductOperations operations, string res /// /// Create or update parameters. /// - public static ProductContract CreateOrUpdate(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, ProductContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static ProductContract CreateOrUpdate(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, ProductContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, productId, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, productId, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -167,12 +221,16 @@ public static ProductContract CreateOrUpdate(this IProductOperations operations, /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, ProductContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, ProductContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, productId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, productId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -198,8 +256,8 @@ public static ProductContract CreateOrUpdate(this IProductOperations operations, /// Update parameters. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// public static void Update(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, ProductUpdateParameters parameters, string ifMatch) @@ -227,8 +285,8 @@ public static void Update(this IProductOperations operations, string resourceGro /// Update parameters. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// @@ -256,12 +314,12 @@ public static void Update(this IProductOperations operations, string resourceGro /// instance. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// - /// Delete existing subscriptions to the product or not. + /// Delete existing subscriptions associated with the product or not. /// public static void Delete(this IProductOperations operations, string resourceGroupName, string serviceName, string productId, string ifMatch, bool? deleteSubscriptions = default(bool?)) { @@ -285,12 +343,12 @@ public static void Update(this IProductOperations operations, string resourceGro /// instance. /// /// - /// ETag of the Product Entity. ETag should match the current entity state from - /// the header response of the GET request or it should be * for unconditional + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional /// update. /// /// - /// Delete existing subscriptions to the product or not. + /// Delete existing subscriptions associated with the product or not. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperations.cs index 146a3ba77b3a..ebbd71516e52 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -123,17 +123,17 @@ internal ProductPolicyOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } // Tracing @@ -294,6 +294,232 @@ internal ProductPolicyOperations(ApiManagementClient client) return _result; } + /// + /// Get the ETag of the policy configuration at the Product level. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + string policyId = "policy"; + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("policyId", policyId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/policies/{policyId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{policyId}", System.Uri.EscapeDataString(policyId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Get the policy configuration at the Product level. /// @@ -367,17 +593,17 @@ internal ProductPolicyOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } string policyId = "policy"; @@ -557,6 +783,10 @@ internal ProductPolicyOperations(ApiManagementClient client) /// /// The policy contents to apply. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -578,7 +808,7 @@ internal ProductPolicyOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, PolicyContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, PolicyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -609,17 +839,17 @@ internal ProductPolicyOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -650,6 +880,7 @@ internal ProductPolicyOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("productId", productId); tracingParameters.Add("policyId", policyId); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("parameters", parameters); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); @@ -681,6 +912,14 @@ internal ProductPolicyOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -731,7 +970,7 @@ internal ProductPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -769,7 +1008,7 @@ internal ProductPolicyOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -787,7 +1026,7 @@ internal ProductPolicyOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -825,8 +1064,9 @@ internal ProductPolicyOperations(ApiManagementClient client) /// instance. /// /// - /// The entity state (Etag) version of the product policy to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -877,17 +1117,17 @@ internal ProductPolicyOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -997,7 +1237,7 @@ internal ProductPolicyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperationsExtensions.cs index 20d764fffe72..145ad0326b51 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductPolicyOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -69,6 +69,54 @@ public static PolicyCollection ListByProduct(this IProductPolicyOperations opera } } + /// + /// Get the ETag of the policy configuration at the Product level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + public static ProductPolicyGetEntityTagHeaders GetEntityTag(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, productId).GetAwaiter().GetResult(); + } + + /// + /// Get the ETag of the policy configuration at the Product level. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, productId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Get the policy configuration at the Product level. /// @@ -136,9 +184,13 @@ public static PolicyContract Get(this IProductPolicyOperations operations, strin /// /// The policy contents to apply. /// - public static PolicyContract CreateOrUpdate(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, PolicyContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static PolicyContract CreateOrUpdate(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, PolicyContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, productId, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, productId, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -160,12 +212,16 @@ public static PolicyContract CreateOrUpdate(this IProductPolicyOperations operat /// /// The policy contents to apply. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, PolicyContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, PolicyContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, productId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, productId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -188,8 +244,9 @@ public static PolicyContract CreateOrUpdate(this IProductPolicyOperations operat /// instance. /// /// - /// The entity state (Etag) version of the product policy to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IProductPolicyOperations operations, string resourceGroupName, string serviceName, string productId, string ifMatch) { @@ -213,8 +270,9 @@ public static void Delete(this IProductPolicyOperations operations, string resou /// instance. /// /// - /// The entity state (Etag) version of the product policy to update. A value of - /// "*" can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperations.cs index e992c165ac26..932606034240 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -119,17 +119,17 @@ internal ProductSubscriptionsOperations(ApiManagementClient client) } if (productId != null) { - if (productId.Length > 256) + if (productId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "productId", 256); + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); } if (productId.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "productId", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "productId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -275,7 +275,7 @@ internal ProductSubscriptionsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -443,7 +443,7 @@ internal ProductSubscriptionsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperationsExtensions.cs index 2faa3d5a8d2f..79bf982edbf7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ProductSubscriptionsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -43,7 +43,7 @@ public static partial class ProductSubscriptionsOperationsExtensions /// public static IPage List(this IProductSubscriptionsOperations operations, string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery)) { - return ((IProductSubscriptionsOperations)operations).ListAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperations.cs index 17c99f0237d1..30db5e074a8d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -256,7 +256,7 @@ internal PropertyOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -275,6 +275,225 @@ internal PropertyOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the property specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the property. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (propId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "propId"); + } + if (propId != null) + { + if (propId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "propId", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "propId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("propId", propId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/properties/{propId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{propId}", System.Uri.EscapeDataString(propId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the property specified by its identifier. /// @@ -339,13 +558,13 @@ internal PropertyOperations(ApiManagementClient client) } if (propId != null) { - if (propId.Length > 256) + if (propId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "propId", 256); + throw new ValidationException(ValidationRules.MaxLength, "propId", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "propId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "propId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -529,6 +748,10 @@ internal PropertyOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -550,7 +773,7 @@ internal PropertyOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, PropertyContract parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string propId, PropertyContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -581,13 +804,13 @@ internal PropertyOperations(ApiManagementClient client) } if (propId != null) { - if (propId.Length > 256) + if (propId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "propId", 256); + throw new ValidationException(ValidationRules.MaxLength, "propId", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "propId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "propId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -617,6 +840,7 @@ internal PropertyOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("propId", propId); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -646,6 +870,14 @@ internal PropertyOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -696,7 +928,7 @@ internal PropertyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -734,7 +966,7 @@ internal PropertyOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -752,7 +984,7 @@ internal PropertyOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -792,8 +1024,9 @@ internal PropertyOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -844,13 +1077,13 @@ internal PropertyOperations(ApiManagementClient client) } if (propId != null) { - if (propId.Length > 256) + if (propId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "propId", 256); + throw new ValidationException(ValidationRules.MaxLength, "propId", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "propId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "propId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1025,8 +1258,9 @@ internal PropertyOperations(ApiManagementClient client) /// Identifier of the property. /// /// - /// The entity state (Etag) version of the property to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1077,13 +1311,13 @@ internal PropertyOperations(ApiManagementClient client) } if (propId != null) { - if (propId.Length > 256) + if (propId.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "propId", 256); + throw new ValidationException(ValidationRules.MaxLength, "propId", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(propId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "propId", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "propId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1190,7 +1424,7 @@ internal PropertyOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1389,7 +1623,7 @@ internal PropertyOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperationsExtensions.cs index 612725cbeb44..e0e6bdd3781f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/PropertyOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -40,7 +40,7 @@ public static partial class PropertyOperationsExtensions /// public static IPage ListByService(this IPropertyOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IPropertyOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -70,6 +70,54 @@ public static partial class PropertyOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the property specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the property. + /// + public static PropertyGetEntityTagHeaders GetEntityTag(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, propId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the property specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Identifier of the property. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, propId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the property specified by its identifier. /// @@ -134,9 +182,13 @@ public static PropertyContract Get(this IPropertyOperations operations, string r /// /// Create parameters. /// - public static PropertyContract CreateOrUpdate(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, PropertyContract parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static PropertyContract CreateOrUpdate(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, PropertyContract parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, propId, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, propId, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -157,12 +209,16 @@ public static PropertyContract CreateOrUpdate(this IPropertyOperations operation /// /// Create parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, PropertyContract parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, PropertyContract parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, propId, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, propId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -187,8 +243,9 @@ public static PropertyContract CreateOrUpdate(this IPropertyOperations operation /// Update parameters. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, PropertyUpdateParameters parameters, string ifMatch) { @@ -214,8 +271,9 @@ public static void Update(this IPropertyOperations operations, string resourceGr /// Update parameters. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. @@ -241,8 +299,9 @@ public static void Update(this IPropertyOperations operations, string resourceGr /// Identifier of the property. /// /// - /// The entity state (Etag) version of the property to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this IPropertyOperations operations, string resourceGroupName, string serviceName, string propId, string ifMatch) { @@ -265,8 +324,9 @@ public static void Delete(this IPropertyOperations operations, string resourceGr /// Identifier of the property. /// /// - /// The entity state (Etag) version of the property to delete. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperations.cs index 40ab193b6b88..cb5e6ada246f 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperationsExtensions.cs index a731d133d9be..71d7fd400365 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByCounterKeysOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperations.cs index 1bb1e8255c1f..9a81cc4b24f7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -149,7 +149,7 @@ internal QuotaByPeriodKeysOperations(ApiManagementClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/{quotaPeriodKey}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}").ToString(); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); @@ -382,7 +382,7 @@ internal QuotaByPeriodKeysOperations(ApiManagementClient client) } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/{quotaPeriodKey}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/quotas/{quotaCounterKey}/periods/{quotaPeriodKey}").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); _url = _url.Replace("{quotaCounterKey}", System.Uri.EscapeDataString(quotaCounterKey)); diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperationsExtensions.cs index aed99e368ddf..646531912102 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/QuotaByPeriodKeysOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperations.cs index 7dfde1689f6a..53d090d5dec1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -80,7 +80,7 @@ internal RegionsOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -229,7 +229,180 @@ internal RegionsOperations(ApiManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse>(); + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all azure regions in which the service exists. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperationsExtensions.cs index 2a5a95025f7a..8aa5705a35d7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/RegionsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,16 +6,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; - using System.Collections; - using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; @@ -35,7 +33,7 @@ public static partial class RegionsOperationsExtensions /// /// The name of the API Management service. /// - public static IEnumerable ListByService(this IRegionsOperations operations, string resourceGroupName, string serviceName) + public static IPage ListByService(this IRegionsOperations operations, string resourceGroupName, string serviceName) { return operations.ListByServiceAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); } @@ -55,7 +53,7 @@ public static IEnumerable ListByService(this IRegionsOperations /// /// The cancellation token. /// - public static async Task> ListByServiceAsync(this IRegionsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListByServiceAsync(this IRegionsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) { @@ -63,5 +61,39 @@ public static IEnumerable ListByService(this IRegionsOperations } } + /// + /// Lists all azure regions in which the service exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this IRegionsOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all azure regions in which the service exists. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this IRegionsOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperations.cs index e4200792deed..bf977eebe5d6 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -52,7 +52,7 @@ internal ReportsOperations(ApiManagementClient client) public ApiManagementClient Client { get; private set; } /// - /// Lists report records. + /// Lists report records by API. /// /// /// OData parameters to apply to the operation. @@ -121,7 +121,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byApiId = "byApi"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -132,16 +131,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byApiId", byApiId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByApi", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byApiId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byApi").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byApiId}", System.Uri.EscapeDataString(byApiId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -262,7 +259,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -351,7 +348,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byUserId = "byUser"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -362,16 +358,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byUserId", byUserId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByUser", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byUserId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byUser").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byUserId}", System.Uri.EscapeDataString(byUserId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -492,7 +486,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -581,7 +575,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byOperationId = "byOperation"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -592,16 +585,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byOperationId", byOperationId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByOperation", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byOperationId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byOperation").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byOperationId}", System.Uri.EscapeDataString(byOperationId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -722,7 +713,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -811,7 +802,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byProductId = "byProduct"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -822,16 +812,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byProductId", byProductId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByProduct", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byProductId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byProduct").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byProductId}", System.Uri.EscapeDataString(byProductId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -952,7 +940,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1037,7 +1025,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byGeoId = "byGeo"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1048,16 +1035,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byGeoId", byGeoId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByGeo", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byGeoId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byGeo").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byGeoId}", System.Uri.EscapeDataString(byGeoId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -1178,7 +1163,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1263,7 +1248,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string bySubscriptionId = "bySubscription"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1274,16 +1258,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("bySubscriptionId", bySubscriptionId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListBySubscription", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{bySubscriptionId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/bySubscription").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{bySubscriptionId}", System.Uri.EscapeDataString(bySubscriptionId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -1404,7 +1386,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1496,7 +1478,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byTimeId = "byTime"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1507,17 +1488,15 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byTimeId", byTimeId); tracingParameters.Add("interval", interval); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByTime", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byTimeId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byTime").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byTimeId}", System.Uri.EscapeDataString(byTimeId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -1639,7 +1618,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1728,7 +1707,6 @@ internal ReportsOperations(ApiManagementClient client) { throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); } - string byRequestId = "byRequest"; // Tracing bool _shouldTrace = ServiceClientTracing.IsEnabled; string _invocationId = null; @@ -1739,16 +1717,14 @@ internal ReportsOperations(ApiManagementClient client) tracingParameters.Add("odataQuery", odataQuery); tracingParameters.Add("resourceGroupName", resourceGroupName); tracingParameters.Add("serviceName", serviceName); - tracingParameters.Add("byRequestId", byRequestId); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "ListByRequest", tracingParameters); } // Construct URL var _baseUrl = Client.BaseUri.AbsoluteUri; - var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/{byRequestId}").ToString(); + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/reports/byRequest").ToString(); _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); - _url = _url.Replace("{byRequestId}", System.Uri.EscapeDataString(byRequestId)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); if (odataQuery != null) @@ -1869,7 +1845,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -1889,7 +1865,7 @@ internal ReportsOperations(ApiManagementClient client) } /// - /// Lists report records. + /// Lists report records by API. /// /// /// The NextLink from the previous successful call to List operation. @@ -2042,7 +2018,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2215,7 +2191,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2388,7 +2364,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2561,7 +2537,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2734,7 +2710,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -2907,7 +2883,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -3080,7 +3056,7 @@ internal ReportsOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperationsExtensions.cs index d55f83551452..0cd5de90d3fe 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ReportsOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -25,7 +25,7 @@ namespace Microsoft.Azure.Management.ApiManagement public static partial class ReportsOperationsExtensions { /// - /// Lists report records. + /// Lists report records by API. /// /// /// The operations group for this extension method. @@ -41,11 +41,11 @@ public static partial class ReportsOperationsExtensions /// public static IPage ListByApi(this IReportsOperations operations, ODataQuery odataQuery, string resourceGroupName, string serviceName) { - return ((IReportsOperations)operations).ListByApiAsync(odataQuery, resourceGroupName, serviceName).GetAwaiter().GetResult(); + return operations.ListByApiAsync(odataQuery, resourceGroupName, serviceName).GetAwaiter().GetResult(); } /// - /// Lists report records. + /// Lists report records by API. /// /// /// The operations group for this extension method. @@ -179,7 +179,7 @@ public static IPage ListByOperation(this IReportsOperation /// public static IPage ListByProduct(this IReportsOperations operations, ODataQuery odataQuery, string resourceGroupName, string serviceName) { - return ((IReportsOperations)operations).ListByProductAsync(odataQuery, resourceGroupName, serviceName).GetAwaiter().GetResult(); + return operations.ListByProductAsync(odataQuery, resourceGroupName, serviceName).GetAwaiter().GetResult(); } /// @@ -407,7 +407,7 @@ public static IEnumerable ListByRequest(this IRepor } /// - /// Lists report records. + /// Lists report records by API. /// /// /// The operations group for this extension method. @@ -421,7 +421,7 @@ public static IPage ListByApiNext(this IReportsOperations } /// - /// Lists report records. + /// Lists report records by API. /// /// /// The operations group for this extension method. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SdkInfo_ApiManagementClient.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SdkInfo_ApiManagementClient.cs new file mode 100644 index 000000000000..b792b64c0fe5 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SdkInfo_ApiManagementClient.cs @@ -0,0 +1,73 @@ + +using System; +using System.Collections.Generic; +using System.Linq; + +internal static partial class SdkInfo +{ + public static IEnumerable> ApiInfo_ApiManagementClient + { + get + { + return new Tuple[] + { + new Tuple("ApiManagement", "Api", "2018-01-01"), + new Tuple("ApiManagement", "ApiDiagnostic", "2018-01-01"), + new Tuple("ApiManagement", "ApiDiagnosticLogger", "2018-01-01"), + new Tuple("ApiManagement", "ApiExport", "2018-01-01"), + new Tuple("ApiManagement", "ApiManagementOperations", "2018-01-01"), + new Tuple("ApiManagement", "ApiManagementService", "2018-01-01"), + new Tuple("ApiManagement", "ApiOperation", "2018-01-01"), + new Tuple("ApiManagement", "ApiOperationPolicy", "2018-01-01"), + new Tuple("ApiManagement", "ApiPolicy", "2018-01-01"), + new Tuple("ApiManagement", "ApiProduct", "2018-01-01"), + new Tuple("ApiManagement", "ApiRelease", "2018-01-01"), + new Tuple("ApiManagement", "ApiRevisions", "2018-01-01"), + new Tuple("ApiManagement", "ApiSchema", "2018-01-01"), + new Tuple("ApiManagement", "ApiVersionSet", "2018-01-01"), + new Tuple("ApiManagement", "AuthorizationServer", "2018-01-01"), + new Tuple("ApiManagement", "Backend", "2018-01-01"), + new Tuple("ApiManagement", "Certificate", "2018-01-01"), + new Tuple("ApiManagement", "DelegationSettings", "2018-01-01"), + new Tuple("ApiManagement", "Diagnostic", "2018-01-01"), + new Tuple("ApiManagement", "DiagnosticLogger", "2018-01-01"), + new Tuple("ApiManagement", "EmailTemplate", "2018-01-01"), + new Tuple("ApiManagement", "Group", "2018-01-01"), + new Tuple("ApiManagement", "GroupUser", "2018-01-01"), + new Tuple("ApiManagement", "IdentityProvider", "2018-01-01"), + new Tuple("ApiManagement", "Logger", "2018-01-01"), + new Tuple("ApiManagement", "NetworkStatus", "2018-01-01"), + new Tuple("ApiManagement", "Notification", "2018-01-01"), + new Tuple("ApiManagement", "NotificationRecipientEmail", "2018-01-01"), + new Tuple("ApiManagement", "NotificationRecipientUser", "2018-01-01"), + new Tuple("ApiManagement", "OpenIdConnectProvider", "2018-01-01"), + new Tuple("ApiManagement", "Operation", "2018-01-01"), + new Tuple("ApiManagement", "Policy", "2018-01-01"), + new Tuple("ApiManagement", "PolicySnippets", "2018-01-01"), + new Tuple("ApiManagement", "Product", "2018-01-01"), + new Tuple("ApiManagement", "ProductApi", "2018-01-01"), + new Tuple("ApiManagement", "ProductGroup", "2018-01-01"), + new Tuple("ApiManagement", "ProductPolicy", "2018-01-01"), + new Tuple("ApiManagement", "ProductSubscriptions", "2018-01-01"), + new Tuple("ApiManagement", "Property", "2018-01-01"), + new Tuple("ApiManagement", "QuotaByCounterKeys", "2018-01-01"), + new Tuple("ApiManagement", "QuotaByPeriodKeys", "2018-01-01"), + new Tuple("ApiManagement", "Regions", "2018-01-01"), + new Tuple("ApiManagement", "Reports", "2018-01-01"), + new Tuple("ApiManagement", "SignInSettings", "2018-01-01"), + new Tuple("ApiManagement", "SignUpSettings", "2018-01-01"), + new Tuple("ApiManagement", "Subscription", "2018-01-01"), + new Tuple("ApiManagement", "Tag", "2018-01-01"), + new Tuple("ApiManagement", "TagDescription", "2018-01-01"), + new Tuple("ApiManagement", "TagResource", "2018-01-01"), + new Tuple("ApiManagement", "TenantAccess", "2018-01-01"), + new Tuple("ApiManagement", "TenantAccessGit", "2018-01-01"), + new Tuple("ApiManagement", "TenantConfiguration", "2018-01-01"), + new Tuple("ApiManagement", "User", "2018-01-01"), + new Tuple("ApiManagement", "UserGroup", "2018-01-01"), + new Tuple("ApiManagement", "UserIdentities", "2018-01-01"), + new Tuple("ApiManagement", "UserSubscription", "2018-01-01"), + }.AsEnumerable(); + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperations.cs new file mode 100644 index 000000000000..d97ebb264962 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperations.cs @@ -0,0 +1,913 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SignInSettingsOperations operations. + /// + internal partial class SignInSettingsOperations : IServiceOperations, ISignInSettingsOperations + { + /// + /// Initializes a new instance of the SignInSettingsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SignInSettingsOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the entity state (Etag) version of the SignInSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Update Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-In settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSigninSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or Update Sign-In settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSigninSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signin").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperationsExtensions.cs new file mode 100644 index 000000000000..b6d595b975c8 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignInSettingsOperationsExtensions.cs @@ -0,0 +1,204 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SignInSettingsOperations. + /// + public static partial class SignInSettingsOperationsExtensions + { + /// + /// Gets the entity state (Etag) version of the SignInSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static SignInSettingsGetEntityTagHeaders GetEntityTag(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the SignInSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static PortalSigninSettings Get(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Get Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-In settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, PortalSigninSettings parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Update Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-In settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, PortalSigninSettings parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create or Update Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + public static PortalSigninSettings CreateOrUpdate(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, PortalSigninSettings parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Create or Update Sign-In settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ISignInSettingsOperations operations, string resourceGroupName, string serviceName, PortalSigninSettings parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperations.cs new file mode 100644 index 000000000000..5ca437c3ae16 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperations.cs @@ -0,0 +1,913 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// SignUpSettingsOperations operations. + /// + internal partial class SignUpSettingsOperations : IServiceOperations, ISignUpSettingsOperations + { + /// + /// Initializes a new instance of the SignUpSettingsOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal SignUpSettingsOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Gets the entity state (Etag) version of the SignUpSettings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Update Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-Up settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSignupSettings parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create or Update Sign-Up settings. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, PortalSignupSettings parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/portalsettings/signup").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperationsExtensions.cs new file mode 100644 index 000000000000..754d7391c6b9 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SignUpSettingsOperationsExtensions.cs @@ -0,0 +1,204 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for SignUpSettingsOperations. + /// + public static partial class SignUpSettingsOperationsExtensions + { + /// + /// Gets the entity state (Etag) version of the SignUpSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static SignUpSettingsGetEntityTagHeaders GetEntityTag(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the SignUpSettings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + public static PortalSignupSettings Get(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName) + { + return operations.GetAsync(resourceGroupName, serviceName).GetAwaiter().GetResult(); + } + + /// + /// Get Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Update Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-Up settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, PortalSignupSettings parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Update Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Update Sign-Up settings. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, PortalSignupSettings parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Create or Update Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + public static PortalSignupSettings CreateOrUpdate(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, PortalSignupSettings parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, parameters).GetAwaiter().GetResult(); + } + + /// + /// Create or Update Sign-Up settings. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Create or update parameters. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ISignUpSettingsOperations operations, string resourceGroupName, string serviceName, PortalSignupSettings parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperations.cs index b91439e73bad..c55f8ab529dd 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -250,7 +250,7 @@ internal SubscriptionOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -269,6 +269,226 @@ internal SubscriptionOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the apimanagement subscription + /// specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Subscription entity Identifier. The entity represents the association + /// between a user and a product in API Management. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (sid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "sid"); + } + if (sid != null) + { + if (sid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("sid", sid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/subscriptions/{sid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{sid}", System.Uri.EscapeDataString(sid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the specified Subscription entity. /// @@ -334,13 +554,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -526,6 +746,16 @@ internal SubscriptionOperations(ApiManagementClient client) /// /// Create parameters. /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -547,7 +777,7 @@ internal SubscriptionOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, bool? notify = default(bool?), string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -578,13 +808,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -614,6 +844,8 @@ internal SubscriptionOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("sid", sid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("notify", notify); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -625,6 +857,10 @@ internal SubscriptionOperations(ApiManagementClient client) _url = _url.Replace("{sid}", System.Uri.EscapeDataString(sid)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); + if (notify != null) + { + _queryParameters.Add(string.Format("notify={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(notify, Client.SerializationSettings).Trim('"')))); + } if (Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); @@ -643,6 +879,14 @@ internal SubscriptionOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -693,7 +937,7 @@ internal SubscriptionOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -731,7 +975,7 @@ internal SubscriptionOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -749,7 +993,7 @@ internal SubscriptionOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -790,9 +1034,15 @@ internal SubscriptionOperations(ApiManagementClient client) /// Update parameters. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription /// /// /// Headers that will be added to request. @@ -812,7 +1062,7 @@ internal SubscriptionOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, bool? notify = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -843,13 +1093,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -879,6 +1129,7 @@ internal SubscriptionOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("sid", sid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("notify", notify); tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); @@ -891,6 +1142,10 @@ internal SubscriptionOperations(ApiManagementClient client) _url = _url.Replace("{sid}", System.Uri.EscapeDataString(sid)); _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); List _queryParameters = new List(); + if (notify != null) + { + _queryParameters.Add(string.Format("notify={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(notify, Client.SerializationSettings).Trim('"')))); + } if (Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); @@ -1025,9 +1280,9 @@ internal SubscriptionOperations(ApiManagementClient client) /// between a user and a product in API Management. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -1078,13 +1333,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1191,7 +1446,7 @@ internal SubscriptionOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1298,13 +1553,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -1505,13 +1760,13 @@ internal SubscriptionOperations(ApiManagementClient client) } if (sid != null) { - if (sid.Length > 256) + if (sid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "sid", 256); + throw new ValidationException(ValidationRules.MaxLength, "sid", 80); } - if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(sid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "sid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "sid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -1798,7 +2053,7 @@ internal SubscriptionOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperationsExtensions.cs index f4aaa000475c..cff6e3bef0a3 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/SubscriptionOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -39,7 +39,7 @@ public static partial class SubscriptionOperationsExtensions /// public static IPage List(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((ISubscriptionOperations)operations).ListAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -68,6 +68,56 @@ public static partial class SubscriptionOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the apimanagement subscription + /// specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Subscription entity Identifier. The entity represents the association + /// between a user and a product in API Management. + /// + public static SubscriptionGetEntityTagHeaders GetEntityTag(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, sid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the apimanagement subscription + /// specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Subscription entity Identifier. The entity represents the association + /// between a user and a product in API Management. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, sid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the specified Subscription entity. /// @@ -136,9 +186,19 @@ public static SubscriptionContract Get(this ISubscriptionOperations operations, /// /// Create parameters. /// - public static SubscriptionContract CreateOrUpdate(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters) + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static SubscriptionContract CreateOrUpdate(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, bool? notify = default(bool?), string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, sid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, sid, parameters, notify, ifMatch).GetAwaiter().GetResult(); } /// @@ -161,12 +221,22 @@ public static SubscriptionContract CreateOrUpdate(this ISubscriptionOperations o /// /// Create parameters. /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionCreateParameters parameters, bool? notify = default(bool?), string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, sid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, sid, parameters, notify, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -192,13 +262,19 @@ public static SubscriptionContract CreateOrUpdate(this ISubscriptionOperations o /// Update parameters. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription /// - public static void Update(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch) + public static void Update(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, bool? notify = default(bool?)) { - operations.UpdateAsync(resourceGroupName, serviceName, sid, parameters, ifMatch).GetAwaiter().GetResult(); + operations.UpdateAsync(resourceGroupName, serviceName, sid, parameters, ifMatch, notify).GetAwaiter().GetResult(); } /// @@ -221,16 +297,22 @@ public static void Update(this ISubscriptionOperations operations, string resour /// Update parameters. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Notify change in Subscription State. + /// - If false, do not send any email notification for change of state of + /// subscription + /// - If true, send email notification of change of state of subscription /// /// /// The cancellation token. /// - public static async Task UpdateAsync(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task UpdateAsync(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, SubscriptionUpdateParameters parameters, string ifMatch, bool? notify = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, sid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, sid, parameters, ifMatch, notify, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -250,9 +332,9 @@ public static void Update(this ISubscriptionOperations operations, string resour /// between a user and a product in API Management. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Delete(this ISubscriptionOperations operations, string resourceGroupName, string serviceName, string sid, string ifMatch) { @@ -276,9 +358,9 @@ public static void Delete(this ISubscriptionOperations operations, string resour /// between a user and a product in API Management. /// /// - /// ETag of the Subscription Entity. ETag should match the current entity state - /// from the header response of the GET request or it should be * for - /// unconditional update. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperations.cs new file mode 100644 index 000000000000..1482e059a90d --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperations.cs @@ -0,0 +1,1545 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagDescriptionOperations operations. + /// + internal partial class TagDescriptionOperations : IServiceOperations, ITagDescriptionOperations + { + /// + /// Initializes a new instance of the TagDescriptionOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal TagDescriptionOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityStateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityState", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get tag associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Create/Update tag fescription in scope of the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, TagDescriptionCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Delete tag description for the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApiNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperationsExtensions.cs new file mode 100644 index 000000000000..8addac4324af --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagDescriptionOperationsExtensions.cs @@ -0,0 +1,367 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for TagDescriptionOperations. + /// + public static partial class TagDescriptionOperationsExtensions + { + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByApi(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByApiAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiAsync(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagDescriptionGetEntityStateHeaders GetEntityState(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId) + { + return operations.GetEntityStateAsync(resourceGroupName, serviceName, apiId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityStateAsync(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityStateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get tag associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagDescriptionContract Get(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId) + { + return operations.GetAsync(resourceGroupName, serviceName, apiId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Get tag associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Create/Update tag fescription in scope of the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static TagDescriptionContract CreateOrUpdate(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, TagDescriptionCreateParameters parameters, string ifMatch = default(string)) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, tagId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Create/Update tag fescription in scope of the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, TagDescriptionCreateParameters parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Delete tag description for the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Delete tag description for the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this ITagDescriptionOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByApiNext(this ITagDescriptionOperations operations, string nextPageLink) + { + return operations.ListByApiNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags descriptions in scope of API. Model similar to swagger - + /// tagDescription is defined on API level but tag may be assigned to the + /// Operations + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiNextAsync(this ITagDescriptionOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperations.cs new file mode 100644 index 000000000000..7ab1e82f1744 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperations.cs @@ -0,0 +1,6184 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagOperations operations. + /// + internal partial class TagOperations : IServiceOperations, ITagOperations + { + /// + /// Initializes a new instance of the TagOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal TagOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityStateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityState", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the details of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Get", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Creates a tag. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (parameters != null) + { + parameters.Validate(); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Updates the details of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (parameters == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "parameters"); + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Update", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PATCH"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + if(parameters != null) + { + _requestContent = Rest.Serialization.SafeJsonConvert.SerializeObject(parameters, Client.SerializationSettings); + _httpRequest.Content = new StringContent(_requestContent, System.Text.Encoding.UTF8); + _httpRequest.Content.Headers.ContentType =System.Net.Http.Headers.MediaTypeHeaderValue.Parse("application/json; charset=utf-8"); + } + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Deletes specific tag of the API Management service instance. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityStateByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityStateByApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get tag associated with the API. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetByApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetByApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Assign tag to the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> AssignToApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "AssignToApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Detach the tag from the Api. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DetachFromApiWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DetachFromApi", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityStateByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityStateByOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get tag associated with the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetByOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetByOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Assign tag to the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> AssignToOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "AssignToOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Detach the tag from the Operation. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DetachFromOperationWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (apiId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "apiId"); + } + if (apiId != null) + { + if (apiId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "apiId", 80); + } + if (apiId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "apiId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(apiId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "apiId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (operationId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "operationId"); + } + if (operationId != null) + { + if (operationId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "operationId", 80); + } + if (operationId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "operationId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(operationId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "operationId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("apiId", apiId); + tracingParameters.Add("operationId", operationId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DetachFromOperation", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/operations/{operationId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{apiId}", System.Uri.EscapeDataString(apiId)); + _url = _url.Replace("{operationId}", System.Uri.EscapeDataString(operationId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByProduct", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityStateByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityStateByProduct", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Get tag associated with the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetByProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetByProduct", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Assign tag to the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> AssignToProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "AssignToProduct", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("PUT"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 201) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + // Deserialize Response + if ((int)_statusCode == 201) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Detach the tag from the Product. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task DetachFromProductWithHttpMessagesAsync(string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (productId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "productId"); + } + if (productId != null) + { + if (productId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "productId", 80); + } + if (productId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "productId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(productId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "productId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (tagId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "tagId"); + } + if (tagId != null) + { + if (tagId.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "tagId", 80); + } + if (tagId.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "tagId", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(tagId, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "tagId", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (ifMatch == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "ifMatch"); + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("productId", productId); + tracingParameters.Add("tagId", tagId); + tracingParameters.Add("ifMatch", ifMatch); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "DetachFromProduct", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/products/{productId}/tags/{tagId}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{productId}", System.Uri.EscapeDataString(productId)); + _url = _url.Replace("{tagId}", System.Uri.EscapeDataString(tagId)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("DELETE"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200 && (int)_statusCode != 204) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByApiNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByApiNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByOperationNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByOperationNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByProductNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByProductNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperationsExtensions.cs new file mode 100644 index 000000000000..329ac5993e49 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagOperationsExtensions.cs @@ -0,0 +1,1393 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for TagOperations. + /// + public static partial class TagOperationsExtensions + { + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this ITagOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this ITagOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagGetEntityStateHeaders GetEntityState(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId) + { + return operations.GetEntityStateAsync(resourceGroupName, serviceName, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityStateAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityStateWithHttpMessagesAsync(resourceGroupName, serviceName, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Gets the details of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagContract Get(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId) + { + return operations.GetAsync(resourceGroupName, serviceName, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the details of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetWithHttpMessagesAsync(resourceGroupName, serviceName, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Creates a tag. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + public static TagContract CreateOrUpdate(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters) + { + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, tagId, parameters).GetAwaiter().GetResult(); + } + + /// + /// Creates a tag. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Create parameters. + /// + /// + /// The cancellation token. + /// + public static async Task CreateOrUpdateAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, tagId, parameters, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Updates the details of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Update(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, string ifMatch) + { + operations.UpdateAsync(resourceGroupName, serviceName, tagId, parameters, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Updates the details of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Update parameters. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task UpdateAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, TagCreateUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, tagId, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Deletes specific tag of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void Delete(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, string ifMatch) + { + operations.DeleteAsync(resourceGroupName, serviceName, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Deletes specific tag of the API Management service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DeleteAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string tagId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByApi(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByApiAsync(resourceGroupName, serviceName, apiId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagGetEntityStateByApiHeaders GetEntityStateByApi(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId) + { + return operations.GetEntityStateByApiAsync(resourceGroupName, serviceName, apiId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityStateByApiAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityStateByApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get tag associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagContract GetByApi(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId) + { + return operations.GetByApiAsync(resourceGroupName, serviceName, apiId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Get tag associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetByApiAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Assign tag to the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static TagContract AssignToApi(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch = default(string)) + { + return operations.AssignToApiAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Assign tag to the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task AssignToApiAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.AssignToApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Detach the tag from the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void DetachFromApi(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch) + { + operations.DetachFromApiAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Detach the tag from the Api. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DetachFromApiAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string tagId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DetachFromApiWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByOperation(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByOperationAsync(resourceGroupName, serviceName, apiId, operationId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByOperationAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagGetEntityStateByOperationHeaders GetEntityStateByOperation(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId) + { + return operations.GetEntityStateByOperationAsync(resourceGroupName, serviceName, apiId, operationId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityStateByOperationAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityStateByOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get tag associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagContract GetByOperation(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId) + { + return operations.GetByOperationAsync(resourceGroupName, serviceName, apiId, operationId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Get tag associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetByOperationAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Assign tag to the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static TagContract AssignToOperation(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch = default(string)) + { + return operations.AssignToOperationAsync(resourceGroupName, serviceName, apiId, operationId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Assign tag to the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task AssignToOperationAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.AssignToOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Detach the tag from the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void DetachFromOperation(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch) + { + operations.DetachFromOperationAsync(resourceGroupName, serviceName, apiId, operationId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Detach the tag from the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// API identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Operation identifier within an API. Must be unique in the current API + /// Management service instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DetachFromOperationAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string apiId, string operationId, string tagId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DetachFromOperationWithHttpMessagesAsync(resourceGroupName, serviceName, apiId, operationId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByProduct(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByProductAsync(resourceGroupName, serviceName, productId, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByProductAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByProductWithHttpMessagesAsync(resourceGroupName, serviceName, productId, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagGetEntityStateByProductHeaders GetEntityStateByProduct(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId) + { + return operations.GetEntityStateByProductAsync(resourceGroupName, serviceName, productId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state version of the tag specified by its identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityStateByProductAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityStateByProductWithHttpMessagesAsync(resourceGroupName, serviceName, productId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + + /// + /// Get tag associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + public static TagContract GetByProduct(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId) + { + return operations.GetByProductAsync(resourceGroupName, serviceName, productId, tagId).GetAwaiter().GetResult(); + } + + /// + /// Get tag associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetByProductAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetByProductWithHttpMessagesAsync(resourceGroupName, serviceName, productId, tagId, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Assign tag to the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static TagContract AssignToProduct(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch = default(string)) + { + return operations.AssignToProductAsync(resourceGroupName, serviceName, productId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Assign tag to the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + /// + /// The cancellation token. + /// + public static async Task AssignToProductAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.AssignToProductWithHttpMessagesAsync(resourceGroupName, serviceName, productId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Detach the tag from the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + public static void DetachFromProduct(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch) + { + operations.DetachFromProductAsync(resourceGroupName, serviceName, productId, tagId, ifMatch).GetAwaiter().GetResult(); + } + + /// + /// Detach the tag from the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// Product identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Tag identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. + /// + /// + /// The cancellation token. + /// + public static async Task DetachFromProductAsync(this ITagOperations operations, string resourceGroupName, string serviceName, string productId, string tagId, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + { + (await operations.DetachFromProductWithHttpMessagesAsync(resourceGroupName, serviceName, productId, tagId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); + } + + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this ITagOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of tags defined within a service instance. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this ITagOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByApiNext(this ITagOperations operations, string nextPageLink) + { + return operations.ListByApiNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the API. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByApiNextAsync(this ITagOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByApiNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByOperationNext(this ITagOperations operations, string nextPageLink) + { + return operations.ListByOperationNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the Operation. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByOperationNextAsync(this ITagOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByOperationNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByProductNext(this ITagOperations operations, string nextPageLink) + { + return operations.ListByProductNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all Tags associated with the Product. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByProductNextAsync(this ITagOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByProductNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperations.cs new file mode 100644 index 000000000000..3dcf6e1b062f --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperations.cs @@ -0,0 +1,451 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + using System.Net; + using System.Net.Http; + using System.Threading; + using System.Threading.Tasks; + + /// + /// TagResourceOperations operations. + /// + internal partial class TagResourceOperations : IServiceOperations, ITagResourceOperations + { + /// + /// Initializes a new instance of the TagResourceOperations class. + /// + /// + /// Reference to the service client. + /// + /// + /// Thrown when a required parameter is null + /// + internal TagResourceOperations(ApiManagementClient client) + { + if (client == null) + { + throw new System.ArgumentNullException("client"); + } + Client = client; + } + + /// + /// Gets a reference to the ApiManagementClient + /// + public ApiManagementClient Client { get; private set; } + + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceWithHttpMessagesAsync(string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("odataQuery", odataQuery); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByService", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tagResources").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (odataQuery != null) + { + var _odataFilter = odataQuery.ToString(); + if (!string.IsNullOrEmpty(_odataFilter)) + { + _queryParameters.Add(_odataFilter); + } + } + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListByServiceNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListByServiceNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new CloudException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + CloudError _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex = new CloudException(_errorBody.Message); + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + ex.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperationsExtensions.cs new file mode 100644 index 000000000000..a2f36cb1a27a --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TagResourceOperationsExtensions.cs @@ -0,0 +1,106 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.ApiManagement +{ + using Microsoft.Rest; + using Microsoft.Rest.Azure; + using Microsoft.Rest.Azure.OData; + using Models; + using System.Threading; + using System.Threading.Tasks; + + /// + /// Extension methods for TagResourceOperations. + /// + public static partial class TagResourceOperationsExtensions + { + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + public static IPage ListByService(this ITagResourceOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) + { + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// OData parameters to apply to the operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceAsync(this ITagResourceOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery), CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceWithHttpMessagesAsync(resourceGroupName, serviceName, odataQuery, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListByServiceNext(this ITagResourceOperations operations, string nextPageLink) + { + return operations.ListByServiceNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists a collection of resources associated with tags. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListByServiceNextAsync(this ITagResourceOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListByServiceNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperations.cs index d7c3f6cf0e58..b53a99ec865e 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperationsExtensions.cs index 4a340d1e4af4..661bec29afe0 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessGitOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperations.cs index e11c3411757c..9a3306343934 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -290,8 +290,9 @@ internal TenantAccessOperations(ApiManagementClient client) /// Parameters supplied to retrieve the Tenant Access Information. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperationsExtensions.cs index 38d1dcb772d9..c944baf186c1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantAccessOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -77,8 +77,9 @@ public static AccessInformationContract Get(this ITenantAccessOperations operati /// Parameters supplied to retrieve the Tenant Access Information. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// public static void Update(this ITenantAccessOperations operations, string resourceGroupName, string serviceName, AccessInformationUpdateParameters parameters, string ifMatch) { @@ -101,8 +102,9 @@ public static void Update(this ITenantAccessOperations operations, string resour /// Parameters supplied to retrieve the Tenant Access Information. /// /// - /// The entity state (Etag) version of the property to update. A value of "*" - /// can be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperations.cs index 83de99c37fa1..0f390052caa1 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -515,7 +515,7 @@ internal TenantConfigurationOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -745,7 +745,7 @@ internal TenantConfigurationOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -973,7 +973,7 @@ internal TenantConfigurationOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 202 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 202) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperationsExtensions.cs index 91e35ade0d53..4e8a73de52cf 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/TenantConfigurationOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperations.cs index 7991b593843f..1a7546136738 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -119,17 +119,17 @@ internal UserGroupOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -275,7 +275,7 @@ internal UserGroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -443,7 +443,7 @@ internal UserGroupOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperationsExtensions.cs index cfb94354e541..b27201d2d978 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserGroupOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -43,7 +43,7 @@ public static partial class UserGroupOperationsExtensions /// public static IPage List(this IUserGroupOperations operations, string resourceGroupName, string serviceName, string uid, ODataQuery odataQuery = default(ODataQuery)) { - return ((IUserGroupOperations)operations).ListAsync(resourceGroupName, serviceName, uid, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, serviceName, uid, odataQuery).GetAwaiter().GetResult(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperations.cs index 068d38ca3ad8..5d4a1cdf1552 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -84,7 +84,7 @@ internal UserIdentitiesOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task>> ListWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -115,17 +115,17 @@ internal UserIdentitiesOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -249,7 +249,7 @@ internal UserIdentitiesOperations(ApiManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse>(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) @@ -262,7 +262,175 @@ internal UserIdentitiesOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); + } + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + + /// + /// Lists all user identities. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when unable to deserialize the response + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task>> ListNextWithHttpMessagesAsync(string nextPageLink, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (nextPageLink == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "nextPageLink"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("nextPageLink", nextPageLink); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "ListNext", tracingParameters); + } + // Construct URL + string _url = "{nextLink}"; + _url = _url.Replace("{nextLink}", nextPageLink); + List _queryParameters = new List(); + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("GET"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationResponse>(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + // Deserialize Response + if ((int)_statusCode == 200) + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + try + { + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperationsExtensions.cs index 2082aa8e3d62..4ef433a5a3d4 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserIdentitiesOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Models; @@ -37,7 +37,7 @@ public static partial class UserIdentitiesOperationsExtensions /// User identifier. Must be unique in the current API Management service /// instance. /// - public static UserIdentityCollection List(this IUserIdentitiesOperations operations, string resourceGroupName, string serviceName, string uid) + public static IPage List(this IUserIdentitiesOperations operations, string resourceGroupName, string serviceName, string uid) { return operations.ListAsync(resourceGroupName, serviceName, uid).GetAwaiter().GetResult(); } @@ -61,7 +61,7 @@ public static UserIdentityCollection List(this IUserIdentitiesOperations operati /// /// The cancellation token. /// - public static async Task ListAsync(this IUserIdentitiesOperations operations, string resourceGroupName, string serviceName, string uid, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task> ListAsync(this IUserIdentitiesOperations operations, string resourceGroupName, string serviceName, string uid, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.ListWithHttpMessagesAsync(resourceGroupName, serviceName, uid, null, cancellationToken).ConfigureAwait(false)) { @@ -69,5 +69,39 @@ public static UserIdentityCollection List(this IUserIdentitiesOperations operati } } + /// + /// Lists all user identities. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + public static IPage ListNext(this IUserIdentitiesOperations operations, string nextPageLink) + { + return operations.ListNextAsync(nextPageLink).GetAwaiter().GetResult(); + } + + /// + /// Lists all user identities. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The NextLink from the previous successful call to List operation. + /// + /// + /// The cancellation token. + /// + public static async Task> ListNextAsync(this IUserIdentitiesOperations operations, string nextPageLink, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.ListNextWithHttpMessagesAsync(nextPageLink, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Body; + } + } + } } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperations.cs index 4633ecc5d616..7869ad509cf8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -250,7 +250,7 @@ internal UserOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -269,6 +269,230 @@ internal UserOperations(ApiManagementClient client) return _result; } + /// + /// Gets the entity state (Etag) version of the user specified by its + /// identifier. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// Headers that will be added to request. + /// + /// + /// The cancellation token. + /// + /// + /// Thrown when the operation returned an invalid status code + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// Thrown when a required parameter is null + /// + /// + /// A response object containing the response body and response headers. + /// + public async Task> GetEntityTagWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + { + if (resourceGroupName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "resourceGroupName"); + } + if (serviceName == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "serviceName"); + } + if (serviceName != null) + { + if (serviceName.Length > 50) + { + throw new ValidationException(ValidationRules.MaxLength, "serviceName", 50); + } + if (serviceName.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "serviceName", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(serviceName, "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$")) + { + throw new ValidationException(ValidationRules.Pattern, "serviceName", "^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$"); + } + } + if (uid == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "uid"); + } + if (uid != null) + { + if (uid.Length > 80) + { + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); + } + if (uid.Length < 1) + { + throw new ValidationException(ValidationRules.MinLength, "uid", 1); + } + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) + { + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); + } + } + if (Client.ApiVersion == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.ApiVersion"); + } + if (Client.SubscriptionId == null) + { + throw new ValidationException(ValidationRules.CannotBeNull, "this.Client.SubscriptionId"); + } + // Tracing + bool _shouldTrace = ServiceClientTracing.IsEnabled; + string _invocationId = null; + if (_shouldTrace) + { + _invocationId = ServiceClientTracing.NextInvocationId.ToString(); + Dictionary tracingParameters = new Dictionary(); + tracingParameters.Add("resourceGroupName", resourceGroupName); + tracingParameters.Add("serviceName", serviceName); + tracingParameters.Add("uid", uid); + tracingParameters.Add("cancellationToken", cancellationToken); + ServiceClientTracing.Enter(_invocationId, this, "GetEntityTag", tracingParameters); + } + // Construct URL + var _baseUrl = Client.BaseUri.AbsoluteUri; + var _url = new System.Uri(new System.Uri(_baseUrl + (_baseUrl.EndsWith("/") ? "" : "/")), "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/users/{uid}").ToString(); + _url = _url.Replace("{resourceGroupName}", System.Uri.EscapeDataString(resourceGroupName)); + _url = _url.Replace("{serviceName}", System.Uri.EscapeDataString(serviceName)); + _url = _url.Replace("{uid}", System.Uri.EscapeDataString(uid)); + _url = _url.Replace("{subscriptionId}", System.Uri.EscapeDataString(Client.SubscriptionId)); + List _queryParameters = new List(); + if (Client.ApiVersion != null) + { + _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); + } + if (_queryParameters.Count > 0) + { + _url += (_url.Contains("?") ? "&" : "?") + string.Join("&", _queryParameters); + } + // Create HTTP transport objects + var _httpRequest = new HttpRequestMessage(); + HttpResponseMessage _httpResponse = null; + _httpRequest.Method = new HttpMethod("HEAD"); + _httpRequest.RequestUri = new System.Uri(_url); + // Set Headers + if (Client.GenerateClientRequestId != null && Client.GenerateClientRequestId.Value) + { + _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); + } + if (Client.AcceptLanguage != null) + { + if (_httpRequest.Headers.Contains("accept-language")) + { + _httpRequest.Headers.Remove("accept-language"); + } + _httpRequest.Headers.TryAddWithoutValidation("accept-language", Client.AcceptLanguage); + } + + + if (customHeaders != null) + { + foreach(var _header in customHeaders) + { + if (_httpRequest.Headers.Contains(_header.Key)) + { + _httpRequest.Headers.Remove(_header.Key); + } + _httpRequest.Headers.TryAddWithoutValidation(_header.Key, _header.Value); + } + } + + // Serialize Request + string _requestContent = null; + // Set Credentials + if (Client.Credentials != null) + { + cancellationToken.ThrowIfCancellationRequested(); + await Client.Credentials.ProcessHttpRequestAsync(_httpRequest, cancellationToken).ConfigureAwait(false); + } + // Send Request + if (_shouldTrace) + { + ServiceClientTracing.SendRequest(_invocationId, _httpRequest); + } + cancellationToken.ThrowIfCancellationRequested(); + _httpResponse = await Client.HttpClient.SendAsync(_httpRequest, System.Net.Http.HttpCompletionOption.ResponseHeadersRead, cancellationToken).ConfigureAwait(false); + if (_shouldTrace) + { + ServiceClientTracing.ReceiveResponse(_invocationId, _httpResponse); + } + HttpStatusCode _statusCode = _httpResponse.StatusCode; + cancellationToken.ThrowIfCancellationRequested(); + string _responseContent = null; + if ((int)_statusCode != 200) + { + var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); + try + { + _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); + ErrorResponse _errorBody = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); + if (_errorBody != null) + { + ex.Body = _errorBody; + } + } + catch (JsonException) + { + // Ignore the exception + } + ex.Request = new HttpRequestMessageWrapper(_httpRequest, _requestContent); + ex.Response = new HttpResponseMessageWrapper(_httpResponse, _responseContent); + if (_shouldTrace) + { + ServiceClientTracing.Error(_invocationId, ex); + } + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw ex; + } + // Create Result + var _result = new AzureOperationHeaderResponse(); + _result.Request = _httpRequest; + _result.Response = _httpResponse; + if (_httpResponse.Headers.Contains("x-ms-request-id")) + { + _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); + } + try + { + _result.Headers = _httpResponse.GetHeadersAsJson().ToObject(JsonSerializer.Create(Client.DeserializationSettings)); + } + catch (JsonException ex) + { + _httpRequest.Dispose(); + if (_httpResponse != null) + { + _httpResponse.Dispose(); + } + throw new SerializationException("Unable to deserialize the headers.", _httpResponse.GetHeadersAsJson().ToString(), ex); + } + if (_shouldTrace) + { + ServiceClientTracing.Exit(_invocationId, _result); + } + return _result; + } + /// /// Gets the details of the user specified by its identifier. /// @@ -334,17 +558,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -529,6 +753,10 @@ internal UserOperations(ApiManagementClient client) /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// Headers that will be added to request. /// @@ -550,7 +778,7 @@ internal UserOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -581,17 +809,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -621,6 +849,7 @@ internal UserOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("uid", uid); tracingParameters.Add("parameters", parameters); + tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "CreateOrUpdate", tracingParameters); } @@ -650,6 +879,14 @@ internal UserOperations(ApiManagementClient client) { _httpRequest.Headers.TryAddWithoutValidation("x-ms-client-request-id", System.Guid.NewGuid().ToString()); } + if (ifMatch != null) + { + if (_httpRequest.Headers.Contains("If-Match")) + { + _httpRequest.Headers.Remove("If-Match"); + } + _httpRequest.Headers.TryAddWithoutValidation("If-Match", ifMatch); + } if (Client.AcceptLanguage != null) { if (_httpRequest.Headers.Contains("accept-language")) @@ -700,7 +937,7 @@ internal UserOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 201 && (int)_statusCode != 200) + if ((int)_statusCode != 200 && (int)_statusCode != 201) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -738,7 +975,7 @@ internal UserOperations(ApiManagementClient client) _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } // Deserialize Response - if ((int)_statusCode == 201) + if ((int)_statusCode == 200) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -756,7 +993,7 @@ internal UserOperations(ApiManagementClient client) } } // Deserialize Response - if ((int)_statusCode == 200) + if ((int)_statusCode == 201) { _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try @@ -797,8 +1034,9 @@ internal UserOperations(ApiManagementClient client) /// Update parameters. /// /// - /// The entity state (Etag) version of the user to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Headers that will be added to request. @@ -809,9 +1047,6 @@ internal UserOperations(ApiManagementClient client) /// /// Thrown when the operation returned an invalid status code /// - /// - /// Thrown when unable to deserialize the response - /// /// /// Thrown when a required parameter is null /// @@ -821,7 +1056,7 @@ internal UserOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task> UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task UpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -852,17 +1087,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -980,7 +1215,7 @@ internal UserOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204 && (int)_statusCode != 405) + if ((int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1010,31 +1245,13 @@ internal UserOperations(ApiManagementClient client) throw ex; } // Create Result - var _result = new AzureOperationResponse(); + var _result = new AzureOperationResponse(); _result.Request = _httpRequest; _result.Response = _httpResponse; if (_httpResponse.Headers.Contains("x-ms-request-id")) { _result.RequestId = _httpResponse.Headers.GetValues("x-ms-request-id").FirstOrDefault(); } - // Deserialize Response - if ((int)_statusCode == 405) - { - _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); - try - { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject(_responseContent, Client.DeserializationSettings); - } - catch (JsonException ex) - { - _httpRequest.Dispose(); - if (_httpResponse != null) - { - _httpResponse.Dispose(); - } - throw new SerializationException("Unable to deserialize the response.", _responseContent, ex); - } - } if (_shouldTrace) { ServiceClientTracing.Exit(_invocationId, _result); @@ -1056,12 +1273,16 @@ internal UserOperations(ApiManagementClient client) /// instance. /// /// - /// The entity state (Etag) version of the user to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Whether to delete user's subscription or not. /// + /// + /// Send an Account Closed Email notification to the User. + /// /// /// Headers that will be added to request. /// @@ -1080,7 +1301,7 @@ internal UserOperations(ApiManagementClient client) /// /// A response object containing the response body and response headers. /// - public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) + public async Task DeleteWithHttpMessagesAsync(string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), bool? notify = default(bool?), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { @@ -1111,17 +1332,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (ifMatch == null) @@ -1147,6 +1368,7 @@ internal UserOperations(ApiManagementClient client) tracingParameters.Add("serviceName", serviceName); tracingParameters.Add("uid", uid); tracingParameters.Add("deleteSubscriptions", deleteSubscriptions); + tracingParameters.Add("notify", notify); tracingParameters.Add("ifMatch", ifMatch); tracingParameters.Add("cancellationToken", cancellationToken); ServiceClientTracing.Enter(_invocationId, this, "Delete", tracingParameters); @@ -1163,6 +1385,10 @@ internal UserOperations(ApiManagementClient client) { _queryParameters.Add(string.Format("deleteSubscriptions={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(deleteSubscriptions, Client.SerializationSettings).Trim('"')))); } + if (notify != null) + { + _queryParameters.Add(string.Format("notify={0}", System.Uri.EscapeDataString(Rest.Serialization.SafeJsonConvert.SerializeObject(notify, Client.SerializationSettings).Trim('"')))); + } if (Client.ApiVersion != null) { _queryParameters.Add(string.Format("api-version={0}", System.Uri.EscapeDataString(Client.ApiVersion))); @@ -1233,7 +1459,7 @@ internal UserOperations(ApiManagementClient client) HttpStatusCode _statusCode = _httpResponse.StatusCode; cancellationToken.ThrowIfCancellationRequested(); string _responseContent = null; - if ((int)_statusCode != 204) + if ((int)_statusCode != 200 && (int)_statusCode != 204) { var ex = new ErrorResponseException(string.Format("Operation returned an invalid status code '{0}'", _statusCode)); try @@ -1343,17 +1569,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -1577,17 +1803,17 @@ internal UserOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (parameters == null) @@ -1907,7 +2133,7 @@ internal UserOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperationsExtensions.cs index 343d215d2d3e..66f5d8aceb50 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -39,7 +39,7 @@ public static partial class UserOperationsExtensions /// public static IPage ListByService(this IUserOperations operations, string resourceGroupName, string serviceName, ODataQuery odataQuery = default(ODataQuery)) { - return ((IUserOperations)operations).ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); + return operations.ListByServiceAsync(resourceGroupName, serviceName, odataQuery).GetAwaiter().GetResult(); } /// @@ -68,6 +68,56 @@ public static partial class UserOperationsExtensions } } + /// + /// Gets the entity state (Etag) version of the user specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + public static UserGetEntityTagHeaders GetEntityTag(this IUserOperations operations, string resourceGroupName, string serviceName, string uid) + { + return operations.GetEntityTagAsync(resourceGroupName, serviceName, uid).GetAwaiter().GetResult(); + } + + /// + /// Gets the entity state (Etag) version of the user specified by its + /// identifier. + /// + /// + /// The operations group for this extension method. + /// + /// + /// The name of the resource group. + /// + /// + /// The name of the API Management service. + /// + /// + /// User identifier. Must be unique in the current API Management service + /// instance. + /// + /// + /// The cancellation token. + /// + public static async Task GetEntityTagAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, CancellationToken cancellationToken = default(CancellationToken)) + { + using (var _result = await operations.GetEntityTagWithHttpMessagesAsync(resourceGroupName, serviceName, uid, null, cancellationToken).ConfigureAwait(false)) + { + return _result.Headers; + } + } + /// /// Gets the details of the user specified by its identifier. /// @@ -135,9 +185,13 @@ public static UserContract Get(this IUserOperations operations, string resourceG /// /// Create or update parameters. /// - public static UserContract CreateOrUpdate(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters) + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// + public static UserContract CreateOrUpdate(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, string ifMatch = default(string)) { - return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, uid, parameters).GetAwaiter().GetResult(); + return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, uid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -159,12 +213,16 @@ public static UserContract CreateOrUpdate(this IUserOperations operations, strin /// /// Create or update parameters. /// + /// + /// ETag of the Entity. Not required when creating an entity, but required when + /// updating an entity. + /// /// /// The cancellation token. /// - public static async Task CreateOrUpdateAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task CreateOrUpdateAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserCreateParameters parameters, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, uid, parameters, null, cancellationToken).ConfigureAwait(false)) + using (var _result = await operations.CreateOrUpdateWithHttpMessagesAsync(resourceGroupName, serviceName, uid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) { return _result.Body; } @@ -190,12 +248,13 @@ public static UserContract CreateOrUpdate(this IUserOperations operations, strin /// Update parameters. /// /// - /// The entity state (Etag) version of the user to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// - public static ErrorResponse Update(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch) + public static void Update(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch) { - return operations.UpdateAsync(resourceGroupName, serviceName, uid, parameters, ifMatch).GetAwaiter().GetResult(); + operations.UpdateAsync(resourceGroupName, serviceName, uid, parameters, ifMatch).GetAwaiter().GetResult(); } /// @@ -218,18 +277,16 @@ public static ErrorResponse Update(this IUserOperations operations, string resou /// Update parameters. /// /// - /// The entity state (Etag) version of the user to update. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// The cancellation token. /// - public static async Task UpdateAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) + public static async Task UpdateAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, UserUpdateParameters parameters, string ifMatch, CancellationToken cancellationToken = default(CancellationToken)) { - using (var _result = await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, uid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)) - { - return _result.Body; - } + (await operations.UpdateWithHttpMessagesAsync(resourceGroupName, serviceName, uid, parameters, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// @@ -249,15 +306,19 @@ public static ErrorResponse Update(this IUserOperations operations, string resou /// instance. /// /// - /// The entity state (Etag) version of the user to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Whether to delete user's subscription or not. /// - public static void Delete(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?)) + /// + /// Send an Account Closed Email notification to the User. + /// + public static void Delete(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), bool? notify = default(bool?)) { - operations.DeleteAsync(resourceGroupName, serviceName, uid, ifMatch, deleteSubscriptions).GetAwaiter().GetResult(); + operations.DeleteAsync(resourceGroupName, serviceName, uid, ifMatch, deleteSubscriptions, notify).GetAwaiter().GetResult(); } /// @@ -277,18 +338,22 @@ public static ErrorResponse Update(this IUserOperations operations, string resou /// instance. /// /// - /// The entity state (Etag) version of the user to delete. A value of "*" can - /// be used for If-Match to unconditionally apply the operation. + /// ETag of the Entity. ETag should match the current entity state from the + /// header response of the GET request or it should be * for unconditional + /// update. /// /// /// Whether to delete user's subscription or not. /// + /// + /// Send an Account Closed Email notification to the User. + /// /// /// The cancellation token. /// - public static async Task DeleteAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) + public static async Task DeleteAsync(this IUserOperations operations, string resourceGroupName, string serviceName, string uid, string ifMatch, bool? deleteSubscriptions = default(bool?), bool? notify = default(bool?), CancellationToken cancellationToken = default(CancellationToken)) { - (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, uid, ifMatch, deleteSubscriptions, null, cancellationToken).ConfigureAwait(false)).Dispose(); + (await operations.DeleteWithHttpMessagesAsync(resourceGroupName, serviceName, uid, ifMatch, deleteSubscriptions, notify, null, cancellationToken).ConfigureAwait(false)).Dispose(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperations.cs index 2ae3d167530e..4a2d2a4d25a7 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperations.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -119,17 +119,17 @@ internal UserSubscriptionOperations(ApiManagementClient client) } if (uid != null) { - if (uid.Length > 256) + if (uid.Length > 80) { - throw new ValidationException(ValidationRules.MaxLength, "uid", 256); + throw new ValidationException(ValidationRules.MaxLength, "uid", 80); } if (uid.Length < 1) { throw new ValidationException(ValidationRules.MinLength, "uid", 1); } - if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "^[^*#&+:<>?]+$")) + if (!System.Text.RegularExpressions.Regex.IsMatch(uid, "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)")) { - throw new ValidationException(ValidationRules.Pattern, "uid", "^[^*#&+:<>?]+$"); + throw new ValidationException(ValidationRules.Pattern, "uid", "(^[\\w]+$)|(^[\\w][\\w\\-]+[\\w]$)"); } } if (Client.ApiVersion == null) @@ -275,7 +275,7 @@ internal UserSubscriptionOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { @@ -443,7 +443,7 @@ internal UserSubscriptionOperations(ApiManagementClient client) _responseContent = await _httpResponse.Content.ReadAsStringAsync().ConfigureAwait(false); try { - _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); + _result.Body = Rest.Serialization.SafeJsonConvert.DeserializeObject>(_responseContent, Client.DeserializationSettings); } catch (JsonException ex) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperationsExtensions.cs index 4dbfbd3e07fb..28d078aa8e57 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/UserSubscriptionOperationsExtensions.cs @@ -1,3 +1,4 @@ +// // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for // license information. @@ -5,11 +6,10 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is // regenerated. +// namespace Microsoft.Azure.Management.ApiManagement { - using Microsoft.Azure; - using Microsoft.Azure.Management; using Microsoft.Rest; using Microsoft.Rest.Azure; using Microsoft.Rest.Azure.OData; @@ -43,7 +43,7 @@ public static partial class UserSubscriptionOperationsExtensions /// public static IPage List(this IUserSubscriptionOperations operations, string resourceGroupName, string serviceName, string uid, ODataQuery odataQuery = default(ODataQuery)) { - return ((IUserSubscriptionOperations)operations).ListAsync(resourceGroupName, serviceName, uid, odataQuery).GetAwaiter().GetResult(); + return operations.ListAsync(resourceGroupName, serviceName, uid, odataQuery).GetAwaiter().GetResult(); } /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj b/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj index 814666174c29..df8638638c54 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj @@ -8,9 +8,9 @@ Provides ApiManagement management capabilities for Microsoft Azure. Microsoft Azure API Management Management Microsoft.Azure.Management.ApiManagement - 1.0.0-preview + 4.0.0-preview Microsoft Azure ApiManagement management;API Management; - + Refer https://aka.ms/apimdotnetsdkchangelog for release notes. net452;netstandard1.4 diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs index 7478c63c4fdf..ae6057bf4c1b 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs @@ -7,10 +7,10 @@ using System.Resources; [assembly: AssemblyTitle("Microsoft Azure API Management Resource Management Library")] -[assembly: AssemblyDescription("Provides api management capabilities for Microsoft Azure.")] +[assembly: AssemblyDescription("Provides Api management capabilities for Microsoft Azure.")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("4.0.0.0")] +[assembly: AssemblyFileVersion("4.0.0.0")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Microsoft")] [assembly: AssemblyProduct("Azure .NET SDK")] diff --git a/src/SDKs/ApiManagement/changelog.md b/src/SDKs/ApiManagement/changelog.md new file mode 100644 index 000000000000..6ccb1894a24c --- /dev/null +++ b/src/SDKs/ApiManagement/changelog.md @@ -0,0 +1,24 @@ +## Microsoft.Azure.Management.ApiManagment release notes + +### Changes in 4.0.0-preview + +**Notes** +*** Resource Management APIs *** +- Added support for Basic Sku +- Added support for Intermediate Certificates +- Added support for creating MSI and KeyVault integration +- Added support for querying NetworkStatus endpoint + +*** Management APIs *** +- Added support for creating an API by importing a WSDL document, containing multiple Service endpoints +- GetEntityTag API for all resources, to retrieve the ETag of the entity, to be used when Updating/Deleting the Entity. +- API support for API Revisions, API Releases and Api VersionSets +- API support for API Schemas. +- API support for Backend Reconnect. +- API support for Tag. +- API support for Diagnostics +- API support for Application insights Logger +- API support for managing Notifications, Notification Recipients and Notification Users. +- API support for Portal settings including SignIn, Signup and Delegation. +- API support for Importing Policies using Link +- Added support for Exporting Soap APIs in WSDL Format. \ No newline at end of file diff --git a/src/SDKs/_metadata/apimanagement_resource-manager.txt b/src/SDKs/_metadata/apimanagement_resource-manager.txt index 13a0f4a4d13a..902c0e506623 100644 --- a/src/SDKs/_metadata/apimanagement_resource-manager.txt +++ b/src/SDKs/_metadata/apimanagement_resource-manager.txt @@ -1,10 +1,11 @@ -2017-08-01 15:52:08 UTC +2018-03-09 00:36:09 UTC 1) azure-rest-api-specs repository information GitHub user: Azure -Branch: current -Commit: 32a0602bdb695d6cb1142236316e1cec5fe75207 +Branch: master +Commit: 6a0907fc622a45e7cb92a9441d379ca870e5ca05 2) AutoRest information Requested version: latest -Latest version: 1.2.2 +Bootstrapper version: C:\Users\sasolank\AppData\Roaming\npm `-- autorest@2.0.4245 +Latest installed version: