diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs index da2e20e7d47e..4efdc4ce2c2b 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/ManagementApiTests/ApiSchemaTests.cs @@ -12,11 +12,44 @@ using System.Collections.Generic; using System; using System.Net; +using System.Xml.Linq; namespace ApiManagement.Tests.ManagementApiTests { public class ApiSchemaTests : TestBase { + public static string XmlSchemaString2 = @" + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + "; + public static string JsonSchemaString1 = @"{ ""pet"": { ""required"": [""id"", @@ -66,8 +99,10 @@ public class ApiSchemaTests : TestBase } } }"; + + [Fact] - public async Task CreateListUpdateDelete() + public async Task CreateListUpdateDeleteSwaggerSchema() { Environment.SetEnvironmentVariable("AZURE_TEST_MODE", "Playback"); using (MockContext context = MockContext.Start(this.GetType().FullName)) @@ -121,7 +156,7 @@ public async Task CreateListUpdateDelete() Assert.True(apiGetResponse.Protocols.Contains(Protocol.Http)); Assert.True(apiGetResponse.Protocols.Contains(Protocol.Https)); - var schemaContractParams = new SchemaContract() + var schemaContractParams = new SchemaCreateOrUpdateContract() { ContentType = "application/vnd.ms-azure-apim.swagger.definitions+json", Value = JsonSchemaString1 @@ -135,6 +170,7 @@ public async Task CreateListUpdateDelete() schemaContractParams); Assert.NotNull(schemaContract); Assert.Equal(schemaContractParams.ContentType, schemaContract.ContentType); + Assert.NotNull(schemaContract.Document); // list the schemas attached to the api var schemasList = await testBase.client.ApiSchema.ListByApiAsync( @@ -197,6 +233,292 @@ await testBase.client.ApiSchema.DeleteAsync( "*"); + // delete the api + testBase.client.Api.Delete( + testBase.rgName, + testBase.serviceName, + newApiId, + "*"); + } + } + } + + [Fact] + public async Task CreateListUpdateDeleteOpenApiSchema() + { + 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 SchemaCreateOrUpdateContract() + { + ContentType = "application/vnd.oai.openapi.components+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); + Assert.NotNull(schemaContract.Document); + + // 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, + "*"); + } + } + } + + [Fact] + public async Task CreateListUpdateDeleteWsdlSchema() + { + 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)); + + XDocument schemaXDoc = XDocument.Parse(XmlSchemaString2); + var schemaContractParams = new SchemaCreateOrUpdateContract() + { + ContentType = "application/vnd.ms-azure-apim.xsd+xml", + Value = schemaXDoc.ToString() + }; + + var schemaContract = await testBase.client.ApiSchema.CreateOrUpdateAsync( + testBase.rgName, + testBase.serviceName, + newApiId, + newSchemaId, + schemaContractParams); + Assert.NotNull(schemaContract); + Assert.Equal(schemaContractParams.ContentType, schemaContract.ContentType); + Assert.NotNull(schemaContract.Document); + Assert.NotNull(schemaContract.WsdlSchema); + + // 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, diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteOpenApiSchema.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteOpenApiSchema.json new file mode 100644 index 000000000000..c2cc1ce4fe86 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteOpenApiSchema.json @@ -0,0 +1,930 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "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": { + "x-ms-client-request-id": [ + "5ae6dbc6-8eef-45b0-a7b1-b2c3ab0fa366" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAF8TCs=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "d88e5f3f-e3e1-46f4-a041-5d61b4d63ade", + "8c1dbb91-95b4-4966-b817-40df5aabbf0d" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "3c102f5f-9e99-442f-ac8c-d284e4459cb8" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T223952Z:3c102f5f-9e99-442f-ac8c-d284e4459cb8" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:39:51 GMT" + ], + "Content-Length": [ + "2039" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "26fd9e2f-b625-459f-8ca8-918a455383ec" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAF8TCs=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e33eefa7-e467-45e1-b741-f8e3a140c8a4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "44684a45-e4e2-4ae2-9b0d-f75146276350" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T223952Z:44684a45-e4e2-4ae2-9b0d-f75146276350" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:39:51 GMT" + ], + "Content-Length": [ + "2039" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription7455\",\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header4281\",\r\n \"query\": \"query6678\"\r\n },\r\n \"displayName\": \"apiname3965\",\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": { + "x-ms-client-request-id": [ + "b47f8633-277a-415d-870a-49d18b6dd049" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "353" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgJM=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5cd90733-4739-4622-b4a7-c6b12368a21e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "c008dc79-93d8-4d8a-afe5-b9c8254c1e93" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T223953Z:c008dc79-93d8-4d8a-afe5-b9c8254c1e93" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:39:52 GMT" + ], + "Content-Length": [ + "734" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid171\",\r\n \"properties\": {\r\n \"displayName\": \"apiname3965\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription7455\",\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\": \"header4281\",\r\n \"query\": \"query6678\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgJM=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6bedb870-d2b4-4ec8-9c83-aeb4b4c31cfe" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "05aa538f-830a-4816-82c2-c30a245cfdff" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224023Z:05aa538f-830a-4816-82c2-c30a245cfdff" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:23 GMT" + ], + "Content-Length": [ + "734" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid171\",\r\n \"properties\": {\r\n \"displayName\": \"apiname3965\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription7455\",\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\": \"header4281\",\r\n \"query\": \"query6678\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4b196dd0-15ee-4296-b92b-87bcd793f542" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgJM=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "8064a956-8c7c-486c-83ad-974f93a31aec" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "bbe568dd-5774-402e-abea-015a38a1e9ba" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224023Z:bbe568dd-5774-402e-abea-015a38a1e9ba" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:23 GMT" + ], + "Content-Length": [ + "734" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid171\",\r\n \"properties\": {\r\n \"displayName\": \"apiname3965\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription7455\",\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\": \"header4281\",\r\n \"query\": \"query6678\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "67ec7bc2-7e1e-419c-a536-3577a7f7b203" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "02c6a50a-bee9-43d9-a91a-4860a36d3a4e" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "3ef11ac7-e76c-41d3-bf88-aefaf711cf37" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224025Z:3ef11ac7-e76c-41d3-bf88-aefaf711cf37" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:25 GMT" + ], + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Api not found.\",\r\n \"details\": null\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXMvc2NoZW1haWQ1NTAyP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.oai.openapi.components+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": { + "x-ms-client-request-id": [ + "a6a381e1-af3e-468f-bb3c-3019db48b5f9" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1822" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgJc=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2387d95b-baeb-41b7-b9d4-014f1a3540e8" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "732199ae-d942-4694-8131-89d004665533" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224024Z:732199ae-d942-4694-8131-89d004665533" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:23 GMT" + ], + "Content-Length": [ + "2101" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid5502\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.oai.openapi.components+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}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXM/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "46047c84-c2d9-4f98-8b71-e34edc1755a0" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5e3a0ad4-1a8b-42d1-9733-3f83c9f566ef" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "99ad0b9f-358f-4e01-be29-66a3acc50c2e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224024Z:99ad0b9f-358f-4e01-be29-66a3acc50c2e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:23 GMT" + ], + "Content-Length": [ + "2170" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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/apiid171/schemas/schemaid5502\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid5502\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.oai.openapi.components+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}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXMvc2NoZW1haWQ1NTAyP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "da995533-fb1d-4f19-ae78-92ef00bcfd38" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgJc=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "e2bfd45b-10e9-41d3-8ce6-3d95988b0688" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "7e7ccf96-77f3-4c3c-9fbd-8c5694a68cb2" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224024Z:7e7ccf96-77f3-4c3c-9fbd-8c5694a68cb2" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:24 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXMvc2NoZW1haWQ1NTAyP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "d70d4a43-e753-4353-a355-d854631e718c" + ], + "If-Match": [ + "\"AAAAAAAAgJc=\"" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "0190842e-80c2-452e-be5d-bb516ef26238" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "358d0412-b394-4bdb-ad80-8ee948578db0" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224024Z:358d0412-b394-4bdb-ad80-8ee948578db0" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXMvc2NoZW1haWQ1NTAyP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "9231267e-c67f-47fc-a857-d441eecdb3b7" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "16288581-b6af-4e88-8bb0-bef1c4523892" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "78c3b503-ea4c-4c20-a033-296a5b2e4357" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224025Z:78c3b503-ea4c-4c20-a033-296a5b2e4357" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:25 GMT" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171/schemas/schemaid5502?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxL3NjaGVtYXMvc2NoZW1haWQ1NTAyP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b49e8ea9-f3ec-4942-a7e0-606d3ccac4f6" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "f293c9d8-dca2-4cad-9861-5ae6d9829236" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "2b22eb14-8e23-4f4d-82e4-8ced904a6abc" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224025Z:2b22eb14-8e23-4f4d-82e4-8ced904a6abc" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:24 GMT" + ], + "Content-Length": [ + "82" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Schema not found.\",\r\n \"details\": null\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "418008da-83b2-454c-8035-c5edf0718f3d" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "86b51d37-ce4c-4750-be5d-77b2dfbaeea1" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "398080a7-79c5-45b7-8abe-f754d7118f0b" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224025Z:398080a7-79c5-45b7-8abe-f754d7118f0b" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:24 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid171?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkMTcxP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f64f2249-ff9e-40c6-b059-3c2cbc2131ca" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "40046b2c-14a3-4e1a-8498-115bf722b4f4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "920d74fe-51d6-469d-9eff-2d082102b18a" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190501T224025Z:920d74fe-51d6-469d-9eff-2d082102b18a" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Wed, 01 May 2019 22:40:25 GMT" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteOpenApiSchema": [ + "apiid171", + "schemaid5502", + "apiname3965", + "apidescription7455", + "header4281", + "query6678" + ] + }, + "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.ApiSchemaTests/CreateListUpdateDelete.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteSwaggerSchema.json similarity index 82% rename from src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDelete.json rename to src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteSwaggerSchema.json index 27d9aaf7f895..b8e71bb602f3 100644 --- a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDelete.json +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteSwaggerSchema.json @@ -7,7 +7,7 @@ "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": { "x-ms-client-request-id": [ - "29c69add-cb13-42c7-9fce-2c69dc9dacde" + "4978020a-84ab-4d4d-9595-4b7b0b03b17b" ], "Accept-Language": [ "en-US" @@ -16,7 +16,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -33,32 +33,32 @@ "no-cache" ], "ETag": [ - "\"AAAAAAFuRAQ=\"" + "\"AAAAAAF8TCs=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "c0aed9c3-694d-475f-be48-80bf1b686766", - "da712de6-932f-4b3c-89be-c82ce93089bf" + "b6e2e4f4-4880-4878-ae64-238018f215f8", + "71062a32-fbcb-4388-a3de-1d759fb40c8a" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1196" + "1199" ], "x-ms-correlation-request-id": [ - "a3459fe8-5b93-4039-af50-5de1760c22ab" + "f1fbb770-74f2-454e-b869-a48204ab5748" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020803Z:a3459fe8-5b93-4039-af50-5de1760c22ab" + "WESTUS2:20190501T224027Z:f1fbb770-74f2-454e-b869-a48204ab5748" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:02 GMT" + "Wed, 01 May 2019 22:40:27 GMT" ], "Content-Length": [ "2039" @@ -70,7 +70,7 @@ "-1" ] }, - "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\": \"AAAAAAFuRAQ=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "StatusCode": 200 }, { @@ -80,7 +80,7 @@ "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "87997ff3-cf37-45e9-80a3-fb69c6388db7" + "26e3be05-a0da-4f11-a7aa-9019e5cb3971" ], "Accept-Language": [ "en-US" @@ -89,7 +89,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -100,31 +100,31 @@ "no-cache" ], "ETag": [ - "\"AAAAAAFuRAQ=\"" + "\"AAAAAAF8TCs=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "20a5f745-f5a0-4d3d-8379-8875b1e92d99" + "6ca5b642-2e24-4a22-b96a-137633f080cd" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11997" + "11999" ], "x-ms-correlation-request-id": [ - "725578a4-a47a-4939-9c18-42d015907a7f" + "ea68078c-cba1-44fb-96d0-48ae62507de1" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020803Z:725578a4-a47a-4939-9c18-42d015907a7f" + "WESTUS2:20190501T224027Z:ea68078c-cba1-44fb-96d0-48ae62507de1" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:02 GMT" + "Wed, 01 May 2019 22:40:27 GMT" ], "Content-Length": [ "2039" @@ -136,17 +136,17 @@ "-1" ] }, - "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\": \"AAAAAAFuRAQ=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "PUT", - "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription9189\",\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header5518\",\r\n \"query\": \"query7125\"\r\n },\r\n \"displayName\": \"apiname1663\",\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\": \"apidescription8692\",\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header378\",\r\n \"query\": \"query4104\"\r\n },\r\n \"displayName\": \"apiname9503\",\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": { "x-ms-client-request-id": [ - "b2f5204f-2072-4902-9624-0e2bf0bf8085" + "7f2a1303-74fc-437a-97a3-2767cb4ad4a7" ], "Accept-Language": [ "en-US" @@ -155,13 +155,13 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ], "Content-Type": [ "application/json; charset=utf-8" ], "Content-Length": [ - "353" + "352" ] }, "ResponseHeaders": { @@ -172,34 +172,34 @@ "no-cache" ], "ETag": [ - "\"AAAAAAAAcOI=\"" + "\"AAAAAAAAgJo=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "db5a8f6c-6c70-42d6-830a-f83f53b22b82" + "d50df62a-ddec-45f1-9c59-6cc788e69e31" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1195" + "1198" ], "x-ms-correlation-request-id": [ - "2514c81b-d4e9-4793-ad43-75b55e4377fd" + "4e536267-d9ff-4727-8fee-4b54ab1e3fa8" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020804Z:2514c81b-d4e9-4793-ad43-75b55e4377fd" + "WESTUS2:20190501T224028Z:4e536267-d9ff-4727-8fee-4b54ab1e3fa8" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:03 GMT" + "Wed, 01 May 2019 22:40:28 GMT" ], "Content-Length": [ - "736" + "735" ], "Content-Type": [ "application/json; charset=utf-8" @@ -208,12 +208,12 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid8419\",\r\n \"properties\": {\r\n \"displayName\": \"apiname1663\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9189\",\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\": \"header5518\",\r\n \"query\": \"query7125\"\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/apiid4293\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid4293\",\r\n \"properties\": {\r\n \"displayName\": \"apiname9503\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription8692\",\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\": \"header378\",\r\n \"query\": \"query4104\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { @@ -221,7 +221,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -232,34 +232,34 @@ "no-cache" ], "ETag": [ - "\"AAAAAAAAcOI=\"" + "\"AAAAAAAAgJo=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "32fc9860-c397-44e1-811f-de7f3f74a5a1" + "af148943-1a71-4425-8ebd-49f614821f22" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11996" + "11998" ], "x-ms-correlation-request-id": [ - "4c725332-eb51-4855-b9c0-05e4f750f297" + "b569f92d-57bd-411a-8921-17096ab09b12" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020835Z:4c725332-eb51-4855-b9c0-05e4f750f297" + "WESTUS2:20190501T224058Z:b569f92d-57bd-411a-8921-17096ab09b12" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:35 GMT" + "Wed, 01 May 2019 22:40:58 GMT" ], "Content-Length": [ - "736" + "735" ], "Content-Type": [ "application/json; charset=utf-8" @@ -268,17 +268,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid8419\",\r\n \"properties\": {\r\n \"displayName\": \"apiname1663\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9189\",\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\": \"header5518\",\r\n \"query\": \"query7125\"\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/apiid4293\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid4293\",\r\n \"properties\": {\r\n \"displayName\": \"apiname9503\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription8692\",\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\": \"header378\",\r\n \"query\": \"query4104\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "59bf6cc1-e775-40db-9dc6-8a9aba27ee06" + "acad0295-d38b-4157-8ae4-1a6661c6800d" ], "Accept-Language": [ "en-US" @@ -287,7 +287,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -298,34 +298,34 @@ "no-cache" ], "ETag": [ - "\"AAAAAAAAcOI=\"" + "\"AAAAAAAAgJo=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "ea344e80-b352-4016-b10a-2d996524c2e8" + "909831f9-ce97-422f-a53b-74e568814569" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11995" + "11997" ], "x-ms-correlation-request-id": [ - "66f1ba8b-f19c-4fea-899d-6e8bf4e0699e" + "9c6f4c6e-513f-40eb-aa50-7cba7c23e962" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020835Z:66f1ba8b-f19c-4fea-899d-6e8bf4e0699e" + "WESTUS2:20190501T224058Z:9c6f4c6e-513f-40eb-aa50-7cba7c23e962" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:35 GMT" + "Wed, 01 May 2019 22:40:58 GMT" ], "Content-Length": [ - "736" + "735" ], "Content-Type": [ "application/json; charset=utf-8" @@ -334,17 +334,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid8419\",\r\n \"properties\": {\r\n \"displayName\": \"apiname1663\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9189\",\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\": \"header5518\",\r\n \"query\": \"query7125\"\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/apiid4293\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid4293\",\r\n \"properties\": {\r\n \"displayName\": \"apiname9503\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription8692\",\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\": \"header378\",\r\n \"query\": \"query4104\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "82e5ecb1-cf51-4ee4-b9a2-3f1fcb8c61ab" + "2ddd373c-a574-48c7-8d91-7145b0d9e3b8" ], "Accept-Language": [ "en-US" @@ -353,7 +353,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -367,25 +367,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8b42c0b2-5b85-4738-a832-2f48ed3475b9" + "5f688a5a-ce4e-47f7-84b2-0382b3b05306" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11991" + "11993" ], "x-ms-correlation-request-id": [ - "bafb6725-163a-4429-9882-a3401071fb20" + "f0f8565e-81d7-44b6-a4e0-a4c9a3af776d" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020837Z:bafb6725-163a-4429-9882-a3401071fb20" + "WESTUS2:20190501T224100Z:f0f8565e-81d7-44b6-a4e0-a4c9a3af776d" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:36 GMT" + "Wed, 01 May 2019 22:40:59 GMT" ], "Content-Length": [ "79" @@ -401,13 +401,13 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzL3NjaGVtYWlkNzU3OT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzL3NjaGVtYWlkNDEwOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "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": { "x-ms-client-request-id": [ - "b5298808-cca5-4a2a-a807-68e6e65f187a" + "98f4f9aa-2b59-47d0-b6da-51fad57bb863" ], "Accept-Language": [ "en-US" @@ -416,7 +416,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ], "Content-Type": [ "application/json; charset=utf-8" @@ -433,31 +433,31 @@ "no-cache" ], "ETag": [ - "\"AAAAAAAAcOY=\"" + "\"AAAAAAAAgJ4=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "4d634533-af8b-4bde-ad3a-0ba2b555b610" + "fe8e9f12-4525-4b4b-a0da-38ddc47dcddf" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-writes": [ - "1194" + "1197" ], "x-ms-correlation-request-id": [ - "97e733db-396c-4fe9-a3e2-07ccf6326ad8" + "05233547-ce41-4999-b509-879467b90903" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020835Z:97e733db-396c-4fe9-a3e2-07ccf6326ad8" + "WESTUS2:20190501T224059Z:05233547-ce41-4999-b509-879467b90903" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:35 GMT" + "Wed, 01 May 2019 22:40:58 GMT" ], "Content-Length": [ "1715" @@ -469,17 +469,17 @@ "-1" ] }, - "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid7579\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"definitions\": {\r\n \"pet\": {\r\n \"required\": [\r\n \"id\",\r\n \"name\"\r\n ],\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 {\r\n \"$ref\": \"pet\"\r\n },\r\n {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"id\": {\r\n \"properties\": {\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 }\r\n }\r\n}", + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid4109\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"definitions\": {\r\n \"pet\": {\r\n \"required\": [\r\n \"id\",\r\n \"name\"\r\n ],\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 {\r\n \"$ref\": \"pet\"\r\n },\r\n {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"id\": {\r\n \"properties\": {\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 }\r\n }\r\n}", "StatusCode": 201 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzP2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "5784e0bc-d5c2-4960-8ff5-77a7c9a95953" + "d9112e32-5f64-4fa2-8bba-9f2ccd87cfe7" ], "Accept-Language": [ "en-US" @@ -488,7 +488,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -502,25 +502,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f6c0e901-f948-4db7-bf4d-3e11e24cdf84" + "2aeead01-79b0-4c55-849e-9a27860963ef" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11994" + "11996" ], "x-ms-correlation-request-id": [ - "f6ebf08c-b48a-4224-8aeb-dbe2e5038e2e" + "49abcb2c-aeaa-4fbc-b531-0cd556176f54" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020835Z:f6ebf08c-b48a-4224-8aeb-dbe2e5038e2e" + "WESTUS2:20190501T224059Z:49abcb2c-aeaa-4fbc-b531-0cd556176f54" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:35 GMT" + "Wed, 01 May 2019 22:40:58 GMT" ], "Content-Length": [ "2008" @@ -532,17 +532,17 @@ "-1" ] }, - "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/apiid8419/schemas/schemaid7579\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid7579\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"definitions\": {\r\n \"pet\": {\r\n \"required\": [\r\n \"id\",\r\n \"name\"\r\n ],\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 {\r\n \"$ref\": \"pet\"\r\n },\r\n {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"id\": {\r\n \"properties\": {\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 }\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/apis/apiid4293/schemas/schemaid4109\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid4109\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.swagger.definitions+json\",\r\n \"document\": {\r\n \"definitions\": {\r\n \"pet\": {\r\n \"required\": [\r\n \"id\",\r\n \"name\"\r\n ],\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 {\r\n \"$ref\": \"pet\"\r\n },\r\n {\r\n \"required\": [\r\n \"name\"\r\n ],\r\n \"id\": {\r\n \"properties\": {\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 }\r\n }\r\n }\r\n ]\r\n}", "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzL3NjaGVtYWlkNzU3OT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzL3NjaGVtYWlkNDEwOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "HEAD", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "026e6190-f367-4831-9c9b-f28162bcd50a" + "3b3f3bce-6663-4fbd-8c0d-ce09d8fb8c94" ], "Accept-Language": [ "en-US" @@ -551,7 +551,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -562,31 +562,31 @@ "no-cache" ], "ETag": [ - "\"AAAAAAAAcOY=\"" + "\"AAAAAAAAgJ4=\"" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "8faef807-72dc-4319-a337-f835c002c472" + "6918a562-1741-494f-8139-2424f1333997" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11993" + "11995" ], "x-ms-correlation-request-id": [ - "2ed63e0c-7475-4721-8551-8667c029b4cf" + "927f3e4e-e81a-4ea9-a14f-3afb97d0a1b6" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020836Z:2ed63e0c-7475-4721-8551-8667c029b4cf" + "WESTUS2:20190501T224059Z:927f3e4e-e81a-4ea9-a14f-3afb97d0a1b6" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:35 GMT" + "Wed, 01 May 2019 22:40:59 GMT" ], "Content-Length": [ "0" @@ -599,16 +599,16 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzL3NjaGVtYWlkNzU3OT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzL3NjaGVtYWlkNDEwOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "eb149b5a-b048-4e8d-ac06-df5d88e0bb8a" + "d7f02ca3-3174-47be-98b7-39f689cb4e10" ], "If-Match": [ - "\"AAAAAAAAcOY=\"" + "\"AAAAAAAAgJ4=\"" ], "Accept-Language": [ "en-US" @@ -617,7 +617,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -631,7 +631,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "201bc56b-f38a-4a86-a122-4585d6733329" + "e267be13-84f6-4194-8f35-8c1ab1a45bf7" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -640,16 +640,16 @@ "14999" ], "x-ms-correlation-request-id": [ - "6a09bbc6-e0c0-4841-b5de-1c16c3ff3ab8" + "2d3bc7be-129d-419d-a88b-637fc6cd8628" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020836Z:6a09bbc6-e0c0-4841-b5de-1c16c3ff3ab8" + "WESTUS2:20190501T224059Z:2d3bc7be-129d-419d-a88b-637fc6cd8628" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:36 GMT" + "Wed, 01 May 2019 22:40:59 GMT" ], "Expires": [ "-1" @@ -662,13 +662,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzL3NjaGVtYWlkNzU3OT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzL3NjaGVtYWlkNDEwOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "ae780751-9482-4293-9a0a-e6f7a0b78e06" + "2f4780e7-04a6-470c-b357-c351130bcdf2" ], "If-Match": [ "*" @@ -680,7 +680,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -694,7 +694,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "e27a059c-d51b-4850-a542-dbadb28be898" + "259e199e-05a7-4f8c-b6a2-015dd6c2ff22" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -703,16 +703,16 @@ "14997" ], "x-ms-correlation-request-id": [ - "19ebfa02-01d9-475b-9786-7de467e128d8" + "05850fd3-64a8-49c8-b300-22ff6b88c8ab" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020837Z:19ebfa02-01d9-475b-9786-7de467e128d8" + "WESTUS2:20190501T224100Z:05850fd3-64a8-49c8-b300-22ff6b88c8ab" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:36 GMT" + "Wed, 01 May 2019 22:41:00 GMT" ], "Expires": [ "-1" @@ -722,13 +722,13 @@ "StatusCode": 204 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419/schemas/schemaid7579?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOS9zY2hlbWFzL3NjaGVtYWlkNzU3OT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293/schemas/schemaid4109?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5My9zY2hlbWFzL3NjaGVtYWlkNDEwOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "GET", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "53415aa7-2fb9-440b-850f-356aeceb1990" + "4198bf6c-18b8-4213-8c86-9b97e30362aa" ], "Accept-Language": [ "en-US" @@ -737,7 +737,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -751,25 +751,25 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "847e7862-3bb7-47fe-b990-20344d2dea0b" + "3413b8c1-0f55-42a0-9d8e-481f32dd89b3" ], "Server": [ "Microsoft-HTTPAPI/2.0" ], "x-ms-ratelimit-remaining-subscription-reads": [ - "11992" + "11994" ], "x-ms-correlation-request-id": [ - "e1016f99-1585-43e1-869d-39ac5c134233" + "bcdbbe46-eb5b-41e2-9b8d-2ce0f29df7b7" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020836Z:e1016f99-1585-43e1-869d-39ac5c134233" + "WESTUS2:20190501T224059Z:bcdbbe46-eb5b-41e2-9b8d-2ce0f29df7b7" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:36 GMT" + "Wed, 01 May 2019 22:40:59 GMT" ], "Content-Length": [ "82" @@ -785,13 +785,13 @@ "StatusCode": 404 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "6d36bc58-0c54-4250-8ffe-6e0ed2d55550" + "6bc421a0-0937-40c5-88f3-9d8df2735301" ], "If-Match": [ "*" @@ -803,7 +803,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -817,7 +817,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "22ff076a-da06-4029-9d52-7c7e8fd72f59" + "eada9ecb-547e-42d5-bca7-3c7bedc7df5d" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -826,16 +826,16 @@ "14998" ], "x-ms-correlation-request-id": [ - "e10c4a8d-f384-4fd6-8b55-180896e3943b" + "2209d976-0bf7-4e45-9bd4-d76f50375c30" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020836Z:e10c4a8d-f384-4fd6-8b55-180896e3943b" + "WESTUS2:20190501T224100Z:2209d976-0bf7-4e45-9bd4-d76f50375c30" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:36 GMT" + "Wed, 01 May 2019 22:40:59 GMT" ], "Expires": [ "-1" @@ -848,13 +848,13 @@ "StatusCode": 200 }, { - "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid8419?api-version=2019-01-01", - "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkODQxOT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid4293?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNDI5Mz9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", "RequestMethod": "DELETE", "RequestBody": "", "RequestHeaders": { "x-ms-client-request-id": [ - "12f16c2e-8df1-48c3-88c5-2011f438ff9c" + "7243d626-9d9c-43a2-b601-a2314b4ab192" ], "If-Match": [ "*" @@ -866,7 +866,7 @@ "FxVersion/4.6.27414.06", "OSName/Windows", "OSVersion/Microsoft.Windows.10.0.17763.", - "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/5.0.0.0" + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.9.0.0" ] }, "ResponseHeaders": { @@ -880,7 +880,7 @@ "max-age=31536000; includeSubDomains" ], "x-ms-request-id": [ - "f5f27874-5b97-4f5a-b1c7-57bf2363ab3b" + "8704d6f4-bc8e-471e-9347-8e3811d330b4" ], "Server": [ "Microsoft-HTTPAPI/2.0" @@ -889,16 +889,16 @@ "14996" ], "x-ms-correlation-request-id": [ - "cdbe3abe-a441-42ee-a83c-5eec747c717e" + "6a756052-4beb-47b3-9fd7-cb8e73013e02" ], "x-ms-routing-request-id": [ - "WESTUS2:20190411T020837Z:cdbe3abe-a441-42ee-a83c-5eec747c717e" + "WESTUS2:20190501T224100Z:6a756052-4beb-47b3-9fd7-cb8e73013e02" ], "X-Content-Type-Options": [ "nosniff" ], "Date": [ - "Thu, 11 Apr 2019 02:08:37 GMT" + "Wed, 01 May 2019 22:41:00 GMT" ], "Expires": [ "-1" @@ -909,13 +909,13 @@ } ], "Names": { - "CreateListUpdateDelete": [ - "apiid8419", - "schemaid7579", - "apiname1663", - "apidescription9189", - "header5518", - "query7125" + "CreateListUpdateDeleteSwaggerSchema": [ + "apiid4293", + "schemaid4109", + "apiname9503", + "apidescription8692", + "header378", + "query4104" ] }, "Variables": { diff --git a/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteWsdlSchema.json b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteWsdlSchema.json new file mode 100644 index 000000000000..06ffc46da312 --- /dev/null +++ b/src/SDKs/ApiManagement/ApiManagement.Tests/SessionRecords/ApiManagement.Tests.ManagementApiTests.ApiSchemaTests/CreateListUpdateDeleteWsdlSchema.json @@ -0,0 +1,930 @@ +{ + "Entries": [ + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "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": { + "x-ms-client-request-id": [ + "fabdcd73-7e98-4e26-962e-61982eb49bdd" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "289" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAF8TCs=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "6fbaef42-31f7-4850-b8e6-730b619538b0", + "f9ff23e6-63b2-4bdc-82e0-25052361bc5b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1199" + ], + "x-ms-correlation-request-id": [ + "448086af-eaba-4752-a661-3ccb07c59a7e" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183539Z:448086af-eaba-4752-a661-3ccb07c59a7e" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:35:39 GMT" + ], + "Content-Length": [ + "2039" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZT9hcGktdmVyc2lvbj0yMDE5LTAxLTAx", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "5d7f9d60-465e-4ef7-8cb4-f3ccd3c52fe5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAF8TCs=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "4a7e3864-9533-412d-be79-3e3aeb46c979" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11999" + ], + "x-ms-correlation-request-id": [ + "d620ca73-7794-4d64-a1be-cb1248873444" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183539Z:d620ca73-7794-4d64-a1be-cb1248873444" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:35:39 GMT" + ], + "Content-Length": [ + "2039" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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\": \"AAAAAAF8TCs=\",\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 {\r\n \"type\": \"Proxy\",\r\n \"hostName\": \"sdktestservice.azure-api.net\",\r\n \"encodedCertificate\": null,\r\n \"keyVaultId\": null,\r\n \"certificatePassword\": null,\r\n \"negotiateClientCertificate\": false,\r\n \"certificate\": null,\r\n \"defaultSslBinding\": true\r\n }\r\n ],\r\n \"publicIPAddresses\": [\r\n \"52.173.33.36\"\r\n ],\r\n \"privateIPAddresses\": null,\r\n \"additionalLocations\": null,\r\n \"virtualNetworkConfiguration\": null,\r\n \"customProperties\": {\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Ciphers.TripleDes168\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls10\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Tls11\": \"True\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Security.Backend.Protocols.Ssl30\": \"False\",\r\n \"Microsoft.WindowsAzure.ApiManagement.Gateway.Protocols.Server.Http2\": \"False\"\r\n },\r\n \"virtualNetworkType\": \"None\",\r\n \"certificates\": []\r\n },\r\n \"sku\": {\r\n \"name\": \"Developer\",\r\n \"capacity\": 1\r\n },\r\n \"identity\": null\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"description\": \"apidescription9697\",\r\n \"subscriptionKeyParameterNames\": {\r\n \"header\": \"header7385\",\r\n \"query\": \"query2034\"\r\n },\r\n \"displayName\": \"apiname941\",\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": { + "x-ms-client-request-id": [ + "86c1600c-540a-400d-8664-339cf8efe077" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "352" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgKg=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "658f3c0f-1359-4054-b5c7-c541909bfe57" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1198" + ], + "x-ms-correlation-request-id": [ + "9b7ba99e-c552-4acc-86c4-e2aa841c1c26" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183540Z:9b7ba99e-c552-4acc-86c4-e2aa841c1c26" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:35:40 GMT" + ], + "Content-Length": [ + "733" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid574\",\r\n \"properties\": {\r\n \"displayName\": \"apiname941\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9697\",\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\": \"header7385\",\r\n \"query\": \"query2034\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgKg=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2a89835d-3edf-4d7b-8675-032551dfa0e6" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11998" + ], + "x-ms-correlation-request-id": [ + "6d9976e6-2f53-45d8-b7b4-17bf80110198" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183611Z:6d9976e6-2f53-45d8-b7b4-17bf80110198" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:11 GMT" + ], + "Content-Length": [ + "733" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid574\",\r\n \"properties\": {\r\n \"displayName\": \"apiname941\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9697\",\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\": \"header7385\",\r\n \"query\": \"query2034\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "6fdf5bf3-e882-409b-b1b2-0a1031fa8dff" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgKg=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "2297aa35-5331-4dcb-9c1a-061da5639121" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11997" + ], + "x-ms-correlation-request-id": [ + "a343112d-ea9c-40e0-b5fa-276b305c49a1" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183611Z:a343112d-ea9c-40e0-b5fa-276b305c49a1" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:11 GMT" + ], + "Content-Length": [ + "733" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis\",\r\n \"name\": \"apiid574\",\r\n \"properties\": {\r\n \"displayName\": \"apiname941\",\r\n \"apiRevision\": \"1\",\r\n \"description\": \"apidescription9697\",\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\": \"header7385\",\r\n \"query\": \"query2034\"\r\n },\r\n \"isCurrent\": true\r\n }\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "495338c3-d702-4858-b1b8-d3cc73b55929" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "3bd8aea0-6b02-480c-8f8c-fc4d926bbd3b" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11993" + ], + "x-ms-correlation-request-id": [ + "1f11e1fd-757e-48fa-afd1-6aaa448f6f4d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183645Z:1f11e1fd-757e-48fa-afd1-6aaa448f6f4d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:44 GMT" + ], + "Content-Length": [ + "79" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Api not found.\",\r\n \"details\": null\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXMvc2NoZW1haWQ1NTE5P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "PUT", + "RequestBody": "{\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.xsd+xml\",\r\n \"document\": {\r\n \"value\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\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": { + "x-ms-client-request-id": [ + "a5b314ba-1435-44ac-bd55-728fa75519b1" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Content-Length": [ + "1454" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgKw=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "1a00cb29-4d40-46a5-b5cd-2b0f12be1f02" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-writes": [ + "1197" + ], + "x-ms-correlation-request-id": [ + "68aa40e0-0c29-4baa-a605-3b63ad306e76" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183612Z:68aa40e0-0c29-4baa-a605-3b63ad306e76" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:11 GMT" + ], + "Content-Length": [ + "1733" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"id\": \"/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid5519\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.xsd+xml\",\r\n \"document\": {\r\n \"value\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n }\r\n}", + "StatusCode": 201 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXM/YXBpLXZlcnNpb249MjAxOS0wMS0wMQ==", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "c8276576-7f63-40cd-8b56-b55f41165ed5" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "03f38f6e-12ea-4471-acb1-6a2feaf38a1a" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11996" + ], + "x-ms-correlation-request-id": [ + "44b8950d-e0ce-479b-8f4b-90e7b74cd31d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183642Z:44b8950d-e0ce-479b-8f4b-90e7b74cd31d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:41 GMT" + ], + "Content-Length": [ + "1802" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "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/apiid574/schemas/schemaid5519\",\r\n \"type\": \"Microsoft.ApiManagement/service/apis/schemas\",\r\n \"name\": \"schemaid5519\",\r\n \"properties\": {\r\n \"contentType\": \"application/vnd.ms-azure-apim.xsd+xml\",\r\n \"document\": {\r\n \"value\": \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n\"\r\n }\r\n }\r\n }\r\n ]\r\n}", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXMvc2NoZW1haWQ1NTE5P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "HEAD", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "b6e52106-1b91-464f-8e02-ee17bd8d1adf" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "ETag": [ + "\"AAAAAAAAgKw=\"" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "444fbc51-205c-4698-bc58-19c4c6cdd3d5" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11995" + ], + "x-ms-correlation-request-id": [ + "5c31b8a8-4676-449b-9272-e6e817223260" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183642Z:5c31b8a8-4676-449b-9272-e6e817223260" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:41 GMT" + ], + "Content-Length": [ + "0" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXMvc2NoZW1haWQ1NTE5P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "f7c3fc42-4ce1-411a-b870-60a46a504b43" + ], + "If-Match": [ + "\"AAAAAAAAgKw=\"" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "5eb11f62-4106-4497-bbd2-51e95f4371ef" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14999" + ], + "x-ms-correlation-request-id": [ + "1731ce26-54ef-466d-9237-f30ce06eb802" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183643Z:1731ce26-54ef-466d-9237-f30ce06eb802" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:42 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXMvc2NoZW1haWQ1NTE5P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "54174978-67e0-4c3e-90f0-53fbd69c090d" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "11c6b092-4524-4a74-87aa-dbff3252b5e0" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14997" + ], + "x-ms-correlation-request-id": [ + "2b147689-12f8-447a-aaf9-56c31668517d" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183645Z:2b147689-12f8-447a-aaf9-56c31668517d" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:44 GMT" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574/schemas/schemaid5519?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0L3NjaGVtYXMvc2NoZW1haWQ1NTE5P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "GET", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "abae77c2-3386-4676-a107-154d73253a98" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "66e05c8d-a78c-49d5-a6a4-75aab5598524" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-reads": [ + "11994" + ], + "x-ms-correlation-request-id": [ + "fb602ad6-d968-460e-bd82-84fd07c127ad" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183643Z:fb602ad6-d968-460e-bd82-84fd07c127ad" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:42 GMT" + ], + "Content-Length": [ + "82" + ], + "Content-Type": [ + "application/json; charset=utf-8" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ResourceNotFound\",\r\n \"message\": \"Schema not found.\",\r\n \"details\": null\r\n }\r\n}", + "StatusCode": 404 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "71a38311-5bd1-462a-a9df-6c84cb8f0d77" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "b4e9011f-e361-468d-a759-00142ed74db4" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14998" + ], + "x-ms-correlation-request-id": [ + "628c917c-7e1b-4795-a134-d789c59c5450" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183644Z:628c917c-7e1b-4795-a134-d789c59c5450" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:44 GMT" + ], + "Expires": [ + "-1" + ], + "Content-Length": [ + "0" + ] + }, + "ResponseBody": "", + "StatusCode": 200 + }, + { + "RequestUri": "/subscriptions/bab08e11-7b12-4354-9fd1-4b5d64d40b68/resourceGroups/Api-Default-CentralUS/providers/Microsoft.ApiManagement/service/sdktestservice/apis/apiid574?api-version=2019-01-01", + "EncodedRequestUri": "L3N1YnNjcmlwdGlvbnMvYmFiMDhlMTEtN2IxMi00MzU0LTlmZDEtNGI1ZDY0ZDQwYjY4L3Jlc291cmNlR3JvdXBzL0FwaS1EZWZhdWx0LUNlbnRyYWxVUy9wcm92aWRlcnMvTWljcm9zb2Z0LkFwaU1hbmFnZW1lbnQvc2VydmljZS9zZGt0ZXN0c2VydmljZS9hcGlzL2FwaWlkNTc0P2FwaS12ZXJzaW9uPTIwMTktMDEtMDE=", + "RequestMethod": "DELETE", + "RequestBody": "", + "RequestHeaders": { + "x-ms-client-request-id": [ + "4721b046-f8e0-4b6d-b797-28c60eb6f51f" + ], + "If-Match": [ + "*" + ], + "Accept-Language": [ + "en-US" + ], + "User-Agent": [ + "FxVersion/4.6.27414.06", + "OSName/Windows", + "OSVersion/Microsoft.Windows.10.0.17763.", + "Microsoft.Azure.Management.ApiManagement.ApiManagementClient/4.10.0.0" + ] + }, + "ResponseHeaders": { + "Cache-Control": [ + "no-cache" + ], + "Pragma": [ + "no-cache" + ], + "Strict-Transport-Security": [ + "max-age=31536000; includeSubDomains" + ], + "x-ms-request-id": [ + "15f77e31-6079-41e8-94bb-34312b9f5b3f" + ], + "Server": [ + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-ratelimit-remaining-subscription-deletes": [ + "14996" + ], + "x-ms-correlation-request-id": [ + "5d1df5ed-7cc4-4cf9-aad0-99707fee5d68" + ], + "x-ms-routing-request-id": [ + "WESTUS2:20190502T183645Z:5d1df5ed-7cc4-4cf9-aad0-99707fee5d68" + ], + "X-Content-Type-Options": [ + "nosniff" + ], + "Date": [ + "Thu, 02 May 2019 18:36:44 GMT" + ], + "Expires": [ + "-1" + ] + }, + "ResponseBody": "", + "StatusCode": 204 + } + ], + "Names": { + "CreateListUpdateDeleteWsdlSchema": [ + "apiid574", + "schemaid5519", + "apiname941", + "apidescription9697", + "header7385", + "query2034" + ] + }, + "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/Management.ApiManagement/Customization/Models/SchemaContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/SchemaContract.cs new file mode 100644 index 000000000000..ed3c14d1a782 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Customization/Models/SchemaContract.cs @@ -0,0 +1,41 @@ +// 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 Newtonsoft.Json.Linq; + + public partial class SchemaContract + { + /// + /// Gets the Wsdl Schema from the Document JObject + /// + public string WsdlSchema + { + get + { + if (!string.IsNullOrWhiteSpace(this.ContentType) && + this.ContentType.Equals("application/vnd.ms-azure-apim.xsd+xml", StringComparison.OrdinalIgnoreCase)) + { + if (this.Document != null) + { + try + { + var documentObject = JObject.Parse(this.Document.ToString()); + var result = documentObject["value"]; + return result.ToString(); + } + catch(Exception) + { + return "Unable to parse the Schema"; + } + } + } + + return null; + } + } + } +} diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs index a51003fa014c..6abac6404a96 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperations.cs @@ -884,7 +884,7 @@ internal ApiSchemaOperations(ApiManagementClient client) /// /// 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)) + public async Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaCreateOrUpdateContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)) { if (resourceGroupName == null) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs index 9bba9124e7d5..0636ec44f3ff 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/ApiSchemaOperationsExtensions.cs @@ -243,7 +243,7 @@ public static SchemaContract Get(this IApiSchemaOperations operations, string re /// 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)) + public static SchemaContract CreateOrUpdate(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaCreateOrUpdateContract parameters, string ifMatch = default(string)) { return operations.CreateOrUpdateAsync(resourceGroupName, serviceName, apiId, schemaId, parameters, ifMatch).GetAwaiter().GetResult(); } @@ -279,7 +279,7 @@ public static SchemaContract Get(this IApiSchemaOperations operations, string re /// /// 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)) + public static async Task CreateOrUpdateAsync(this IApiSchemaOperations operations, string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaCreateOrUpdateContract 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)) { diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs index 4dab754f854a..5f405449114d 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/IApiSchemaOperations.cs @@ -172,7 +172,7 @@ public partial interface IApiSchemaOperations /// /// 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)); + Task> CreateOrUpdateWithHttpMessagesAsync(string resourceGroupName, string serviceName, string apiId, string schemaId, SchemaCreateOrUpdateContract parameters, string ifMatch = default(string), Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken)); /// /// Deletes the schema configuration at the Api. /// diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs index f3e8837f135b..959094fa7f90 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/ApiManagementServiceSkuProperties.cs @@ -35,7 +35,7 @@ public ApiManagementServiceSkuProperties() /// Name of the Sku. Possible values include: /// 'Developer', 'Standard', 'Premium', 'Basic', 'Consumption' /// Capacity of the SKU (number of deployed - /// units of the SKU). The default value is 1. + /// units of the SKU). public ApiManagementServiceSkuProperties(string name, int? capacity = default(int?)) { Name = name; @@ -57,7 +57,7 @@ public ApiManagementServiceSkuProperties() /// /// Gets or sets capacity of the SKU (number of deployed units of the - /// SKU). The default value is 1. + /// SKU). /// [JsonProperty(PropertyName = "capacity")] public int? Capacity { get; set; } diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs index 8e312adacaec..0b641ca8d148 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaContract.cs @@ -34,18 +34,24 @@ public SchemaContract() /// /// 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). + /// schema document (e.g. application/json, application/xml). + /// </br> - `Swagger` Schema use + /// `application/vnd.ms-azure-apim.swagger.definitions+json` + /// </br> - `WSDL` Schema use + /// `application/vnd.ms-azure-apim.xsd+xml` </br> - `OpenApi` + /// Schema use `application/vnd.oai.openapi.components+json` + /// </br> - `WADL Schema` use + /// `application/vnd.ms-azure-apim.wadl.grammars+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)) + /// Properties of the Schema Document. + public SchemaContract(string contentType, string id = default(string), string name = default(string), string type = default(string), object document = default(object)) : base(id, name, type) { ContentType = contentType; - Value = value; + Document = document; CustomInit(); } @@ -58,16 +64,22 @@ public SchemaContract() /// 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). + /// &lt;/br&gt; - `Swagger` Schema use + /// `application/vnd.ms-azure-apim.swagger.definitions+json` + /// &lt;/br&gt; - `WSDL` Schema use + /// `application/vnd.ms-azure-apim.xsd+xml` &lt;/br&gt; - + /// `OpenApi` Schema use `application/vnd.oai.openapi.components+json` + /// &lt;/br&gt; - `WADL Schema` use + /// `application/vnd.ms-azure-apim.wadl.grammars+xml`. /// [JsonProperty(PropertyName = "properties.contentType")] public string ContentType { get; set; } /// - /// Gets or sets json escaped string defining the document representing - /// the Schema. + /// Gets or sets properties of the Schema Document. /// - [JsonProperty(PropertyName = "properties.document.value")] - public string Value { get; set; } + [JsonProperty(PropertyName = "properties.document")] + public object Document { get; set; } /// /// Validate the object. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaCreateOrUpdateContract.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaCreateOrUpdateContract.cs new file mode 100644 index 000000000000..30bb4caea2b6 --- /dev/null +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Generated/Models/SchemaCreateOrUpdateContract.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 Microsoft.Rest.Serialization; + using Newtonsoft.Json; + using System.Linq; + + /// + /// Schema Contract details. + /// + [Rest.Serialization.JsonTransformation] + public partial class SchemaCreateOrUpdateContract : Resource + { + /// + /// Initializes a new instance of the SchemaCreateOrUpdateContract + /// class. + /// + public SchemaCreateOrUpdateContract() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the SchemaCreateOrUpdateContract + /// 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). + /// </br> - `Swagger` Schema use + /// `application/vnd.ms-azure-apim.swagger.definitions+json` + /// </br> - `WSDL` Schema use + /// `application/vnd.ms-azure-apim.xsd+xml` </br> - `OpenApi` + /// Schema use `application/vnd.oai.openapi.components+json` + /// </br> - `WADL Schema` use + /// `application/vnd.ms-azure-apim.wadl.grammars+xml`. + /// Resource ID. + /// Resource name. + /// Resource type for API Management + /// resource. + /// Json escaped string defining the document + /// representing the Schema. + public SchemaCreateOrUpdateContract(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). + /// &lt;/br&gt; - `Swagger` Schema use + /// `application/vnd.ms-azure-apim.swagger.definitions+json` + /// &lt;/br&gt; - `WSDL` Schema use + /// `application/vnd.ms-azure-apim.xsd+xml` &lt;/br&gt; - + /// `OpenApi` Schema use `application/vnd.oai.openapi.components+json` + /// &lt;/br&gt; - `WADL Schema` use + /// `application/vnd.ms-azure-apim.wadl.grammars+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/Microsoft.Azure.Management.ApiManagement.csproj b/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj index 30267a3436bf..6612cbb308bb 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Microsoft.Azure.Management.ApiManagement.csproj @@ -8,7 +8,7 @@ Provides ApiManagement management capabilities for Microsoft Azure. Microsoft Azure API Management Management Microsoft.Azure.Management.ApiManagement - 4.9.0-preview + 4.10.0-preview Microsoft Azure ApiManagement management;API Management; Refer https://aka.ms/apimdotnetsdkchangelog for release notes. diff --git a/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs b/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs index c2b88b54d4e1..d00d844f65b8 100644 --- a/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs +++ b/src/SDKs/ApiManagement/Management.ApiManagement/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyDescription("Provides Api management capabilities for Microsoft Azure.")] [assembly: AssemblyVersion("4.0.0.0")] -[assembly: AssemblyFileVersion("4.9.0.0")] +[assembly: AssemblyFileVersion("4.10.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 index 1d79f8cc24d1..7d17e9b83c96 100644 --- a/src/SDKs/ApiManagement/changelog.md +++ b/src/SDKs/ApiManagement/changelog.md @@ -1,5 +1,9 @@ ## Microsoft.Azure.Management.ApiManagment release notes +### Changes in 4.10.0-preview + +- Fixed support for creating, updating Swagger, WSDL and Open Api Schema. + ### Changes in 4.9.0-preview - Added support for retrieving Policies from Global, Api, Product and Operation level in Raw Xml format. diff --git a/src/SDKs/_metadata/apimanagement_resource-manager.txt b/src/SDKs/_metadata/apimanagement_resource-manager.txt index 98f901769c34..d98e18de472a 100644 --- a/src/SDKs/_metadata/apimanagement_resource-manager.txt +++ b/src/SDKs/_metadata/apimanagement_resource-manager.txt @@ -1,9 +1,9 @@ -2019-04-26 17:52:27 UTC +2019-05-01 22:10:09 UTC 1) azure-rest-api-specs repository information GitHub user: Azure Branch: master -Commit: a1519161fe16834387b2aa738414cdc8c62c0bf4 +Commit: 876236110d3a5c1c6680154cd58f924c9d819c03 2) AutoRest information Requested version: latest